/*****************************************************************************************************
Created By: Ferdous Md. Jannatul, Sr. Software Engineer
Created On: 10 December 2005
Last Modified: 13 April 2006
******************************************************************************************************/
		//Generating Pop-up Print Preview page
		function getPrint(print_area)
		{	
//			//Creating new page
//			var pp = window.open();
//			//Adding HTML opening tag with <HEAD> … </HEAD> portion 
//			pp.document.writeln('<HTML><HEAD><title>Print Preview</title>')
//			pp.document.writeln('<LINK href=../../Stylesheets/StyleMain.css  type="text/css" rel="stylesheet" ><base target="_self"></HEAD>')
//			//Adding Body Tag
//			pp.document.writeln('<body MS_POSITIONING="GridLayout" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">');
//			//Adding form Tag
//			pp.document.writeln('<form  method="post">');
//			//Creating two buttons Print and Close within a table
//			pp.document.writeln('<TABLE width=100%><TR><TD height=20></TD></TR><TR><TD align=center><INPUT ID="PRINT" type="button" ');
//			pp.document.writeln(' value="Print" onclick="javascript:location.reload(true);window.print();">&nbsp;<INPUT ID="CLOSE" type="button"');
//			pp.document.writeln(' value="Close" onclick="window.close();"></TD></TR><TR><TD height = 20></TD></TR><TR><TD align=center>');
//			//Writing print area of the calling page
//			pp.document.writeln(document.getElementById(print_area).innerHTML);
//			//Ending Tag of </form>, </body> and </HTML>
//			pp.document.writeln('</TD></TR></TABLE></form></body></HTML>');	
            window.open('/SouthHaven/Admin/PrintWindow.aspx','Print','toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=no,width=450,height=300,top=150,left=300'); 
		}	
		
		
		function getPrint_Maternity(print_area)
		{	
//			//Creating new page
//			var pp = window.open();
//			//Adding HTML opening tag with <HEAD> … </HEAD> portion 
//			pp.document.writeln('<HTML><HEAD><title>Print Preview</title>')
//			pp.document.writeln('<LINK href=../../Stylesheets/StyleMain.css  type="text/css" rel="stylesheet" ><base target="_self"></HEAD>')
//			//Adding Body Tag
//			pp.document.writeln('<body MS_POSITIONING="GridLayout" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">');
//			//Adding form Tag
//			pp.document.writeln('<form  method="post">');
//			//Creating two buttons Print and Close within a table
//			pp.document.writeln('<TABLE width=100%><TR><TD height=20></TD></TR><TR><TD align=center><INPUT ID="PRINT" type="button" ');
//			pp.document.writeln(' value="Print" onclick="javascript:location.reload(true);window.print();">&nbsp;<INPUT ID="CLOSE" type="button"');
//			pp.document.writeln(' value="Close" onclick="window.close();"></TD></TR><TR><TD height = 20></TD></TR><TR><TD align=center>');
//			//Writing print area of the calling page
//			pp.document.writeln(document.getElementById(print_area).innerHTML);
//			//Ending Tag of </form>, </body> and </HTML>
//			pp.document.writeln('</TD></TR></TABLE></form></body></HTML>');		
            window.open('PrintWindow_AdminPre_Registration.aspx','Print','scrollbars=yes,resizable=no,width=450,height=300,top=150,left=300'); 
		}	

