jQuery(document).ready(function(){jQuery('input[type=text],textarea').addClass('placeholder')});jQuery('input[type=text],textarea').focus(function(){if(jQuery(this).hasClass('placeholder')&&jQuery(this).val()==jQuery(this).attr('defaultValue')){jQuery(this).val('');jQuery(this).removeClass('placeholder')}});jQuery('input[type=text],textarea').blur(function(){if(jQuery(this).val()==''){jQuery(this).val(jQuery(this).attr('defaultValue'));jQuery(this).addClass('placeholder')}});jQuery(document).ready(function(){jQuery("a.lightbox").fancybox({'overlayShow':true,'zoomSpeedIn':700,'zoomSpeedOut':500,'easingIn':'easeInOutCubic','easingOut':'easeInBack'})});jQuery(document).ready(function(){jQuery('table.data').tablesorter({widgets:['zebra']})});jQuery('#etrax').hover(function(){jQuery('#eglare').stop().css('display','block').animate({top:'380px',left:'315px'},1000,'easeInExpo',function(){jQuery('#eglare').removeAttr('style')});jQuery(document).oneTime(500,'ecircle1',function(){ecircle_anim('#ecircle1')}).everyTime(1600,'ecircle2',function(){ecircle_anim('#ecircle2')}).everyTime(1800,'ecircle3',function(){ecircle_anim('#ecircle3')}).everyTime(2000,'ecircle4',function(){ecircle_anim('#ecircle4')})},function(){jQuery(document).stopTime('ecircle1').stopTime('ecircle2').stopTime('ecircle3').stopTime('ecircle4')});function ecircle_anim(id){jQuery(id).stop().animate({top:'401px',left:'313px',height:'100px',width:'100px'},800,'easeInQuad',function(){jQuery(id).animate({top:'386px',left:'298px',height:'130px',width:'130px'},400,'easeOutQuad',function(){jQuery(id).removeAttr('style')})})}jQuery('#virtutrax').hover(function(){jQuery('#vglare').stop().css('display','block').animate({top:'485px',left:'780px'},1000,'easeInExpo',function(){jQuery('#vglare').removeAttr('style')});jQuery(document).oneTime(500,'vcircle1',function(){vcircle_anim('#vcircle1')}).everyTime(1600,'vcircle2',function(){vcircle_anim('#vcircle2')}).everyTime(1800,'vcircle3',function(){vcircle_anim('#vcircle3')}).everyTime(2000,'vcircle4',function(){vcircle_anim('#vcircle4')})},function(){jQuery(document).stopTime('vcircle2').stopTime('vcircle3').stopTime('vcircle4')});function vcircle_anim(id){jQuery(id).stop().animate({top:'500px',left:'767px',height:'60px',width:'60px'},800,'easeInQuad',function(){jQuery(id).animate({top:'480px',left:'747px',height:'100px',width:'100px'},400,'easeOutQuad',function(){jQuery(id).removeAttr('style')})})}jQuery('#etrax #trigger,#etrax .tooltip').hover(function(){jQuery('#line').stop().animate({right:'675px',width:'208px',opacity:'1'},400);jQuery('.tooltip').fadeIn('fast')},function(){jQuery('#line').stop().animate({right:'0px',width:'0px',opacity:'0'},800);jQuery('.tooltip').fadeOut('fast')});jQuery('#etrax #trigger,#etrax .tooltip').hover(function(){edglare_anim('#glare1');jQuery(document).everyTime(2300,'glare1',function(){edglare_anim('#glare2')},2).everyTime(1500,'glare2',function(){edglare_anim('#glare3')},3).everyTime(2000,'glare3',function(){edglare_anim('#glare4')})},function(){jQuery(document).stopTime('glare2').stopTime('glare3').stopTime('glare4')});function edglare_anim(id){jQuery(id).stop().css('display','block').animate({top:'440px',left:'254px'},1000,'easeInExpo',function(){jQuery(id).removeAttr('style')})}jQuery('#virtutrax #trigger,#virtutrax .tooltip').hover(function(){jQuery('#line').stop().animate({right:'675px',width:'217px',opacity:'1'},400);jQuery('.tooltip').fadeIn('fast')},function(){jQuery('#line').stop().animate({right:'0px',width:'0px',opacity:'0'},800);jQuery('.tooltip').fadeOut('fast')});jQuery('#virtutrax #trigger,#virtutrax .tooltip').hover(function(){vdglare_anim('#glare1');jQuery(document).everyTime(2300,'glare1',function(){vdglare_anim('#glare2')},2).everyTime(1500,'glare2',function(){vdglare_anim('#glare3')},3).everyTime(2000,'glare3',function(){vdglare_anim('#glare4')})},function(){jQuery(document).stopTime('glare2').stopTime('glare3').stopTime('glare4')});function vdglare_anim(id){jQuery(id).stop().css('display','block').animate({top:'440px',left:'250px'},1000,'easeInExpo',function(){jQuery(id).removeAttr('style')})}jQuery('.subpage #etrax-logo').hover(function(){jQuery(document).oneTime(500,'ecircle1',function(){subecircle_anim('#ecircle1')}).everyTime(1600,'ecircle2',function(){subecircle_anim('#ecircle2')}).everyTime(1800,'ecircle3',function(){subecircle_anim('#ecircle3')}).everyTime(2000,'ecircle4',function(){subecircle_anim('#ecircle4')})},function(){jQuery(document).stopTime('ecircle1').stopTime('ecircle2').stopTime('ecircle3').stopTime('ecircle4')});function subecircle_anim(id){jQuery(id).stop().css({'top':'276px','left':'52px'}).animate({top:'226px',left:'2px',height:'100px',width:'100px'},800,'easeInQuad',function(){jQuery(id).animate({top:'211px',left:'-13px',height:'130px',width:'130px'},400,'easeOutQuad',function(){jQuery(id).removeAttr('style')})})}jQuery('.subpage #virtutrax-logo').hover(function(){jQuery(document).oneTime(500,'vcircle1',function(){subvcircle_anim('#vcircle1')}).everyTime(1600,'vcircle2',function(){subvcircle_anim('#vcircle2')}).everyTime(1800,'vcircle3',function(){subvcircle_anim('#vcircle3')}).everyTime(2000,'vcircle4',function(){subvcircle_anim('#vcircle4')})},function(){jQuery(document).stopTime('vcircle1').stopTime('vcircle2').stopTime('vcircle3').stopTime('vcircle4')});function subvcircle_anim(id){jQuery(id).stop().animate({top:'316px',left:'216px',height:'80px',width:'80px'},800,'easeInQuad',function(){jQuery(id).animate({top:'306px',left:'206px',height:'100px',width:'100px'},400,'easeOutQuad',function(){jQuery(id).removeAttr('style')})})}
