function launchPopup(a){var b=window.open(a,"popup","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=614,height=500,top=30,left=50");b.focus(true)}var emerpcomp=null;var counter=0;var userGuid="";function getDownloadLink(){var a=(emerpcomp!=null)?emerpcomp.GetPixelID():"";var c=(emerpcomp!=null)?emerpcomp.GetDPID():"";var b="http://www.casinostates.com/download/";return b}var noredirect=false;function doDownload(){var a=document.getElementById("download_iframe");if(a==null){a=document.createElement("iframe");a.width="1px";a.height="1px";a.position="absolute";a.left="-100px";document.body.appendChild(a)}a.src=getDownloadLink();if(noredirect||document.location.href.match(/\/download\.html/i)){return}window.setTimeout(function(){document.location.href="/gettingstarted/"},4000)}var senddownload=false;function startDownload(c){var a=document.location.href.replace(/^.*\//,"");if(typeof(c)!="undefined"){a+=((a!="")?":":"")+c}if(typeof(urchinTracker)!="undefined"){urchinTracker("/do_download.php?source="+a)}isLink=true;var d="cd";try{if(!navigator.userAgent.match(/Windows/)){d="cf"}}catch(b){}if(emerpcomp!=null){emerpcomp.SendEvent("","download",d)}else{senddownload=true}if(senddownload){reportserver("download")}if(d=="cd"){doDownload()}else{}}function startDownloadWORedirection(a){noredirect=true;startDownload(a)}
//
function reportserver(b,c){var a=new Image();a.src="/images/"+((typeof(c)=="undefined")?"events":c)+"/"+escape(b)+".php?r="+Math.random()*100000}var isLink=false;
//
function showDPopup() {
					document.getElementById("downloadPrompt").style.display = "";
				}
				function closePopup() {
					document.getElementById("downloadPrompt").style.display = "none";
				}
