<!-- 
var myWindow;

function OpenViewPopup(url) 
{    
   var width = 600 
   var height = 400; 
   var xPos = (screen.width-width)/2; 
   var yPos = (screen.height-height)/2; 

   var toolOptions = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,'; 
   var windowPosOptions = 'width='+width+',height='+height+',left='+xPos+',top='+yPos 

   myWindow=window.open(url,'MyWindow',toolOptions+','+windowPosOptions); 
   myWindow.focus(); //This will bring the current window on to top.. 
} 
    
//-->
