
$(document).ready(function(){var regrot=$('#labregister img');if(regrot.length>0){if(document.createElement('canvas').getContext){regrot=regrot.rotate({maxAngle:10,minAngle:0,bind:[{"mouseover":function(){regrot.rotateAnimation(10);}},{"mouseout":function(){regrot.rotateAnimation(-10);}}]});var sigrot=$('#labsignin img').rotate({maxAngle:10,minAngle:0,bind:[{"mouseover":function(){sigrot.rotateAnimation(10);}},{"mouseout":function(){sigrot.rotateAnimation(-10);}}]});$("#regspin").mouseover(function(){regrot.rotateAnimation(10);}).mouseout(function(){regrot.rotateAnimation(-10);});$("#labels").css('top','600px');var ff=$('#feaFrame');if(ff.length>0){ff=ff.rotate({maxAngle:10,minAngle:0,bind:[{"mouseover":function(){ff.rotateAnimation(10);fp.rotateAnimation(10);}},{"mouseout":function(){ff.rotateAnimation(-10);fp.rotateAnimation(-10);}}]});var fp=$('#feaPhoto');fp=fp.rotate({maxAngle:10,minAngle:0,bind:[{"mouseover":function(){ff.rotateAnimation(10);fp.rotateAnimation(10);}},{"mouseout":function(){ff.rotateAnimation(-10);fp.rotateAnimation(-10);}}]});ff.css('top','6px');ff.css('left','-9px');$('#featured').css('top','65px');}}else{$("#labregister img").hover(function(){$(this).shake(3,4,300);},function(){});$("#labsignin img").hover(function(){$(this).shake(3,4,300);},function(){});}}});
