function PopUpWindow(html,wd,ht,winName){
		var winleft   = (screen.width/2) - 300;
		var winTop = (screen.height/2) - 335;

  	var w1= window.open(html,winName,'left='+winleft+',top='+winTop+',width='+wd+',height='+ht+',menubar=no,status=no,location=no,toolbar=no,scrollbars=yes');
}


function popUpMaxSize(url){
		pwidth = screen.width;
		pheight = screen.height;
		pleft = 0;
		ptop = 0;
		var popStr = "location=1,status=1,scrollbars=1,toolbar=1,resizable=1,width="+pwidth+",height="+pheight+",left="+pleft+",top="+ptop;
		var popup = window.open (url,"newWin",popStr); 	
		if (popup) popup.focus();
	
}
