function writetlinks()
{
        document.write('<table border="0" cellpadding="0" cellspacing="0">');
        document.write('<tr>');
	document.write('<td><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image1\',\'\',\'images/t_home2.jpg\',1)"><img src="images/t_home1.jpg" alt="Home" name="Image1" width="48" height="18" border="0"></a></td>');
	document.write('<td><a href="contact.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image2\',\'\',\'images/t_contact2.jpg\',1)"><img src="images/t_contact1.jpg" alt="Get us now!" name="Image2" width="81" height="18" border="0"></a></td>');
	document.write('</tr>');
	document.write('</table>');
}

function writergtlinks()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
	document.write('<tr>');
	document.write('<td width="50%" bgcolor="#F1F9FF"><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image1\',\'\',\'images/sm_home2.jpg\',1)"><img src="images/sm_home1.jpg" alt="Home" name="Image1" width="104" height="29" border="0"></a></td>');															     
	document.write('<td width="50%" bgcolor="#F1F9FF"><img border="0" src="images/sm_home1img.jpg" width="57" height="29"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="50%" bgcolor="#F1F9FF"><a href="prof.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image2\',\'\',\'images/sm_prof2.jpg\',1)"><img src="images/sm_prof1.jpg" alt="Profile" name="Image2" width="104" height="32" border="0"></a></td>');
	document.write('<td width="50%" bgcolor="#F1F9FF"><img border="0" src="images/sm_prof1img.jpg" width="57" height="32"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="accom.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image3\',\'\',\'images/sm_accom2.jpg\',1)"><img src="images/sm_accom1.jpg" alt="Accommodation" name="Image3" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="banq.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image4\',\'\',\'images/sm_banq2.jpg\',1)"><img src="images/sm_banq1.jpg" alt="Banquet" name="Image4" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="faci.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image5\',\'\',\'images/sm_faci2.jpg\',1)"><img src="images/sm_faci1.jpg" alt="Facilities" name="Image5" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="corp.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'images/sm_corp2.jpg\',1)"><img src="images/sm_corp1.jpg" alt="Corporate" name="Image6" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="reserve.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'images/sm_reserve2.jpg\',1)"><img src="images/sm_reserve1.jpg" alt="Reservations" name="Image7" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="filmshoot.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image8\',\'\',\'images/sm_filmshoot2.jpg\',1)"><img src="images/sm_filmshoot1.jpg" alt="Film Shootings" name="Image8" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	/*document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="ayur.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image9\',\'\',\'images/sm_ayurveda2.jpg\',1)"><img src="images/sm_ayurveda1.jpg" alt="Ayurveda" name="Image9" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');	
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');*/	
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="career.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image10\',\'\',\'images/sm_career2.jpg\',1)"><img src="images/sm_career1.jpg" alt="Careers/Training" name="Image10" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a target="_blank" href="virtual-tour/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image18\',\'\',\'images/vir_tour2.jpg\',1)"><img src="images/vir_tour1.jpg" alt="Virtual Tour" name="Image18" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');	
	
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="picgal.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image11\',\'\',\'images/sm_picgal2.jpg\',1)"><img src="images/sm_picgal1.jpg" alt="Picture Gallery" name="Image11" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	
	
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="tender.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image12\',\'\',\'images/sm_tender2.jpg\',1)"><img src="images/sm_tender1.jpg" alt="Tenders" name="Image12" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="sitemap.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image13\',\'\',\'images/sm_sitemap2.jpg\',1)"><img src="images/sm_sitemap1.jpg" alt="Sitemap" name="Image13" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
//	document.write('<tr>');
//	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
//	document.write('</tr>');
//	document.write('<tr>');
//	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="enquiry.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image14\',\'\',\'images/sm_enquiry2.jpg\',1)"><img src="images/sm_enquiry1.jpg" alt="Enquiry" name="Image14" width="104" height="23" border="0"></a></td>');
//	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="contact.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image15\',\'\',\'images/sm_contact2.jpg\',1)"><img src="images/sm_contact1.jpg" alt="Contact Us" name="Image15" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF"><a href="privacy.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image16\',\'\',\'images/sm_privacy2.jpg\',1)"><img src="images/sm_privacy1.jpg" alt="Privacy Policy" name="Image16" width="104" height="23" border="0"></a></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2" bgcolor="#F1F9FF" background="images/sm_line.jpg"><img border="0" src="images/sm_line.jpg" width="3" height="4"></td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2"></td>');
	document.write('</tr>');
//Scroll Script cell
	/*document.write('<tr><td width="100%" colspan="2"><script language="JavaScript">scroll()\;</script></td></tr>');
	document.write('<tr>');
	document.write('<td width="100%" colspan="2">&nbsp;</td>');
	document.write('</tr>');
	document.write('<tr><td align="center" width="100%" colspan="2"><a href="http://www.goldenwebawards.com/officialawardwinner.shtml" target="_blank"><img src="http://www.goldenwebawards.com/images/webaward2003b.jpg" border="0"></a></td></tr>');*/
	document.write('</table>');
}


function writeblinks()
{
	document.write('<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%" align="center" valign="top" class="btmlink">');
	document.write('| <a title="Home" href="index.html" target="_self">Home</a>');
	document.write(' | <a title="Profile" href="prof.html" target="_self">Profile</a>');
	document.write(' | <a title="Accommodation" href="accom.html" target="_self">Accommodation</a>');
	document.write(' | <a title="Banquet" href="banq.html" target="_self">Banquet</a>');
	document.write(' | <a title="Facilities" href="faci.html" target="_self">Facilities</a>');
	document.write(' | <a title="Corporate" href="corp.html" target="_self">Corporate</a>');
	document.write(' | <a title="Reservations" href="reserve.html" target="_self">Reservations</a>');
	document.write(' | <a title="Film Shootings" href="filmshoot.html" target="_self">Film Shootings</a>');
//	document.write(' | <a title="Ayurveda" href="ayur.html" target="_self">Ayurveda</a>');
	document.write(' | <a title="Careers/Training" href="career.html" target="_self">Careers/Training</a>');
	document.write(' |<br>');
	document.write(' | <a title="Virtual Tour" href="virtual-tour/index.htm" target="_blank">Virtual Tour</a>');
	document.write(' | <a title="Picture Gallery" href="picgal.html" target="_self">Picture Gallery</a>');
	document.write(' | <a title="Tenders" href="tender.html" target="_self">Tenders</a>');
	document.write(' | <a title="Contact Us" href="contact.html" target="_self">Contact Us</a>');
	document.write(' | <a title="Sitemap" href="sitemap.html" target="_self">Sitemap</a>');
//	document.write(' | <a title="Enquiry" href="enquiry.html" target="_self">Enquiry</a>');
	document.write(' | <a title="Privacy Policy" href="privacy.html" target="_self">Privacy Policy</a> |');
	document.write('</td></tr>');
	document.write('<tr>');
	document.write('<td width="100%" align="center" valign="top" class="btmlink">');
	document.write('<hr width="100%" noshade size="1"><font color="#6633CC">Copyright &copy; 2009&nbsp;<b><i>Lalitha Mahal Palace Hotel</i></b> All Rights Reserved.</font>');
	document.write('</td></tr>');
	document.write('<tr>');
	document.write('<td align="center" align="center" valign="top" class="btmlink">');
	document.write('<font size="1" color="#800000">Maintained by <a href="http://www.preigo.com" target="_blank">Preigo Fover Technologies</a></font>');
	document.write('</td></tr>');
	document.write('</table>');
}

function writebindlinks()
{
	document.write('<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">');
	document.write('<tr>');
	document.write('<td width="100%" valign="top" class="btmlink">');
	document.write('<font color="#6633CC">Copyright &copy; 2003-2010&nbsp;<b><i>Lalitha Mahal Palace Hotel</i></b> All Rights Reserved.</font><br>');
	document.write('<font size="1" color="#800000">Maintained by <a href="http://www.preigo.com" target="_blank">Preigo Fover Technologies</a></font>');
	document.write('</td>');
	document.write('<td align="right" valign="top" nowrap class="btmlink">');
	document.write('| <a title="Contact Us" href="contact.html" target="_self">Contact Us</a>');
//	document.write(' | <a title="Enquiry" href="enquiry.html" target="_self">Enquiry</a>');
	document.write(' | <a title="Privacy Policy" href="privacy.html" target="_self">Privacy Policy</a> |');
	document.write('</td></tr>');
	document.write('</table>');
}


//Mouseover script start
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

//Mouseover script end

if (window.Event) 
document.captureEvents(Event.MOUSEUP); 
function nocontextmenu()  
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;