// JavaScript Document


function popup(goLocation) {
	
var ver=parseInt(navigator.appVersion);
var isNetscape=navigator.appName.indexOf("Netscape")>=0;
var isExplorer=navigator.appName.indexOf("Explorer")>=0;

	
        var ww=630;
        var wh=450;
        var positionCode="";
        if(ver>=4) {
                sw  = screen.width;
                sh  = screen.height;
                wbx = Math.round((sw-ww)/2);
                wby = Math.round((sh-wh)/2);
                if(isExplorer) positionCode="left="+wbx+",top="+wby+",";
                if(isNetscape) positionCode="screenX="+wbx+",screenY="+wby+",";
        }

        newWindow=window.open(goLocation,"sample",
        "width="+ww+",height="+wh+","+
        positionCode+
        "toolbar=no,"+
        "bar=no"+
        "location=no,"+
        "status=no,"+
        "menubar=no,"+
        "scrollbars=no,"+
        "resizable=0");
        if(isNetscape && ver>=3) newWindow.focus();
    window.name='main';
}