function popitup(url) {
	newwindow=window.open(url,'name','width=500,height=500,scrollbars=yes');
	if (window.focus) {newwindow.focus()}
	return false;
}
// Another way to open window -- makes things consistent with the Levolor platform.
function openWin(url,title,w,h,tb,stb,l,mb,sb,rs,x,y){
	var t=(document.layers)? ',screenX='+x+',screenY='+y: ',left='+x+',top='+y;
	tb=(tb)?'yes':'no'; stb=(stb)?'yes':'no'; l=(l)?'yes':'no'; mb=(mb)?'yes':'no'; sb=(sb)?'yes':'no'; rs=(rs)?'yes':'no';
	var x=window.open(url, title, 'scrollbars='+sb+',width='+w+',height='+h+',toolbar='+tb+',status='+stb+',menubar='+mb+',links='+l+',resizable='+rs+t);
	x.focus();
}
