function popVR(pano,lr,ht) {
if (document.all)
var xMax = screen.width, yMax = screen.height;
else
if (document.layers)
var xMax = window.outerWidth, yMax = window.outerHeight;
else
var xMax = 640, yMax=480;
var xOffset = (xMax - lr)/2, yOffset = (yMax - ht)/2;
window.open(pano,'GalerieVR','width='+lr+',height='+ht+',screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+'');
}