startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav2");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;

function doClearLogin() {
	document.frmLogin.txtusername.value = '';
	document.frmLogin.txtpassword.value = '';
}

function func_bulletin() {
	var randomnumber=Math.floor(Math.random()*100001);		
	var oXMLHTTP = false;
	try
  {  // Firefox, Opera 8.0+, Safari  
  	oXMLHTTP=new XMLHttpRequest();  
  	}
	catch (e)
  {  // Internet Explorer  
  	try
    {    
    	oXMLHTTP=new ActiveXObject("Msxml2.XMLHTTP");    
    	}
  	catch (e)
    {    
    	try
      {      
      	oXMLHTTP=new ActiveXObject("Microsoft.XMLHTTP");      
      	}
    	catch (e)
      {      alert("Your browser does not support AJAX!");    
      	 }    
     }  
     
   } 

 	var pURL = "prand=" + randomnumber;	
		
	var sURL = "includes_static/inc_bulletin.asp?";
	sURL += pURL;	
	
	
	oXMLHTTP.onreadystatechange=function() {
	   if (oXMLHTTP.readyState==4) {
	      userData = oXMLHTTP.responseText;
				if (userData.length!=0) {
					document.getElementById('listBulletin').innerHTML = userData;
				}	      	      
	   }
	}
	oXMLHTTP.open("GET", sURL, true);
	oXMLHTTP.send(null);
}


