
function open_panos(path){
	w=320;
	h=420;
  	return open_pano(path, w, h);
}

function open_panob(path){
	w=320;
	h=420;
  	return open_pano(path, w, h);
}

function open_pano(path, w, h){
	if (self.screen) {
   		left = screen.width/2 - w/2;
   		mtop = screen.height/2 -h/2;
   	}
   	else{
   		left = 100;
   		mtop = 100;
   	}
  	myWin=window.open(path, "pano", 'left='+left+', top='+mtop+', center=yes, toolbar=no,directories=no,status=no,scrollbars=no, resizable=no, menubar=no,width='+w+',height='+h);
  	return false;
}