mac=0;
if (typeof(window.navigator.platform) != 'undefined') platform=window.navigator.platform.toLowerCase();
if (platform.indexOf('mac') != -1) mac=1;
var popupAll=null;
function openVu(sc,xp,yp,ldinf){
	getXY(800,550,xp,yp);
	var na='PV_'+ldinf;
	popupAll=window.open(sc,na,'width='+LFww+',height='+LFhh+',left='+LFX+',top='+LFY);
}
function getXY(w,h,xp,yp){
	with (Math){
		if (window.screen){
			LFww=min(screen.availWidth,w);
			LFhh=min(screen.availHeight,h);
		  	LFX=round((screen.availWidth-LFww)*xp*.01);
		  	LFY=round((screen.availHeight-LFhh)*yp*.01);
		}
	}
}
