// JavaScript Print
function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}

// JavaScript Menu
function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("cont").getElementsByTagName("DIV");
if(el.style.display == "none"){
for (var i=0; i<ar.length; i++){
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}
function ChangeClass(menu, newClass) { 
if (document.getElementById) { 
document.getElementById(menu).className = newClass;
} 
} 

// JavaScript popup

function popup(url,w,h,s,n)
{
	var x;
	var l = (window.screen.width-w)/2;
	var t = (window.screen.height-h)/2; 
	x = window.open(url,n,"height="+h+",width="+w+",status=no,toolbar=no,menubar=no,location=no,scrollbars="+s+",left="+l+",top="+t);
    x.window.focus();
}


function newclosewin(n)
{
	window.open(n);
	window.self.close();
}

function download(url)
{   			
window.location.href=url;
}

function GoToSite(url)
{   	
window.open(url);
}

<!--
// Hide script from older browsers
var urlAddress = "http://www.beejack.com/poker/interpoker/index.html";
var pageName = "interpoker"; function addToFavorites()
{
if (window.external)
{
window.external.AddFavorite(urlAddress,pageName)
}
else
{ 
alert("Your browser doesn't support this function. Please add us manually");
}
}
// -->



