function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
function OpenWindow(theImage,Width,Height,Caption) { //v2.0
  popUp=window.open('', '','width='+Width+',height='+Height);
  popUp.document.write("<HTML><HEAD><TITLE>Life San Francisco - "+Caption+"</TITLE></HEAD><BODY bgcolor=6E0158 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>");
  popUp.document.write("<IMG SRC=",theImage," width=",Width," height=",Height,"></BODY></HTML>");
  popUp.moveTo((screen.width-Width)/2,(screen.height-Height)/2)
}
//function openW(picture,w,h) {
	//if (popUp){
	//popUp.close();
//}
//	x = (screen.width-'+w+')/2;
//	y = (screen.height-'+h+')/2;
  //  popUp=window.open(picture,'Life San Francisco','width='+w+',height='+h);

//	popupWin = window.open(picture,'tonyraka','width='+w+',height='+h+',left='+x+',top='+y);
	//popupWin = window.open(,'width='+w+',height='+h+);
   // popUp.moveTo((screen.width-w)/2,(screen.height-h)/2)
	//popUp.focus();
//}	

function openWindow2(picture) {
	x = (screen.width-540)/2;
	y = (screen.height-500)/2;
    popupWin = window.open(picture, 'Life San Francisco','scrollbars=1,width=530,height=520,left='+x+',top='+y);
     popupWin.focus();
}
