$(document).ready(function() { switch (siteCode) { case "CA": try { var a = "/directdownload-fr.asp"; try { if ($("#container-1").length > 0) { $("#container-1 > ul").tabs({ fx: { opacity: "toggle"} }); $("#container-1").attr("class", "show") } } catch (b) { } try { if ($("#Table_DL > a").length > 0) { setTimeout(function() { $("#Table_DL > .autoPadDiv > a").tooltip({ delay: 0, showURL: false }) }, 666) } } catch (b) { } try { if ($("#calogoflash").length > 0) { var e = new SWFObject("/images/flash/ca/ca_logoflash.swf", "CALogo", "158", "160", "8", "#000000"); e.addParam("wmode", "transparent"); e.addVariable("homelink", "/"); e.write("calogoflash") } } catch (b) { } if ($("#free500").length > 0) { var d = new SWFObject("/images/flash/ca/downloadbutton_fr.swf", "BonusFree", "350", "350", "8", "#000000"); d.addVariable("downlink", a); d.addParam("wmode", "transparent"); switch (currency) { case "GBP": d.addVariable("siteCurr", "gbp"); break; case "EURO": d.addVariable("siteCurr", "eur"); break; default: d.addVariable("siteCurr", "usd"); break } d.write("free500") } if ($("#camovie").length > 0) { var c = new SWFObject("/images/flash/ca/ca_movie_fr.swf", "CAPromo", "325", "250", "8", "#000000"); c.addVariable("downlink", a); c.addParam("wmode", "transparent"); c.write("camovie") } } catch (b) { alert(b.description) } break; case "CC": try { if ($("div#bottleman").length > 0) { setTimeout(function() { $("div#bottleman").show(); $("#bottleman").cycle({ fx: "scrollRight", next: "#bottleman", timeout: 0, easing: "backinout" }) }, 666) } } catch (b) { alert(b.description) } break } try { if ($("#Table_DL > a").length > 0) { setTimeout(function() { $("#Table_DL > a").tooltip({ delay: 0, showURL: false }) }, 666) } if ($(".rssarea").length > 0) { setTimeout(function() { rssTicker(".rssarea .headline") }, 666) } if ($("#videoLayer").length > 0) { setTimeout(function() { createplayer() }, 666) } 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 (f) { } break; default: if ($("input[name=progressive55]").length > 0) { try { ScrollTotals(currency) } catch (f) { } } else { try { thisCounter = $("input[name^=progressive]").attr("name").replace("progressive", ""); ScrollCounters(thisCounter, currency) } catch (f) { } } break } } }, 2000) }, dataType: "script", cache: false }) } if ($("div#contact").length > 0) { setTimeout(function() { $("div#contact").show(); $("div#contact marquee").marquee() }, 666) } if ($("div#s2").length > 0) { setTimeout(function() { $("div#s2").show(); $("#s2").cycle({ fx: "scrollDown", easing: "backinout", timeout: 1000, delay: -500 }) }, 666) } if ($("div#s3").length > 0) { setTimeout(function() { $("div#s3").show(); $("#s3").cycle({ fx: "scrollDown", timeout: 250, delay: -250 }) }, 666) } if ($("#rate1").length > 0) { setTimeout(function() { $("#rate1").rating("/recordvote.asp", { maxvalue: 5, curvalue: 4, increment: 0.5 }) }, 666) } if ($("a.download").length > 0) { setTimeout(function() { tb_download_init("a.download") }, 666) } if ($("#pwcreports").length > 0) { setTimeout(function() { tb_download_init("a.pwc") }, 666) } } catch (b) { alert(b.description) } }); function tb_download_init(a) { $(a).click(function() { var c = "T&#x00E9;l&#x00E9;chargez notre logiciel de casino, prot&#x00E9;g&#x00E9; contre les virus"; var b = this.rev + "?TB_iframe=true&height=160&width=440&modal=false" || null; var d = this.rel || false; tb_show(c, b, d); this.blur(); return true }) };