function FS_Link(){
	if (parent.parent.parent.location.href==self.location.href){
		document.write("<center><a href='JAVASCRIPT:CloseIt()'><img src='../../../_DATA/fs/i/exit.gif' width='86' height='22' alt='Exit' border='0'></a></center>");
			iFullScreen=1;
	} else{
		document.write("<a href='JAVASCRIPT:FullScreen()'><img src='../../../_DATA/fs/i/full_screen.gif' width='86' height='22' alt='Expand to Full Screen' border='0'></a>");
			iFullScreen=0;
	}
		document.write("");
}

function FullScreen(){
	var maxw = 640;
	var maxh = 480;
	if (window.screen) {
	  maxw = window.screen.availWidth;
	  maxh = window.screen.availHeight;
	}
	window.open(document.location.href,"Fun_Stuff","fullscreen=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,screenx=0,left=0,screeny=0,top=0,width=" + maxw + ",height=" + maxh);
//	self.location.href="../../main_body.htm";
}

function CloseIt(){
	top.window.close();
}

function Flash(sGame){
	iWidth = 100;
	iHeight = 90;
	if (parent.parent.parent.location.href==document.location.href){
		sAlign = "<PARAM NAME=salign VALUE=T> ";
		sAlign2 = "salign=T ";
	} else{
		sAlign = "<PARAM NAME=salign VALUE=LT> ";
		sAlign2 = "salign=LT ";
	}
	document.write("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' WIDTH=" + iWidth + "% HEIGHT=" + iHeight + "%>");
	document.write("<PARAM NAME=movie VALUE='" + sGame + "'> " + sAlign + "<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#B5EFEF> <EMBED src='" + sGame + "' " + sAlign2 + "quality=high bgcolor=#B5EFEF  WIDTH=" + iWidth + "% HEIGHT=" + iHeight + "% TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></EMBED></OBJECT>");


}
