function Download() { var pageurl = "%2fScripts%2fSiteScript.asjx"; var ul = "en"; var offerid = "D8ADF8C1-32EC-4230-91BE-E415698FF939"; var linkid = "4B873A9D-95B3-4015-9BA0-13E1D49450F6"; var pageid = ""; var omnitureid = ""; var casinoid = "266"; var btag = ""; var url = "/download.casino?file_name=PlatinumPlay.exe&ul=" + ul + "&offerid=" + offerid + "&linkid=" + linkid + "&pageid=" + pageid + "&pageurl=" + pageurl + "&omnitureid=" + omnitureid + "&casinoid=" + casinoid + "&banner_tag=" + btag; window.open(url, '', 'width=10,height=10'); } function DownloadTrack(btag,ul,offerid,linkid,pageid,pageurl,omnitureid,casinoid) { var url = "/download.casino?file_name=PlatinumPlay.exe&ul=" + ul + "&offerid=" + offerid + "&linkid=" + linkid + "&pageid=" + pageid + "&pageurl=" + pageurl + "&omnitureid=" + omnitureid + "&casinoid=" + casinoid + "&banner_tag=" + btag; window.open(url, '', 'width=10,height=10'); } function Play() { var banner = ''; window.open('/activex/', '', 'width=800,height=600, position=center, scrollbars=no, resizable=yes, status=no'); } function InstantPlay() { var banner = ''; window.open('/play-now/', '', 'width=550,height=330, position=center, scrollbars=no, resizable=yes, status=no'); } function Preview(gameid) { var banner = ''; window.open('/free-play/?gid='+gameid); } function selfassess(lang) { if(lang!='') { window.open("http://www.platinumplay.eu/"+ lang +"/selfassessment/default.aspx?lang="+ lang +"", "SelfAssess", "width=500,height=550, scrollbars=yes, resizable=no"); } else { window.open("http://www.platinumplay.eu/selfassessment/", "SelfAssess", "width=500,height=550, scrollbars=yes, resizable=no"); } } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } function doSupportMessageSubmit() { try { var guid = getCookie("MT"); var suid = getCookie("ST"); document.getElementById('GUID').value = guid; document.getElementById('SUID').value = suid; } catch(err) {} } function doTrack(action) { s.linkTrackVars='eVar3,events'; switch(action) { case 'Download': _gaq.push(['_trackEvent', 'Conversion', 'Download']); s.linkTrackEvents='event7'; s.eVar3=s.pageName; s.events='event7'; s.tl(this,'d','Download Casino'); break; case 'Flash': _gaq.push(['_trackEvent', 'Conversion', 'Flash']); s.linkTrackEvents='event8'; s.eVar3=s.pageName; s.events='event8'; s.tl(this,'o','Instant Play'); break; } } function Get_Cookie( check_name ) { var a_all_cookies = document.cookie.split( ';' ); var a_temp_cookie = ''; var cookie_name = ''; var cookie_value = ''; var b_cookie_found = false; // set boolean t/f default f for ( i = 0; i < a_all_cookies.length; i++ ) { a_temp_cookie = a_all_cookies[i].split( '=' ); cookie_name = a_temp_cookie[0].replace(/^\s+|\s+$/g, ''); if ( cookie_name == check_name ) { b_cookie_found = true; // we need to handle case where cookie has no value but exists (no = sign, that is): if ( a_temp_cookie.length > 1 ) { cookie_value = unescape( a_temp_cookie[1].replace(/^\s+|\s+$/g, '') ); } // note that in cases where cookie is initialized but no value, null is returned return cookie_value; break; } a_temp_cookie = null; cookie_name = ''; } if ( !b_cookie_found ) { return null; } } function Set_Cookie( name, value, expires, path, domain, secure ) { var today = new Date(); today.setTime( today.getTime() ); if ( expires ) { expires = expires * 1000 * 60 * 60 * 24; } var expires_date = new Date( today.getTime() + (expires) ); document.cookie = name + "=" +escape( value ) + ( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + ( ( path ) ? ";path=" + path : "" ) + ( ( domain ) ? ";domain=" + domain : "" ) + ( ( secure ) ? ";secure" : "" ); } function CheckFrench() { if(Get_Cookie('ShowNoFrench')) { } else { ShowNoFrench(); } } function ShowNoFrench() { Set_Cookie('ShowNoFrench','true', '', '/', '', '' ); //Set_Cookie('ViewedNoFrench','true', 30, '/', '', '' ); $("body").css('overflow','hidden'); //$("#FrenchPopUp").height(250); //$("#FrenchPopUp").width(300); //$("#FrenchPopUp").css('',''); //$("#FrenchPopUp").css('background','#fff'); //$("#SiteOverlay").css('display','block'); //$("#FrenchPopUp").show('slow'); var h = $(window).height(); var w = $(window).width(); $("#FrenchPopUp").css('top',(h-$("#FrenchPopUp").height())/2); $("#FrenchPopUp").css('left',(w-$("#FrenchPopUp").width())/2); //$("#FrenchPopUp").html('

Accès refusé

Malheureusement, vous avez tenté d’entrer sur ce site à partir d’un pays qui ne vous y autorise pas. Si vous pensez que ce message est une erreur, n’hésitez pas à contacter notre service client à l’adresse suivante :

support@casinodesk.com

'); //$("#SiteOverlay").css('border','1px solid #ccc'); $("#SiteOverlay").css('display','block'); } function CloseNoFrench() { $("#FrenchPopUpMessage").css('display','none'); $("body").css('overflow','visible'); $("#SiteOverlay").css('display','none'); } $(function(){ $(window).resize(function(){ var h = $(window).height(); var w = $(window).width(); if($("#FrenchPopUp")){ $("#FrenchPopUp").css('top',(h-$("#FrenchPopUp").height())/2); $("#FrenchPopUp").css('left',(w-$("#FrenchPopUp").width())/2); }; }); });