<!--
// This page will go at the end of every page //
document.writeln('<div>');
document.writeln('<p>&nbsp;</p>');
document.writeln('<hr ALIGN=LEFT SIZE=1 NOSHADE WIDTH="100%">');
document.writeln('<center>');
document.writeln('<TABLE width="40%">');
document.writeln('<TR>');
document.writeln('<TD VALIGN="top" ALIGN="left"><a href="index.html" target= "_parent"><b><SPAN class="footerlink">Home</SPAN></b></a></TD>');
document.writeln('<TD VALIGN="TOP" ALIGN="left"><A HREF="about.htm" target= "_parent"><SPAN class="footerlink">About Us</SPAN></a></TD>');
document.writeln('<TD VALIGN="TOP" ALIGN="left"><A HREF="photos.htm" target= "_parent"><SPAN class="footerlink">Photos</SPAN></a></TD>');
document.writeln('<TD VALIGN="TOP" ALIGN="left"><A HREF="guestbook.htm" target= "_parent"><SPAN class="footerlink">Guest Book</SPAN></a></TD>');
document.writeln('<TD VALIGN="TOP" ALIGN="left"><A HREF="javascript:contact()"><SPAN class="footerlink">E-mail</SPAN></a></TD>');
document.writeln('</TR>');

document.writeln('</TABLE>');
document.writeln('</center>');
document.writeln('</div>');

function contact()
{
  //hide the mail id from preying eyes!
  mail_str = "mail" ;
  mail_str += "to:bijup@" ;
  mail_str += "thoppil.org" ;
  mail_str += "?subject=Comments for thoppil.org ";
  mail_str += "&body=Reference page: ";
  mail_str += location.href; 
  location.href = mail_str;
}

function feedback()
{
  mail_str = "mailto:dsauthors@fmr.com" ;
  mail_str += "?subject=Comments for dmws.fmr.com: ";
  mail_str += "&body=Reference page: " + document.title;
  mail_str += " at: " + location.href; 
  location.href = mail_str;
}

function f_sendmail(request)
{ 
  var mail_str;
  var body;

  //this fun. is called from the feedback page. Also shows another way to send mail from a Submit Form. 
  //The other method can be seen in the above functions(use location.href).

  mail_str = "mail" ;
  mail_str += "to:iecctokyo@" ;
  mail_str += "hotmail.com" ;
  with (document.World) {
    body = "Name: " + Name.value
    body += ", Email: " + Email.value
    body += ", Home Page: " + HomePage.value
    body += ", Country: " + Country.value
    body += ", Comments: " + Comments.value
  }
  document.forms[0].action=mail_str + "?subject=" + request + "&body=" + body
}

//-->