/**Default**/
function NewFlashDownload(tbtag, tlang)
{
    window.location = 'http://www.motdpp.com/setcookie.asp?banner_tag='+tbtag+'&ul='+tlang+'&file_name=PlatinumPlay.exe&BTag='+tbtag+'';
    window.setTimeout(refreshNewFlashDownload, 3000);
}

function ChatPopup(lang) {
    window.open("http://chat.casinodesk.com/webchat/chatform"+lang+".asp", "Chat", "width=390, height=410, border=2, scrollbars=no, 	resizable=no");
}


function refreshNewFlashDownload()
{
    window.location = '/'
}

function Load(lang)
{
    var langAdd = url + "&ul=" +lang;
   window.open(langAdd, '', 'width=150,height=150');
   //window.location.href = langAdd;
}

function FlashCasino()
{   
   Load("en");
}

function downloadgerman()
{
   Load("de");
}

function downloaditalian()
{
    Load("it");
}

function downloadfrench()
{
   Load("fr");
}

function downloadspanish()
{
    Load("es");
}

function downloadjapan()
{
    Load("jw");
}

function downloadbrazil()
{
    Load("pt-br");
}

function downloadchina()
{
    Load("zh");
}

function downloadportuguese()
{
    Load("pt");
}

function downloaddanish()
{
    Load("es");
}

function downloadswedish()
{
    Load("sv");
}

function downloaddutch()
{
    Load("nl");
}

function sbmoreinfo()
{
      window.location.href = "/new-player-promo/default.aspx";
}

function instantplay()
{
    Instant();
}

function instantmoreinfo()
{
    window.location.href = "/instantplay/";
}

function downloadpoker()
{
    window.open("http://www.pokertime.com/help/getting-started/?BTag=" + BTag);
}

function pokermoreinfo()
{
    window.open("http://www.pokertime.com/opening-offer/?BTag=" + BTag);
}

function playpoker()
{
    window.open("http://www.pokertime.com/?BTag=" + BTag);
}

/**Default**/

function SignUpOffers()
	 {
	  window.open("../TermsOfferPop.aspx?BTag=" + BTag + "","TermsOffer","width=480,height=400, scrollbars=yes");
	 }
	 
function PromoTermsSpecial()
	{
	window.open("../PromoTermsSpecial.aspx?BTag=" + BTag + "","PromoTermsSpecial", "width=590,height=500, scrollbars=yes, resizable=no");
	}
	
function PromoTermsClick()
	{
	window.open("../PromoTermsClick.aspx?BTag=" + BTag + "","PromoTermsClick", "width=590,height=400, scrollbars=yes, resizable=no");
	}

function PromoTermsNet()
	{
	window.open("../PromoTermsNet.aspx?BTag=" + BTag + "","PromoTermsNet", "width=590,height=420, scrollbars=yes, resizable=no");
	}
	
	function PromoTermsEco()
	{
	window.open("../PromoTermsEco.aspX?BTag=" + BTag + "","PromoTermEco", "width=590,height=500, scrollbars=yes, resizable=no");
	}
	
function PromoTermsEntro()
	{
	window.open("../PromoTermsEntro.aspX?BTag=" + BTag + "","PromoTermEntro", "width=590,height=500, scrollbars=yes, resizable=no");
	}
	
function DownLoadSpanish()
{
    downloadspanish();
}

function cashin()
{
	window.open("http://www.fortunelounge.com/cashin1.asp?BTag=" + BTag+"","cashinpop","width=580,height=390,scrollbars=no,resizable=no")
}

function downloadredirect()
{
    window.location.href = "/es/download/";
}

function escasinodownload()
{
    downloadredirect();
}

function esinstant()
{
    window.location.href = "/es/instantaneamente/";
}

function espokertime()
{
    window.open("http://www.pokertime.com/?BTag=" + BTag)
}

function WriteCounter(counterId) {
    document.write("<table cellspacing='0' cellpadding='0' border='0' width='100%'><tr align='center'><td align='center'><span name='progressive" + counterId + "' id='progressive" + counterId + "' class='ProgressiveTickers' ></span> </td></tr></table>");
    setTimeout("ScrollProgressiveCounters(" + counterId + ")", 1000);
}  

