function _SWFZoom(d) {
	obj = document.getElementById("FlashGame");
	if (d==0) {
		nw = obj.width*0.9;
		nh = obj.height*0.9;
	} else {
		nw = obj.width*1.1;
		nh = obj.height*1.1;
	}
	obj.width = nw+"px";
	obj.height = nh+"px";	
}
var wd= parent.screen.availWidth;
var hg= parent.screen.availHeight;
function open_fullscreen(theURL,winName,features) { 
window.open(theURL,'','left=0,top=0,width='+wd+',height='+hg+',toolbar=no,location=yes,menubar=no,status=no,resizble=1,scrollbars=1')
}

function _SWFZoom(d) {
	obj = document.getElementById("FlashGame");
	if (d==0) {
		nw = obj.width*0.9;
		nh = obj.height*0.9;
	} else {
		nw = obj.width*1.1;
		nh = obj.height*1.1;
	}
	obj.width = nw+"px";
	obj.height = nh+"px";	
}

function roll(obj, id) {
	if (typeof(obj) == "string") obj = document.getElementById(obj);
	obj.style.cursor = "pointer";
	var im = obj.src.substr(obj.src.length-5,1);
	if (id==null) (im==0) ? id = 1 : id = 0
	last = obj.src.lastIndexOf("/")+1;
	path = obj.src.substr(0,last)
	nimg = path + obj.src.substr(last,obj.src.length-5-last) + id + obj.src.substr(obj.src.length-4,4);
	obj.src = nimg;
}