/* $id: xenos.js v 1.01 02/02/2007 Symphony Systems Exp $
'------------------------------------------------------------------------
' Name: xenos.js
' Creation Date: 02/02/2007
' Copyright: (c) 2007 Symphony Systems
' Written by: Sean Lawless
' Purpose: javascript support code
' Usage: Include
' Arguments:
'
' Updates:
' Date       Author         Purpose
'
'------------------------------------------------------------------------*/

function OpenNewWindow(theURL,winName,features){
  window.open(theURL,winName,features);
}

function linkTrigger(statusmsg){
  if (!statusmsg){statusmsg = '';}
    window.status = statusmsg;
}

sfHover = function() {
  var sfEls = document.getElementById("nav").getElementsByTagName("LI");
  for (var i=0; i<sfEls.length; i++) {
    sfEls[i].onmouseover=function() {
      this.className+=" sfhover";
    }
    sfEls[i].onmouseout=function() {
      this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
    }
  }
}
// only load the sfHover function in win/ie
if (window.attachEvent) window.attachEvent("onload", sfHover);