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