
//e-Mail for Template
function sendmail(root)
{var imagelink = root + "/image.gif"; 
 //   else   { var imagelink = "../images/image.gif"; }
//if (root)  { var imagelink = "images/image.gif"; }
//    else   { var imagelink = "../images/image.gif"; }
var user = "username";
var domain= "domain.com";
document.write('<a href=\"mailto:' + user + '@' + domain + '\">');
document.write('<img src=' + imagelink + ' border=\"0\" alt=\"Send Something Already !!!\">' + '</a>');}


//Popup Pages
function popUp(URL)
   {day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=401,height=322,left=200,top=125');");}
function statusOut()
   {self.status='Enjoy';}


//MouseOver with AceExpert
function VersionNavigateur(Netscape, Explorer) {
  if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||
      (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
    return true;
else return false;}


//Show and Hide Menus
// Show and Hide Mouseover divs
function showIt(layerno){
if(document.layers){
 //thisbrowser="NN4";
document.layers[layerno].style.visibility='visible';}
 if(document.all){
//thisbrowser="ie"
document.all[layerno].style.visibility='visible'}
if(document.getElementById){
//thisbrowser="NN6";
document.getElementById(layerno).style.visibility = 'visible';}}
function hideIt(layerno){
if(document.layers){
 //thisbrowser="NN4";
document.layers[layerno].style.visibility='hidden';}
if(document.all){
//thisbrowser="ie"
document.all[layerno].style.visibility='hidden'}
if(document.getElementById){
//thisbrowser="NN6";
document.getElementById(layerno).style.visibility='hidden';}}

