vuOK=0;
var popupWin=null;
function openWindow(url,name,w,h,perc,d,t){
	var winX=0,winY=0;
	if(d=="d")d="dependent,";
	if(t=="t")t="toolbar,";
	if(window.screen){
		winX=(screen.availWidth-w)*perc*.01;
		winY=(screen.availHeight-h)*perc*.01;
		if(d!="0")popupWin=eval("window.open(url,name,'scrollbars,resizable,"+d+t+"width='+w+',height='+h+',left='+winX+',top='+winY)");
		else popupWin=window.open(url,name);
	}
}
var LFephem=null;
function openEphem(url,name,w,h,xp,yp){
	var winX=0,winY=0;
	if(window.screen){
		winX=(screen.availWidth-w)*xp*.01;
		winY=(screen.availHeight-h)*yp*.01;
		LFephem=eval("window.open(url, name, 'scrollbars,resizable,dependent,toolbar,width=' + w + ',height=' + h + ',left=' + winX + ',top=' + winY)");
		LFephem.focus();
	}
}
function endEphem(){
	if(LFephem!=null){
		LFephem.close();
		LFephem=null;
	}
}
function blowOut(){
	if(LFnw&&!LFnw.closed)LFnw.close();
}

