$(document).ready(function() { switch (siteCode) { case "CA": var a = "/directdownload-de.asp"; try { if ($("#container-1").length > 0) { $("#container-1 > ul").tabs({ fx: { opacity: "toggle"} }); $("#container-1").attr("class", "show") } } catch (c) { } try { if ($("#Table_DL > a").length > 0) { setTimeout(function() { $("#Table_DL > .autoPadDiv > a").tooltip({ delay: 0, showURL: false }) }, 666) } } catch (c) { } try { } catch (c) { } try { } catch (c) { } try { if ($("#calogoflash").length > 0) { var g = new SWFObject("/images/flash/ca/ca_logoflash.swf", "CALogo", "158", "160", "8", "#000000"); g.addParam("wmode", "transparent"); g.addVariable("homelink", "/"); g.write("calogoflash") } } catch (c) { } try { if ($("#free500").length > 0) { var i = new SWFObject("/images/flash/ca/downloadbutton_es.swf", "BonusFree", "350", "350", "8", "#000000"); i.addVariable("downlink", a); i.addVariable("gclid", gclid); i.addParam("wmode", "transparent"); switch (currency) { case "GBP": i.addVariable("siteCurr", "gbp"); break; case "EURO": i.addVariable("siteCurr", "eur"); break; default: i.addVariable("siteCurr", "usd"); break } i.write("free500") } } catch (c) { } try { if ($("#camovie").length > 0) { var j = new SWFObject("/images/flash/ca/ca_movie_es.swf", "CAMovieObj", "325", "250", "8", "#000000"); j.addVariable("downlink", a); j.addVariable("gclid", gclid); j.addParam("wmode", "transparent"); j.write("camovie") } } catch (c) { } break; default: if (siteCode == "CC") { try { if ($("div#bottleman").length > 0) { setTimeout(function() { $("div#bottleman").show(); $("#bottleman").cycle({ fx: "scrollRight", next: "#bottleman", timeout: 0, easing: "backinout" }) }, 666) } } catch (c) { } } try { if ($("#Table_DL > a").length > 0) { setTimeout(function() { $("#Table_DL > a").tooltip({ delay: 0, showURL: false }) }, 666) } } catch (c) { } break } try { if ($(".rssarea").length > 0) { setTimeout(function() { rssTicker(".rssarea .headline") }, 666) } } catch (c) { } try { if ($("#videoLayer").length > 0) { setTimeout(function() { createplayer() }, 666) } } catch (c) { } 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 (b) { } break; default: if ($("input[name=progressive55]").length > 0) { try { ScrollTotals(currency) } catch (b) { } } else { try { thisCounter = $("input[name^=progressive]").attr("name").replace("progressive", ""); ScrollCounters(thisCounter, currency) } catch (b) { } } break } } }, 2000) }, dataType: "script", cache: false }) } } catch (c) { } try { if ($("div#contact").length > 0) { setTimeout(function() { $("div#contact").show(); $("div#contact marquee").marquee() }, 666) } } catch (c) { } try { if ($("div#s2").length > 0) { setTimeout(function() { $("div#s2").show(); $("#s2").cycle({ fx: "scrollDown", easing: "backinout", timeout: 1000, delay: -500 }) }, 666) } } catch (c) { } try { if ($("div#s3").length > 0) { setTimeout(function() { $("div#s3").show(); $("#s3").cycle({ fx: "scrollDown", timeout: 250, delay: -250 }) }, 666) } } catch (c) { } try { $("a.download").click(function() { tb_download_init(this) }) } catch (c) { } }); function tb_download_init(k) { var g = k.rev; var j = "Descarga Nuestro Software 100% Garantizado Sin Virus"; var a; if (g.indexOf("gclid") == -1) { a = "?TB_iframe=true&height=160&width=440&modal=false" } else { a = "&TB_iframe=true&height=160&width=440&modal=false" } var l = g + a || null; var i = g || false; tb_show(j, l, i); k.blur(); return true };