var menuArray     = new Array("menu2","menu3");
var DivPointer    = new Array();
var menuPointer   = new Array();
var imgArray      = new Array();
var runningNS     = (navigator.userAgent.indexOf('Netscape') != -1);
var mf            = window.parent.frames['mainFrame'];
	
function initDate(){
  dateAreaPTR     = document.getElementsByName("dateArea")[0];
  var now      = new Date();
  var day      = now.getDate();
  var year     = now.getFullYear();
  var dow      = now.getDay();
  var dayNames = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
  var today    = dayNames[now.getDay()];
  var monthNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
  var month    =  monthNames[now.getMonth( )];
       
  var display_date = today + ' -- ' + month + " " + day + ", " + year;
  dateAreaPTR.innerHTML = display_date;
  dateAreaPTR.innerText = display_date;

}

function printAnswer() {
  contentFrame = window.parent.frames['answerContent']; 	
  contentFrame.focus();
  contentFrame.print();
}

function openNewWin(theURL,options) {
   windowName = theURL.split('.')[0];
   window.open(theURL,'TLG_Answers',options);
}
      
function startHover(thisText) {
   thisText.style.cursor = 'hand';
   thisText.style.color  = '#ffff00';
}  

function endHover(thisText) {
   thisText.style.cursor = 'pointer';
   thisText.style.color  = '#ffffcc';
}  

function overLink(thisText) {
   thisText.style.cursor = 'hand';
   thisText.style.color  = '#0000ff';
   thisText.style.textDecoration = 'underline';
}  

function outLink(thisText) {
   thisText.style.cursor = 'pointer';
   thisText.style.color  = '#0000ff';
   thisText.style.textDecoration = 'none';
}  

function overText(thisText, thisColor, thisDec) {
   thisText.style.cursor = 'hand';
   thisText.style.color  = thisColor;
   thisText.style.textDecoration = thisDec;
}  

function outText(thisText, thisColor, thisDec) {
   thisText.style.cursor = 'pointer';
   thisText.style.color  = thisColor;
   thisText.style.textDecoration = thisDec;
}  
