function Open(pageURL, w,h, title) 
{
	if ( undefined == w )
	{
		w = 605 ;
	}
	if ( undefined == h )
	{
		h = 700 ;
	}
	
	if ( undefined == title )
	{

		title = pageURL.replace( /[^a-zA-Z0-9]+/g, '' ) ;	
	}
		
	
	var myWidth = 0 ;
	var myHeight = 0 ;

	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	
	var winX = (document.all)?window.screenLeft:window.screenX;

	var winY = (document.all)?window.screenTop:window.screenY;
	var left = myWidth/2 - w/2  + winX ;
	var top = myHeight/2 - h/2 + winY ; 	
	var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);

	targetWin.focus() ;

} 
