function topHeader(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.writeln('<img src="'+relative_path+'../images/collage2.jpg" width="770" height="69" border="0">')
}


function leftMenu(str){
	document.writeln('<br><br><br><table width="98%" border="0" cellspacing="0" cellpadding="0" align="right">')

	document.writeln('<tr><td height="20" width="100%" align="center" background="../images/title_background1.jpg"><font class="MenuHeading" color="#ffffff">Site Links</font></td></tr>')	
	document.writeln('<tr><td>')
	
	document.writeln('<table width="100%" border="1" cellspacing="0" cellpadding="0"  bordercolor="#cc9900"><tr><td>')
	
	document.writeln('<table width="100%" border="0" cellspacing="5" cellpadding="0">')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../index.html">- Home</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/about_us.htm">- About Us</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/registration.htm">- Registration</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/licence.htm">- Driving Licence</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/permit.htm">- Permit</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/enforcement.htm">- Enforcement</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/pollution_control.htm">- Pollution Control</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../forms/index.html">- Forms</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/fees.htm">- Fees & Taxes</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/contacts.htm">- Contacts</a></td></tr>')
	
	document.writeln('</table>')
	
	document.writeln('</td></tr></table>')
	
	document.writeln('</td></tr></table>')
	//leftPane(str)
}

function leftMenu1(str){
	document.writeln('<table width="100%" border="0" cellspacing="5" cellpadding="0">')

	document.writeln('<tr><td height="10" width="100%"></td></tr>')

	document.writeln('<tr><td height="20" width="100%"><font class="MenuHeading">Site Links</font></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../index.html">- Home</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/about_us.htm">- About Us</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/registration.htm">- Registration</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/licence.htm">- Licence</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/permit.htm">- Permit</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/enforcement.htm">- Enforcement</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/pollution_control.htm">- Pollution Control</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../forms/index.html">- Forms</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/fees.htm">- Fees & Taxes</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../html/contacts.htm">- Contacts</a></td></tr>')
	
	document.writeln('</table>')
	//leftPane(str)
}


function copyright(){
	document.writeln('<table width="100%" cellpadding="1" cellspacing="0" border="0">')
	document.writeln('<tr>')
	document.writeln('<td class="Copyright" align="right"><b>Site is designed by:</b></td>')
	document.writeln('<td class="Copyright"><font color="#780000">National Informatics Centre, Punjab State Unit, Chandigarh</font></td>')
	document.writeln('</tr>')
	document.writeln('<tr>')
	
	document.writeln('<td align="right"><b>Contents developed by:</b></td>')
	document.writeln('<td class="Copyright"><font color="#780000">Transport Department, Punjab</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 homeBottom(){
	document.writeln('<br><center><div style="height=20;width=50;"><B><a href="../index.html"><img src="../images/icon_home.jpg" alt="Home" width="42" height="39" border="0"></a></B></div></center>')
}


function bottomMenu(){	
}



function topInnerRow(){
}


function bottomInnerRow(){
}




function forms(str){
	document.writeln('<br><br><br><table width="98%" border="0" cellspacing="0" cellpadding="0" align="right">')

	document.writeln('<tr><td height="20" width="100%" align="center" background="images/title_background1.jpg"><font class="MenuHeading" color="#ffffff">Forms</font></td></tr>')	
	document.writeln('<tr><td>')
	
	document.writeln('<table width="100%" border="1" cellspacing="0" cellpadding="0"  bordercolor="#cc9900"><tr><td>')
	
	document.writeln('<table width="100%" border="0" cellspacing="5" cellpadding="0">')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../forms/index.html">- Driving License</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../forms/index.html">- Registration</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../forms/index.html">- Permits</a></td></tr>')
	
	document.writeln('</table>')
	
	document.writeln('</td></tr></table>')
	
	document.writeln('</td></tr></table>')
}




function contacts(str){
	document.writeln('<br><br><br><table width="98%" border="0" cellspacing="0" cellpadding="0" align="right">')

	document.writeln('<tr><td height="20" width="100%" align="center" background="images/title_background1.jpg"><font class="MenuHeading" color="#ffffff">Contacts</font></td></tr>')	
	document.writeln('<tr><td>')
	
	document.writeln('<table width="100%" border="1" cellspacing="0" cellpadding="0"  bordercolor="#cc9900"><tr><td>')
	
	document.writeln('<table width="100%" border="0" cellspacing="5" cellpadding="0">')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../forms/index.html">- Telephone &nbsp;&nbsp;&nbsp;Numbers</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../forms/index.html">- Secretary</a></td></tr>')

	document.writeln('<tr><td height="15" width="100%"><a class="MenuItem" href="../forms/index.html">- District &nbsp;&nbsp;&nbsp;Transport Officer</a></td></tr>')
	
	document.writeln('</table>')
	
	document.writeln('</td></tr></table>')
	
	document.writeln('</td></tr></table>')
}

