﻿<!--//--><![CDATA[//><!--

/* Function leftNav() for Left Navigation */

function uLeftNav(i,n){
	var numberOfSmenus = n;
	t = 1;

	if (document.getElementById){
		for (f=1;f<numberOfSmenus+1;f++) {
			if ( document.getElementById('userln' + Number(f)).className == 'active') {
				document.getElementById('usersm'+f).style.display='none';
				document.getElementById('userln'+f).className ='';
			}	else if (i == f) {
			
				document.getElementById('usersm' + Number(i)).style.display='block';
				document.getElementById('userln' + Number(i)).className ='active';
			}
		}
	}
}
function UserLoginNav() {

//document.all&&
    if (document.all && document.getElementById) 
    {
        navRoot = document.getElementById("userNavMenu");
        for (i=0; i<navRoot.childNodes.length; i++) 
        {
            node = navRoot.childNodes[i];
            if (node.nodeName=="LI") 
            {
                node.onmouseover=function() 
                {
                    this.className+=" sfhover";
                }
                node.onmouseout=function() 
                {
                    this.className=this.className.replace(" sfhover", "");
                }
            }
        }
     }
  }

starter = function() { 
var i ;
var n;  
    uLeftNav(i,n);
    UserLoginNav();
}

if (window.addEventListener || document.addEventListener)
{
    window.addEventListener("load", starter, false)
}
else if (window.attachEvent)
{
    window.attachEvent("onload", starter)
}
else if (document.getElementById && document.all)
    window.onload=starter


//--><!]]>

 


