<!--//
 var NN = (navigator.appName == "Netscape" && !parseInt(navigator.appVersion) > 4);
 var i = 0;
 var changer = '';
 var changeto = '';
 function sideNavOver(menuItem) {
  if (!NN) {
   for (i=1;i<=4;i++) {
    var changer = menuItem + i;
	//IF eLoyalty goes back to origional colors ... remove below and revert the other quoted out dohicky below... did i spell do hicky right? i don't think so.
    //if (i < 3) { changeto = menuItem + 'sideNav'; } else { changeto = menuItem + 'sideNavArrow'; }
	if (i < 3) { changeto = 'sideNavOver'; } else { changeto = 'sideNavArrowOver'; }
    document.getElementById(changer).className=changeto;
   }
  }
 }
 function sideNavOff(menuItem) {
  if (!NN) {
   if (menuItem != sideNavHighlight) {
    for (i=1;i<=4;i++) {
	 changer = menuItem + i;
	  //IF eLoyalty goes back to origional colors ... remove below and revert the other quoted out dohicky below... did i spell do hicky right? i don't think so.
	  if (i < 3) { changeto = 'sideNavOff'; } else { changeto = 'sideNavArrowOff'; }
      document.getElementById(changer).className=changeto;
     //document.getElementById(changer).className="sideNavOff";
    }
   }
  }
 }
function subNavOver(menuItem) {
  if(!NN) {
   for (i=1;i<=2;i++) {
    changer = menuItem + i;
    document.getElementById(changer).className="SubNavOver";
   }
  }
 }
 function subNavOff(menuItem) {
  if(!NN) {
   for (i=1;i<=2;i++) {
    changer = menuItem + i;
    document.getElementById(changer).className='subNavOff';
   }
  }
 }
 function showSub(elem) {
  if(!NN) {
   for (i=1;i<=2;i++) {
    divLayer = elem + 'SubNav' + i;
    document.getElementById(divLayer).style.visibility="visible";
   }
  }
 }
 function hideSub(elem) {
  if(!NN) {
   for (i=1;i<=2;i++) {
    divLayer = elem + 'SubNav' + i;
    document.getElementById(divLayer).style.visibility="hidden";
   }
  }
 }
 function changeImage(imgDocID,imgObjName,imgObjName2) { document.images[imgDocID].src = (imgObjName); }
 
// This Function opens a new window and checks to see if the window already exists
//sireesha
var win=null;
function OpenWindow(mypage,myname,w,h,scroll) 
{
  LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
  TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
  settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable,menubar=yes';

  if(!win || win.closed) 
  {
    win = window.open(mypage,myname,settings);
    if(win.window.focus){ win.window.focus(); }
  }
  else 
  {
    win.close();
    win = null;
    //  "Why", you may ask, "is all this in a setTimeout?"
    //  "Because Macs are sluggish and unresponsive!", I reply.
    //  [sethd] 19th July 2001
    //win = window.open(mypage,myname,settings);
    //if(win.window.focus) { win.window.focus(); }
    setTimeout("win = window.open('"+mypage+"','"+myname+"','"+settings+"');if(win.window.focus) { win.window.focus(); }",400);
  }
}

//-->