var scw = 0;
var sch = 0;

// function for loading index page in full screen
//===============================================

function xenonOpen(link, name) {
	xenonFullLauncher(link, name);
	}

function xenonFullLauncher(link, name) {
	var windowName = (name == "spaceland") ? name : "spaceland";
	
	if (navigator.appName == 'Microsoft Internet Explorer') {
		scw=screen.width-8;
		sch=screen.height-47;
 		window.open (link, windowName, "left=0,top=0,width=" + scw + ",height=" + sch);
		if (navigator.platform == 'MacPPC') {
			top.window.resizeTo(screen.availWidth,screen.availHeight);
			}
		}
	else if (navigator.appName == 'Netscape') {
		scw=screen.width;
		sch=screen.height;
		window.open (link, windowName, "screenX=0,screenY=0,outerWidth=" + scw + ",outerHeight=" + sch);
		}
	else {
		document.write("<HTML><BODY><CENTER><H1>Get Netscape or Internet Explorer 4.0 or higher</H1></CENTER></BODY></HTML>")}
		}


// general function for closing windows
//==============================================
function closewindow()  {
			self.close();
	}

// general function for opening quicktime windows
//==============================================
function openNewWindow(URLtoOpen,windowName,windowFeatures) {
	var newWindow;
	newWindow=window.open(URLtoOpen,windowName,windowFeatures);
	newWindow.focus();
}