	// popup Window script

	function popup(W,H,url,TB,SC,SB,MB,RS) {

		if (typeof(TB) == "undefined") { 
			var TB = 0; // set defaults for optional arguments
		} 
 
		if (typeof(SC) == "undefined") { 
			var SC = 1;
		} 
 
		if (typeof(SB) == "undefined") { 
			var SB = 0;
		} 
 
		if (typeof(MB) == "undefined") { 
			var MB = 1;
		} 
 		
		if (typeof(RS) == "undefined") { 
			var RS = 1;
		}   
 
		popwin = window.open('','help','width='+W+',height='+H+',toolbars='+TB+',scrollbars='+SC+',location=0,statusbars='+SB+',menubar='+MB+',resizable='+RS+'');
		popwin.focus();        // Put window on top.
    	popwin.location = url; // Load the URL.
	}
	