winWidth = 900; 
winHeight = 650; 

if (screen){ 
   winWidth = screen.width;
   winHeight = screen.height;
}
	
function popupWindow(win){
	
	newWindow = window.open(win,'newWin','toolbar=no,location=no,scrollbars=no,resizable=yes,width='+winWidth+',height='+winHeight+',left=0,top=0');
	newWindow.focus();
}
