<!-- 
//UserAgent variables
netscape = (document.layers) ? 1:0;
ie = (document.all) ? 1:0;

var browserAgent = navigator.userAgent;
var browserPlat = navigator.platform;


function macMessage(){
	if (browserPlat.indexOf('MacPPC') != -1) {
	window.open('/games/powerplay/gen/macs/index.html','message','width=300,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
}
}


function swapImage(roll_name,roll_path,roll_suffix) {
	if(document.images){
    	document.images[roll_name].src = roll_path + roll_name + roll_suffix + '.gif';
	}
} 


function buyNow(url){
	window.open(url,'buynow','width=800,height=600,toolbar=yes,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}

function gameFile(url){
	game=window.open(url,'gamefile','width=10,height=10,toolbar=yes,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
	game.blur();
}

function link() {
	document.location.href="/games/powerplay/index.html";
}
//-->