$(document).ready(function(){switch(siteCode){case"CA":try{var d="/directdownload-es.asp";try{if($("#tab-container").length>0){$(".tabs").tabs(".panes > div",{initialIndex:0,effect:"fade",fadeInSpeed:800,fadeOutSpeed:800})}}catch(e){}try{flashembed("calogoflash",{src:"/images/flash/ca/ca_logoflash.swf",wmode:"transparent",version:[9,0]},{homelink:"/"})}catch(h){alert(h.description)}if($("#free500").length>0){switch(currency){case"GBP":curValue="gbp";break;case"EURO":curValue="eur";break;default:curValue="usd";break}flashembed("free500",{src:"/images/flash/ca/downloadbutton_es.swf",wmode:"transparent",version:[9,0]},{downlink:d,siteCurr:curValue})}if($("#camovie").length>0){flashembed("camovie",{src:"/images/flash/ca/ca_movie_es.swf",wmode:"transparent",version:[9,0]},{downlink:d})}}catch(h){alert(h)}break;case"ZC":try{if($("#midground").length>0){$("#midground").css({backgroundPosition:"0px 0px"});$("#foreground").css({backgroundPosition:"0px 0px"});$("#midground").animate({backgroundPosition:"(-10000px -2000px)"},240000,"linear");$("#foreground").animate({backgroundPosition:"(-10000px -2000px)"},120000,"linear")}}catch(g){}try{var f="/directdownload-es.asp";if($("#zcmovieA").length>0){switch(currency){case"GBP":curValue="gbp";break;case"EURO":curValue="eur";break;default:curValue="usd";break}flashembed("zcmovieA",{src:"/images/flash/zc/zc_bonus-v3c_es.swf",wmode:"opaque",version:[9,0]},{downlink:f,siteCurr:curValue})}if($("#zcmovieB").length>0){switch(currency){case"GBP":curValue="gbp";break;case"EURO":curValue="eur";break;default:curValue="usd";break}flashembed("zcmovieB",{src:"/images/flash/zc/zc_bonus-v3d_es.swf",wmode:"opaque",version:[9,0]},{downlink:f,siteCurr:curValue})}}catch(g){}break}try{if($("#Table_DL > a").length>0){$("#Table_DL a").tooltip({tip:".tooltip",position:"bottom right",relative:true})}}catch(e){}try{if($(".rssarea").length>0){setTimeout(function(){rssTicker(".rssarea .headline")},666)}}catch(e){}try{if($("#videoLayer").length>0){setTimeout(function(){createplayer()},666)}}catch(e){}try{if(($("input[name=progressive55]").length>0)||($("input[name^=progressive]").length>0)){$.ajax({type:"GET",url:"http://www.tickerassist.co.uk/ProgressiveTickers/WebServiceProgressiveTickerScript.asmx/renderScript?form=json",success:function(){setTimeout(function(){if($("input[name^=progressive]").length>0){counter=$("input[name^=progressive]").length;switch(counter){case 16:try{ScrollTotals(currency);ShowCounters(currency)}catch(a){}break;default:if($("input[name=progressive55]").length>0){try{ScrollTotals(currency)}catch(a){}}else{try{thisCounter=$("input[name^=progressive]").attr("name").replace("progressive","");ScrollCounters(thisCounter,currency)}catch(a){}}break}}},2000)},dataType:"script",cache:false})}}catch(e){}try{if($("#marqueeScroller").length>0){setTimeout(function(){window.api=$("#marqueeScroller").scrollable({size:1,loop:true,speed:2000,keyboard:false,clickable:false,vertical:false}).circular().autoscroll({autoplay:true,api:true,autopause:false,interval:3000})},666)}}catch(e){}try{if($("div#s2").length>0){setTimeout(function(){$.easing.custom=function(p,a,o,i,c){var b=1.70158;if((a/=c/2)<1){return i/2*(a*a*(((b*=(1.525))+1)*a-b))+o}return i/2*((a-=2)*a*(((b*=(1.525))+1)*a+b)+2)+o};window.api=$("#s2").scrollable({size:1,vertical:true,loop:true,keyboard:false,clickable:false,easing:"custom",speed:1500}).circular().autoscroll({autoplay:true,api:true,autopause:false})},666)}}catch(e){}try{if($("div#s3").length>0){setTimeout(function(){$.easing.custom=function(p,a,o,i,c){var b=1.70158;if((a/=c/2)<1){return i/2*(a*a*(((b*=(1.525))+1)*a-b))+o}return i/2*((a-=2)*a*(((b*=(1.525))+1)*a+b)+2)+o};window.api=$("#s3").scrollable({size:1,vertical:true,loop:true,keyboard:false,clickable:false,easing:"custom",speed:1500}).circular().autoscroll({autoplay:true,api:true,autopause:false})},666)}}catch(e){}try{$("a.download").click(function(){tb_download_init(this)})}catch(e){}});function tb_download_init(d){var h=d.rev;var e="Descarga Nuestro Software 100% Garantizado Sin Virus";var c;if(h.indexOf("gclid")==-1){c="?TB_iframe=true&height=160&width=440&modal=false"}else{c="&TB_iframe=true&height=160&width=440&modal=false"}var b=h+c||null;var f=h||false;tb_show(e,b,f);d.blur();return true};