//****ToolBar Move Over
//
function tbMOverBlk(tbarTD, tiptxt){if (!tbarTD.contains(event.fromElement)) {tbarTD.style.backgroundColor='#0000AA';window.status=tiptxt;}}
function tbMOutBlk(tbarTD, tiptxt){if (!tbarTD.contains(event.toElement)) {tbarTD.style.backgroundColor='#000000';window.status=tiptxt;}}

function tbMOverDBlu(tbarTD, tiptxt){if (!tbarTD.contains(event.fromElement)) {tbarTD.style.backgroundColor='#003399';window.status=tiptxt;}}
function tbMOutDBlu(tbarTD, tiptxt){if (!tbarTD.contains(event.toElement)) {tbarTD.style.backgroundColor='#000060';window.status=tiptxt;}}

//****SideBar Move Over
//
function sbMOverGrn(sbarTD, tiptxt){if (!sbarTD.contains(event.fromElement)) {sbarTD.style.backgroundColor='#338888';window.status=tiptxt;}}
function sbMOutGrn(sbarTD, tiptxt){if (!sbarTD.contains(event.toElement)) {sbarTD.style.backgroundColor='#339988';window.status=tiptxt;}}

function sbMOverBlu(sbarTD, tiptxt){if (!sbarTD.contains(event.fromElement)) {sbarTD.style.backgroundColor='#0566AA';window.status=tiptxt;}}
function sbMOutBlu(sbarTD, tiptxt){if (!sbarTD.contains(event.toElement)) {sbarTD.style.backgroundColor='#0566FF';window.status=tiptxt;}}

function sbMOverYlw(sbarTD, tiptxt){if (!sbarTD.contains(event.fromElement)) {sbarTD.style.backgroundColor='#eeffcc';window.status=tiptxt;}}
function sbMOutYlw(sbarTD, tiptxt){if (!sbarTD.contains(event.toElement)) {sbarTD.style.backgroundColor='#eeeecc';window.status=tiptxt;}}

function sbMOverGry(sbarTD, tiptxt){if (!sbarTD.contains(event.fromElement)) {sbarTD.style.backgroundColor='#d0d0d0';window.status=tiptxt;}}
function sbMOutGry(sbarTD, tiptxt){if (!sbarTD.contains(event.toElement)) {sbarTD.style.backgroundColor='#f0f0f0';window.status=tiptxt;}}

//****FootBar Move Over
//
function footMOverRed(footTD, tiptxt){if (!footTD.contains(event.fromElement)) {footTD.style.backgroundColor='#990000';window.status=tiptxt;}}
function footMOutRed(footTD, tiptxt){if (!footTD.contains(event.toElement)) {footTD.style.backgroundColor='#0000AA';window.status=tiptxt;}}

//****Open New Window
//
function newwin(url,SecWin){second=window.open(url,"SecWin","toolbar=yes,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=730,height=560");
second.focus();}
function newwinmenu(page){second=window.open(page,"Show_image","toolbar=yes,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=730,height=550");}

//Combine weekday, monthg and day in a string and call strDate which can be 
//used elsewhere without compatible problems.
//
function dispdate(){
   var month = new Array(12);
   var day = new Array(7);
   month[0]="January"
   month[1]="February"
   month[2]="March"
   month[3]="April"
   month[4]="May"
   month[5]="June"
   month[6]="July"
   month[7]="August"
   month[8]="September"
   month[9]="October"
   month[10]="November"
   month[11]="December"
   day[0]="Sunday"
   day[1]="Monday"
   day[2]="Tuesday"
   day[3]="Wednesday"
   day[4]="Thursday"
   day[5]="Friday"
   day[6]="Saturday"
   var today  = new Date();
   var aDay   = today.getDay();
   var aMonth = today.getMonth();
   var aDate  = today.getDate();
   var aYear = today.getYear();
   var strDate = day[aDay] + ", " + month[aMonth] + " " + aDate
   document.write(strDate);
}

function ScriptLink(Domain, User, Show){
   if ((Show.length == 0) || (Show.indexOf('@')+1)) {
      document.write("<A HREF=" + "'mail" + "to:" + User + "@" + Domain + "'>" + User + "@" + Domain + "</A>"); }
   else {document.write("<A HREF=" + "'mail" + "to:" + User + "@" + Domain + "'>" + Show + "</A>"); }
} 

