function header(position){	
	var relative_path = ""
	if (position == null){
		position = 1
		relative_path = "../html/"
	} else if (position == 0) relative_path = "html/"
	else if (position == 2) relative_path = "../../html/"
	
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="756" height="178" style="border: solid #3d6728 1px;">')
	document.write('<tr>')
	document.write('<td height="49" bordercolor="#FFFFFF" colspan="2" width="734"><img border="0" src="../images/top-bar.jpg" width="756" height="51"></td>')
	document.write('</tr>')	
	
	document.write('<tr>')
	document.write('<td height="33" bordercolor="#F0F0F0" bordercolorlight="#F0F0F0" width="171" bgcolor="#F0F0F0" bordercolordark="#F0F0F0"><a class="TopHeading" href="../html/developement_stories_menu.htm">Devlopement Stories</a><br><img border="0" src="../images/yellow-bar.jpg" width="171" height="2"></td>')	
	
	document.write('<td height="129" bordercolor="#C0C0C0" bordercolorlight="#C0C0C0" width="563" rowspan="4"><img border="0" src="../images/main1.JPG" width="585" height="129"></td>')
	document.write('</tr>')	
	
	document.write('<tr>')
	document.write('<td height="33" bordercolor="#F0F0F0" bordercolorlight="#F0F0F0" width="171" bgcolor="#F0F0F0" bordercolordark="#F0F0F0"><a class="TopHeading" href="../html/maps_menu.htm">Maps</a><br><img border="0" src="../images/yellow-bar.jpg" width="171" height="2"></td>')
	document.write('</tr>')	
	
	document.write('<tr>')
	document.write('<td height="33" bordercolor="#F0F0F0" bordercolorlight="#F0F0F0" width="171" bgcolor="#F0F0F0" bordercolordark="#F0F0F0"><a class="TopHeading" href="../html/contact_us.htm">Contact Us</a><br><img border="0" src="../images/yellow-bar.jpg" width="171" height="2"></td>')
	document.write('</tr>')	
		
	document.write('<tr>')
	document.write('<td height="33" bordercolor="#F0F0F0" bordercolorlight="#F0F0F0" width="171" bgcolor="#F0F0F0" bordercolordark="#F0F0F0"><a class="TopHeading" href="mailto:punhsr@chd.nic.in">Email</a></td>')
	document.write('</tr>')		
		
	document.write('<tr>')
	document.write('<td height="6" bordercolor="#C0C0C0" bordercolorlight="#C0C0C0" width="577" colspan="2"><img border="0" src="../images/green-bar.jpg" width="756" height="9"></td>')
	document.write('</tr>')	
	document.write('</table>')
}

function copyright(){
	document.writeln('<table width="770" cellpadding="1" cellspacing="0" border="0">')
	document.writeln('<tr>')
	document.writeln('<td class="Copyright" align="right"><b>Site is designed &amp; developed by:</b></td>')
	document.writeln('<td class="Copyright"><font color="#d1bc3d">National Informatics Centre, Punjab State Unit, Chandigarh</font></td>')
	document.writeln('</tr>')
	document.writeln('<tr>')
	
	document.writeln('<td align="right" class="Copyright"><b>Contents developed by:</b></td>')
	document.writeln('<td class="Copyright"><font color="#d1bc3d">Hoshiarpur District Administration</font></td>')
	document.writeln('</tr>')
	document.writeln('<tr>')

	document.writeln('<td class="Copyright" colspan="2" align="center"><font size="-2" face="tahoma">This site is best viewed in 800x600 resolutions. Use IE 4.5/Netscape 4.5 or above.</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>')
	document.writeln('</tr>')
	document.writeln('</table>')
}

function leftMenu1(){	
	document.writeln('<br><table style="border: solid #3d6728 1px;" height="100%">')
	document.writeln('<tr>')
	document.writeln('<td class="MenuHeading">&nbsp;&nbsp;Browse Links</a>&nbsp;&nbsp;<img border="0" src="../images/grey-bar.jpg" width="90" height="6"></td>')
	document.writeln('</tr>')
	
	document.writeln('<tr>')
	document.writeln('<td><img border="0" src="../images/grey-bar.jpg" width="190" height="1"></td>')
	document.writeln('</tr>')
	
	document.writeln('<tr>')
	document.writeln('<td>')
	
	document.writeln('<table>')
	document.writeln('<tr>')
	document.writeln('<td valign="top" bgcolor="#ffffff">&nbsp;&nbsp;<a class="MenuItem_top" href="../html/about_district_menu.htm">About District</a><br>&nbsp;&nbsp;<a class="MenuItem_top" href="../html/citizen_charter.htm">Citizen Charter</a><br>&nbsp;&nbsp;<a class="MenuItem_top" href="../html/district_administration_menu.htm">District Administration</a><br>&nbsp;&nbsp;<a class="MenuItem_top" href="../html/district_at_a_glance.htm">District At A Glance</a><br>&nbsp;&nbsp;<a class="MenuItem_top" href="../html/education_menu.htm">Education</a><br>&nbsp;&nbsp;<a class="MenuItem_top" href="http://punjabsewa.gov.in/pages/download-forms.jsp">Forms</a><br></td>')
	document.writeln('</tr>')
	document.writeln('</table>')
	
	document.writeln('</td>')	
	document.writeln('</tr>')
	document.writeln('<table>')
}

function leftMenu2(){	
	document.writeln('<table style="border: solid #3d6728 1px;" height="100%">')
	document.writeln('<tr>')
	document.writeln('<td><img border="0" src="../images/small-green-bar.jpg" width="180" height="6"></td>')
	document.writeln('</tr>')
	
	document.writeln('<tr>')
	document.writeln('<td valign="top" bgcolor="#ffffff" class="MenuHeading">&nbsp;&nbsp;&nbsp;&nbsp;Browse Links<img border="0" src="../images/grey-bar.jpg" width="80" height="6"></td>')
	document.writeln('</tr>')
	
	document.writeln('<tr>')
	document.writeln('<td background="../images/cell-bg.jpg" valign="top"><ul class="icon"><li><a class="MenuItem" href="../html/history_menu.htm">History & Culture</a></li><li><a class="MenuItem" href="../html/industry_menu.htm">Industries & Employment</a></li><li><a class="MenuItem" href="../html/photo_gallery.htm">Photogallery</a></li><li><a class="MenuItem" href="../html/public_service.htm">Public Services For Citizen</a></li><li><a class="MenuItem" href="../html/telephone_directory.htm">Telephone Directory</a></li></ul></td>')
	document.writeln('</tr>')
	document.writeln('</table>')
}

function header1(position){	
	var relative_path = ""
	if (position == null){
		position = 1
		relative_path = "../html/"
	} else if (position == 0) relative_path = "html/"
	else if (position == 2) relative_path = "../../html/"
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="756" style="border: solid #3d6728 1px;">')
	document.write('<tr valign="top">')
	document.write('<td height="49" bordercolor="#FFFFFF" colspan="2" width="734"><img border="0" src="../images/top-bar.jpg" width="756" height="51"></td>')
	document.write('</tr>')	
	document.write('<tr>')
	document.write('<td>')
	document.writeln('<table width="100%"cellpadding="0" cellspacing="0" border="0" bgcolor="#da8900">')
	document.writeln('<tr>')
	document.writeln('<td><a class="TopHeading" title="Home" href="'+relative_path+'../index.html">&nbsp;&nbsp;Home</a></td>')
	document.writeln('</tr>')
	document.writeln('</table>')
	document.write('</td>')
	document.write('</tr>')
	document.writeln('</table>')	
}

function homeBottom(){
	document.writeln('<br><center><div style="height=20;width=50;"><B><a href="../index.html"><img src="../images/home3.jpg" alt="Home" width="43" height="43" border=0></a></B></div></center>')
}

function vline() {
	document.write('<BR><TABLE CELLPADDING=0 CELLSPACING=0 WIDTH=1 height="100%" BORDER=0 BGCOLOR="#8D5501">')
	document.write('<TR>')
	document.write('<TD><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR></TD>')
	document.write('</TR>')
	document.write('</TABLE>')
}