


   function popupWindowOrg(filename, windowName, w, h, x, y, menuYesNo, toolbarYesNo, resizableYesNo, scrollYesNo)
   {
   		var popupWin = null;
       var windowFeatures = 
                'width=' + w + ',height=' + h + ','
            +   'screenX=' + x + ','
            +   'screenY=' + y + ','
            +   'left=' + x + ','
            +   'top=' + y + ','
            +   'menubar=' + menuYesNo + ','
            +   'toolbar=' + toolbarYesNo + ','
            +   'resizable=' + resizableYesNo + ','
            +   'scrollbars=' + scrollYesNo + ','
            +   'status=yes,location=no';
       	
       		popupWin = window.open(filename, windowName, windowFeatures);
       		popupWin.focus();
       		
       //popupWin.location.reload();
    }
    
    function popupWindowXY(filename, windowName, w, h, xy)
    {
       popupWindowOrg(filename, windowName, w, h, xy, xy, 'yes', 'yes', 'yes', 'yes');
       //popupWin.location.reload();
    }
    
    function popupWindow(filename, windowName)
    {
    	/* if (navigator.appName == "Netscape") {
	    	var x = (window.innerWidth / 8 ) * 2;
	    	var y = (window.innerHeight / 6) * 2;
	    	var w = (window.innerWidth / 8 ) * 3;
	    	var h = (window.innerHeight / 6) * 2;
    		popupWindowOrg(filename, windowName, w, h, x, y, 'no', 'no', 'no', 'yes');
    	}
    	else {
    		popupWindowOrg(filename, windowName, 650, 250, 500, 400, 'no', 'no', 'yes', 'yes');
    	} */	
    	
    	popupWindowOrg(filename, "_blank", 650, 350, 500, 400, 'no', 'no', 'yes', 'yes');
    }

