function PopPhone(Content)
{
    var PhoneWindow;
    if(window.document.FrmPhone.SupportPhones.selectedIndex!=0)
    {
        PhoneWindow = window.open('','',"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=260,height=140,left=300,top=240");
        PhoneWindow.document.write('<html><head><title>Contact Support by Telephone - Casino-on-Net</title></head><body bgcolor="#4b9e3b"><table width="%100" align="center"><tr><td valign="middle"><br><b><font face="Verdana" color="#ffffff" size="2">' + Content + '</font></b></td></tr></table></body></html>');
    }
}
function ContactUs()
{
    var w = 793;
    var h = 517;
    var l = 1; //(window.screen.width-w)/2;
    var t = 1; //(window.screen.height-h)/2;
    var LocationString ="";
    LocationString = "../new888/lang/en/texts/contactusform/contactus.htm?" + sCut;
    var x = window.open(LocationString,"contactUsWnd","status=no,toolbar=no,menubar=no,location=no,left=" + l + ",top=" + t + ",width=" + w + ",height=" + h)   
}
function ContactUsPoker()
{
    var w = 793;
    var h = 517;
    var l = 1; //(window.screen.width-w)/2;
    var t = 1; //(window.screen.height-h)/2;
    var LocationString ="";
    LocationString = "http://www.pacificpoker.com/contactusform/contactus.htm?page=help&" + sCut;
    var x = window.open(LocationString,"contactUsWnd","status=no,toolbar=no,menubar=no,location=no,left=" + l + ",top=" + t + ",width=" + w + ",height=" + h)   
}
function changetext(whichcontent){

if (document.all||document.getElementById){
cross_el=document.getElementById? document.getElementById("descriptions"):document.all.descriptions
cross_el.innerHTML=whichcontent
}
else if (document.layers){
document.d1.document.d2.document.write(whichcontent)
document.d1.document.d2.document.close()
}

}


function regenerate(){
window.location.reload()
}

function regenerate2(){
if (document.layers){
appear()
setTimeout("window.onresize=regenerate",450)
}
}


function appear(){
document.d1.visibility='show'
}

window.onload=regenerate2

function Download(loc)
{        
        document.location.href = "../?page=download_short&" + sCut;
        url="../CasinoInstaller?"+ sCut + "&dl="+ loc;
        window.open(url,"popDown","width=1,height=1,top=0,left=0");
} 

function playFlashHP(sImgPath,encode_sCut,dl)
{    
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="780" height="353" id="home_flash" align="middle">');
    document.write('<param name="movie" value="' + sImgPath + '/videoslots/swf/home_flash.swf" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="wmode" value="transparent" />');
    document.write('<param name="bgcolor" value="#ffffff" />');
    document.write('<param name="FlashVars" value="lobby=howtoplay.htm?' + encode_sCut + '&Features=features.htm?' + encode_sCut  + '&download=javascript:Download(' + dl + ');" />');
    document.write('<embed src="' + sImgPath + '/videoslots/swf/home_flash.swf" FlashVars="lobby=howtoplay.htm?' + encode_sCut + '&Features=features.htm?' + encode_sCut + '&download=javascript:Download(' + dl +');" quality="high" wmode="transparent" bgcolor="#ffffff" width="780" height="353" name="home_flash" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
}

function playFlashHTP(sImgPath,id,dl)
{
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/' + sImgPath + '/videoslots/swf/swflash.cab#version=7,0,0,0" width="780" height="347" id="demo_back" align="middle">');
    document.write('<param name="movie" value="' + sImgPath + '/videoslots/swf/demo_back.swf?id=' + id +'" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="wmode" value="transparent" />');
    document.write('<param name="bgcolor" value="#ffffff" />');
    document.write('<param name="FlashVars" value="clickTag=javascript:Download(' + dl + ');" />');
    document.write('<embed src="' + sImgPath + '/videoslots/swf/demo_back.swf?id=' + id +'" FlashVars="clickTag=javascript:Download(' + dl + ');" quality="high" bgcolor="#ffffff" width="780" height="347" name="demo_back" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
}