	var upperLimit=20;
	var linkHREF = new Array(upperLimit);
	var linkName = new Array(upperLimit);
	var linkTitle = new Array(upperLimit);
	var targetwin="_blank";
	var linelen=0;

	function footer()
		{
		setLinks4();

		document.write("<table bgcolor=\"green\" width=\"95%\" border=\"1\" align=\"center\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"green\" bordercolorlight=\"green\" bordercolordark=\"green\"><tr><td></td></tr></table>")
		document.write("<table border=\"0\" width=\"100%\" align=\"center\" cellspacing=\"0\" cellpadding=\"0\" >");
		document.write("<tr>");
		document.write("<td align=\"center\" valign=\"top\">");
		document.write("<font size=2 face=\"verdana\" ><b>*</B></font>");


		for (i=1;i<=upperLimit;i++)
		{
			/*if (i > 0)		// && i < upperLimit)
				{ 
					targetwin ="_blank"; 
				}
			else
				{ 
					targetwin ="_self"; ; 
				}*/
			
			document.write("<font size=\"2\" face=\"arial\">");
			//if (i % 7 == 0 && i != 0 )
			if (linelen > 135)	//(linelen > 145 )
			{
				linelen = 0;
				document.write("<br> <font size=2 face=\"verdana\" ><b>*</B></font>");
			}
			
			if (linkHREF[i].length != 0)
			{
				document.write("&nbsp;&nbsp;");
				document.write("<a title=\"" + linkTitle[i] + "\" + target=\"" + targetwin + "\" + href=\"" + linkHREF[i] + "\" + class=\"txtbluelt\">" + linkName[i] + "</a>");
            	document.write("&nbsp;&nbsp;<font size=2 face=\"verdana\" ><b>*</B></font>");
            }
			else
			{
				document.write("&nbsp;");
            	document.write("" + linkName[i] + "");
			 	document.write("&nbsp;<font size=2 face=\"verdana\" ><b>*</B></font>");
			 }
			linelen = linelen + linkName[i].length + 6

			document.write("</font>");
		
		}	//End of For loop
		document.write("</td>");
		document.write("</tr>");
		document.write("<tr>");document.write("</tr>");  document.write("<tr>");document.write("</tr>");
		document.write("</table>");

		document.write("<table bgcolor=\"green\" width=\"95%\" border=\"1\" align=\"center\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"green\" bordercolorlight=\"green\" bordercolordark=\"green\"><tr><td></td></tr></table>");
		document.write("<td align=\"center\">");
		document.write("<font size=\"1\" face=\"Verdana\" color=\"#0000FF\">")
		document.write("<center>Content of this website is published & managed by Deputy Commissioner, Kullu. ")
		document.write("<br>For any query regarding this website, please contact- Additional District Magistrate, Kullu, email : adm-kul-hp@nic.in .")
		document.write("<a target = \"_self\" href=\"disclaimer.html\"><span style=\"text-decoration:none; font-weight: 700\">Read More...</a></span>.<br>")
		document.write("<br>Last update: 24-05-2010. Best viewed in IE 4.0 or Above, Resolution: 1024x768, Text Size: Medium. &nbsp;</font>")
		document.write("<font face=\"Verdana\" color=\"#0000ff\" size=\"1\">")
		document.write("<span lang=\"en-au\"><br>Are you seeing some jumbled characters? Configure your computer for <b>")
		document.write("<a target=\"_blank\" href=\"http://www.unicode.org\" style=\"text-decoration: none\">")
		document.write("<font color=\"#0000FF\">UNICODE</font></a></b>. <b>")
		document.write("<a target=\"_Blank\" href=\"http://www.unicode.org/help/display_problems.html\" style=\"text-decoration: none\">")
		document.write("<font color=\"#0000FF\">Click here for configuration</font></a></b>.</span></span></font></center>")
		document.write("</table>");
		}
		
	function setLinks4()		
		{
		linkHREF[1]="http://himachal.nic.in/feedcm.asp"
		linkName[1]="Write to CM"
		linkTitle[1]="Write to Hon'ble C.M. & get prompt reply"

		linkHREF[2]="http://himachal.nic.in/vacancy/vacancy.htm"
		linkName[2]="Himachal Govt. Vacancies"
		linkTitle[2]="Check Vacancies in Various Govt. Offices"
		
		linkHREF[3]="http://himachal.nic.in/phonekhoj.asp"
		linkName[3]="Phone Directory"
		linkTitle[3]="Search for Telephone Directory"
		
		linkHREF[4]="http://himachal.nic.in/ipr/weather/eventskhoj.asp"
		linkName[4]="Events"
		linkTitle[4]="Important Events"		
		
		linkHREF[5]="http://himachal.nic.in/tender.htm"
		linkName[5]="Tenders"
		linkTitle[5]="Tenders Informations"	
			
		linkHREF[6]="http://himachal.nic.in/citizen.htm"
		linkName[6]="Citizen Services - Downloadable Forms"
		linkTitle[6]="Download all important forms for use in various citizen services"		
		
		linkHREF[7]="http://himachal.nic.in/ipr/ipr.asp"
		linkName[7]="Press Releases"
		linkTitle[7]="Read Press Releases"		
		
		linkHREF[8]="http://himachal.nic.in/ipr/weather/sevenday.asp"
		linkName[8]="Weather"
		linkTitle[8]="Weather"		
		
		linkHREF[9]="http://himachal.gov.in/lokmitra"
		linkName[9]="Lokmitra"
		linkTitle[9]="Lokmitra Project"		
		
		linkHREF[10]="http://himachal.gov.in/holidays.htm"
		linkName[10]="Holidays"
		linkTitle[10]="Gazetted Holidays"		
		
		linkHREF[11]="http://himachal.gov.in/mapbig.htm"
		linkName[11]="Districts of Himachal Pradesh"
		linkTitle[11]="Various Districts of HP"		

		linkHREF[12]="http://districts.nic.in/"
		linkName[12]="Other Districts"
		linkTitle[12]="District of India"		
		
		linkHREF[13]="http://himachal.gov.in/links.htm"
		linkName[13]="Related Links"
		linkTitle[13]="Related & Important Links"		

		linkHREF[14]="http://www.himbunkar.com/"
		linkName[14]="Himbunkar"
		linkTitle[14]="Himbunkar"		

		linkHREF[15]="http://hptdc.nic.in/"
		linkName[15]="HPTDC Hotel Reservation"
		linkTitle[15]="HPTCD Hotel Reservation"		

		linkHREF[16]="http://hpresults.nic.in"
		linkName[16]="HPBSE - Results"
		linkTitle[16]="HPBSE - Results"		

		linkHREF[17]="http://results.nic.in"
		linkName[17]="All India Results"
		linkTitle[17]="All India Results"		

		linkHREF[18]="http://admis.hp.nic.in/notific/"
		linkName[18]="HP Government Gazette Notifications"
		linkTitle[18]="HP Government Gazette Notifications"		

		linkHREF[19]="http://admis.hp.nic.in/himpol/Citizen/OnlineComplaints.aspx/"
		linkName[19]="HPP-FIR/ Complaints"
		linkTitle[19]="HPP-FIR/ Complaints"		
		
		linkHREF[20]="http://admis.hp.nic.in/himpol/Citizen/ChallanPaymentInformation.aspx/"
		linkName[20]="HPP-Traffic Challan Payment"
		linkTitle[20]="HPP-Traffic Challan Payment"		

 		window.status = "District Administration Kullu (HP)-India, Official Website"
		}
		
function setstatus()
{
   window.status = "District Administration Kullu (HP)-India, Official Website"
}

