
function openSideMenu(w,h,sHref,sPagetitle,loc,menu,stat,tool)
{
	try{
		if (w=="w"){
			w = screen.width * 0.9;
		}
		if (h=="h"){
			h = screen.height * 0.8;
		}
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 4;
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=yes,resizable,location='+loc+',toolbar='+tool
		win = window.open(sHref, sPagetitle, winprops)
		if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	}
	catch(e){}
}
function ViewJob(sHref) {
	var w = 740;
	var h = 555;
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 4;
//	alert("winl=" + winl + " wint=" + wint);
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars,resizable=0'
	win = window.open(sHref, 'JobDetails', winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

