	var platform="UNDEFINED";
	var WIN32="Win32";
	var MAC="Mac";

	var browser="UNDEFINED";
	var IE4="IE4";
	var IE5="IE5";
	var NS4="NS4";
	var NS45="NS45";
	var NS47="NS47";
	var NS3="NS3";

	var browsertype;

	function go() {
		
	        var wheight;
	        var wwidth;
	        
	        url="main.php";//"index.swf";//
	        
	        ///////////determine window size
	        wheight=YToWindow(platform, browser);
	        wwidth=XToWindow(platform, browser);    
	        wheight = 580;
	        wwidth = 800;
	
	        if (platform==MAC) {
	                menubaron="yes,";
	        } else {
	                menubaron="no,";
	        }
	        
	        props="dependent=no,";
	        props+="directories=no,";
	        props+="height=" + wheight + ",";
	        props+="hotkeys=0,";
	        props+="location=no,";
	        props+="menubar=" + menubaron;
	        props+="resizeable=no,";
	        
	        if(browsertype=="NS") {
	                props+="screenX=" + 0 + ",";
	                props+="screenY=" + 0 + ",";
	        } else {
	                props+="left=" + 0 + ",";
	                props+="top=" + 0 + ",";
	        }
	        
	        props+="scrollbars=no,";
	        props+="status=no,";
	        props+="titlebar=yes,";
	        props+="toolbar=no,";
	        props+="width=" + wwidth;
	        //alert("hoi");
		if(browsertype=="IE") {
	        	  	if ((browser==IE5) || (browser==IE4)) {
	        	  	//	props = 'scrollbar=no,scrollbars=no,fullscreen=yes';
			}
		}	        
	        theWindow=window.open("", "hidember", props);
	        theWindow.location=url;
	}
	




	function XToWindow(platform, browser)	 {

	        if (platform=="Mac") {
	                if (browser=="NS4") {
	                        wwidth=screen.width-25;
	                } else if(browser=="NS45") {
	                        wwidth=screen.width-10;
	                } else {
	                        wwidth=screen.width;
	                }
	        } else {
	                if (browser=="NS4") {
	                        wwidth=screen.width-10;
	                } else if(browser=="NS45") {
	                        wwidth=screen.width-10;
	                } else {
	                        wwidth=screen.width-10;
	                }
	        }
	        return wwidth;
	}

	function YToWindow(platform, browser) {
	        if (platform=="Mac") {
	        
	                if (browser=="NS4") {
	                        wheight=screen.height-60;               
	                } else if(browser=="NS45") {
	                        wheight=screen.height-50;               
	                } else {
	                        wheight=screen.height-5;                
		  }
		  
	        } else {
	        	
	                if (browser=="NS4") {
	                        wheight=screen.height+16;               
	                } else if(browser=="NS45") {
	                        wheight=screen.height-30;               
	                } else if(browser=="IE4") {
	                        wheight=screen.height-30;
	                } else {
	                        wheight=screen.height-27;
	                }
	        }
	        return wheight;
	}


	
	
	if(navigator.appName.indexOf("Explorer") > -1 && navigator.appVersion.indexOf("MSIE 5") > -1) {
	        browser=IE5;
	        browsertype="IE";
	} else if(navigator.appName.indexOf("Explorer") > -1 && parseFloat(navigator.appVersion) >= 4) {
	        browser=IE4;
	        browsertype="IE";
	} else if(navigator.appName.indexOf("Netscape") > -1 && parseFloat(navigator.appVersion) >= 4.7) {
	        browser=NS47;
	        browsertype="NS";       
	} else if(navigator.appName.indexOf("Netscape") > -1 && parseFloat(navigator.appVersion) >= 4.4) {
	        browser=NS45;
	        browsertype="NS";       
	} else if(navigator.appName.indexOf("Netscape") > -1 && parseFloat(navigator.appVersion) >= 4)	{
	        browser=NS4;
	        browsertype="NS";       
	} else if(navigator.appName.indexOf("Netscape") > -1 && parseFloat(navigator.appVersion) >= 3)	{
	        browser=NS3;
	        browsertype="NS";       
	}
	
	
	if (navigator.platform=="Win32") {
	        platform=WIN32;
	} else {
	        platform=MAC;
	}
	



