// JavaScript Document

function quote()

{

var mess = new Array('All that we are is the result of what we have thought. The mind is everything. What we think we become ', 'Let us not pray to be sheltered from dangers but to be fearless when facing them - Rabindarnath Tagore' , 'Peace comes from within. Do not seek it without ' , 'You will not be punished for your anger, you will be punished by your anger ' , 'The weak can never forgive. Forgiveness is the attribute of the strong - Mahatama Gandhi' , 'The mind is everything. What you think you become - Buddha' , 'Three things cannot be long hidden: the sun, the moon, and the truth - Buddha' , 'To understand everything is to forgive everything ','We are shaped by our thoughts; we become what we think. When the mind is pure, joy follows like a shadow that never leaves - Buddha' , 'However many holy words you read,However many you speak,What good will they do you If you do not act on upon them? ' ,'There is nothing more dreadful than the habit of doubt. Doubt separates people. It is a poison that disintegrates friendships and breaks up pleasant relations. It is a thorn that irritates and hurts; it is a sword that kills ' , 'The secret of health for both mind and body is not to mourn for the past, worry about the future, or anticipate troubles, but to live in the present moment wisely and earnestly ' , 'Your work is to discover your work and then with all your heart to give yourself to it ',
'What we think, we become ' , 'To keep the body in good health is a duty...otherwise we shall not be able to keep our mind strong and clear -Buddha' , 'There is more to life than simply increasing its speed - Mahatama Gandhi' , 'You cant cross the sea merely by standing and staring at the water - Rabindarnath Tagore');

var max = mess.length;

var num = Math.floor((Math.random() * max));

document.getElementById('pquote').innerHTML= "<b>" + "<font color='purple'>" + "<u>" + mess[num] + "</u>" + "</font>" + "</b>";

                    

}

function topbar()

{

	document.writeln('<center><table width="806px" border=0 bgcolor="#FFCCFF">')

	document.writeln('<tr><td class="topheader">Welcome to Official Website of District Mansa</td></tr>')

	document.writeln('<tr><td><img src="../images/logotop.jpg" alt="Official Website of District Mansa" width="800" height="112" 	align="middle"</img></td></tr>')

	



document.writeln('<table width="806" border="0" bgcolor="#FFCCFF"><tr> <td height="6" align="center" valign="top"><hr /></td>  </tr>')

  document.writeln(' <tr>  <td height="25" align="center" valign="top">|<a href="../default.html" class="menu"> Home </a>| <a href="../html/about.html" class="menu">About District </a>| <a href="../html/area.html" class="menu">At a Glance</a>| <a href="../html/utilityforms.html" class="menu">E-Forms</a> | <a href="../html/onlinesuwidha.aspx" class="menu">Online Services</a> | <a href="../html/education.html" class="menu">Education </a>| <a href="../html/health.html" class="menu">Health</a> | <a href="../html/photogallery.html" class="menu">Photogallery </a>| <a href="../html/suggestion.html" class="menu">Feedback </a>| </td></tr>')

  document.writeln('<tr><td height="4" align="center" valign="top"><hr /></td> </tr></table>')

}



function copyright()

{

document.writeln('<center><table width="814px" border="0" bgcolor="#FFCCFF" bordercolor="#000000"><tr  bordercolor="#FFCCFF"><td class="copyright" align="center">Site Designed and Developed by : NIC Punjab - District Centre Mansa</td></tr>')

document.writeln('<tr  bordercolor="#FFCCFF"><td class="copyright"  align="center">Contents Provided and Managed by : Mansa District Administration</td></tr>')

document.writeln('<tr  bordercolor="#FFCCFF"><td class="copyright" align="center">This site is best viewed in Java Enabled Internet Explorer 5.0 or above at 800x600 Monitor resolution.')

document.writeln('</td></tr>')

document.writeln('<tr  bordercolor="#FFCCFF"><td  align="center"><a href="../html/disclaimer.html" class="copyrightnew" target="_blank">(Disclaimer)</a>  <a href="../html/privacy.html" class="copyrightnew" target="_blank">(Privacy Statement)</a>  <a href="../html/copyright.html" class="copyrightnew" target="_blank">(Copyright)</a>  <a href="../html/contactus.html" class="copyrightnew" target="_blank">(Contact Us)</a><tr>')

document.writeln('</table></center>')

}



function leftmenu(str)

{

	if (str == "about")

	{

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%" align="left"><font class="menuheading">Site Links</font></td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/about.html">Location</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/climate.html">Climate</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/geography.html">Geographical<br>      Features</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/towns.html">Major Towns<br>      and cities</td></tr>')

document.writeln('</table>')

	}

	else if (str == "online")

	{

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%" align="left"><font class="menuheading">Site Links</font></td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/onlinesuwidha.aspx">Suwidha<br>Status</td></tr>')



document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="http://164.100.17.25/passmain.php?city=chd" target="_blank">Passport<br>Status</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/onlinepension.html">Pensioners<br>Status</td></tr>')



document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/attadal.html">Atta Dal<br>Beneficiaries</td></tr>')



document.writeln('</table>')

	}

	else if (str == "adminsetup")

	{

		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%" align="left"><font class="menuheading">Site Links</font></td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/adminsetup.html">Administrative<br>      Setup</td></tr>')

	document.writeln('</table>')

	}

	

	else if (str == "glance")

	{

		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%" align="left"><font class="menuheading">Site Links</font></td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#area">Area and<br>      Population</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#Agriculture">Agriculture</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#electricity">Electricity</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#industry">Industry</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#cooperative">Co-operative <br>       Societies</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#medical">Medical and <br>       Health</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#animals">Animals and <br>      Animal HY</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#education">Education <br></td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#roads">Roads <br></td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/area.html#misc">Miscellaneous <br></td></tr>')





	document.writeln('</table>')

	}

else if (str=="maps")

{

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%" align="left"><font class="menuheading">Site Links</font></td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/maps.html#mansa"> 96-Mansa</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/maps.html#sardulgarh">97-Sardulgarh</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/maps.html#budhlada">98-Budhlada</td></tr>')

document.writeln('</table>')

}

else if (str=="pslist")

{

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%" align="left"><font class="menuheading">Site Links</font></td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/pslist.html#mansa"> 96-Mansa</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/pslist.html#sardulgarh">97-Sardulgarh</td></tr>')

document.writeln('<tr><td height="15" width="100%" align="left"><li><a class="menuitem" href="../html/pslist.html#budhlada">98-Budhlada</td></tr>')

document.writeln('</table>')

}

}






