stuHover = function() {
	var cssRule;
	var newSelector;
	for (var i = 0; i < document.styleSheets.length; i++)
		for (var x = 0; x < document.styleSheets[i].rules.length ; x++)
			{
			cssRule = document.styleSheets[i].rules[x];
			if (cssRule.selectorText.indexOf("LI:hover") != -1)
			{
				 newSelector = cssRule.selectorText.replace(/LI:hover/gi, "LI.iehover");
				document.styleSheets[i].addRule(newSelector , cssRule.style.cssText);
			}
		}
	var getElm = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<getElm.length; i++) {
		getElm[i].onmouseover=function() {
			this.className+=" iehover";
		}
		getElm[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", stuHover);
 
 
</script>
</head>

<body>
<SCRIPT language=javascript>
function show(obj,maxg,obj2)
{
  if(obj.style.pixelHeight<maxg)
  {
    obj.style.pixelHeight+=maxg/10;
  obj.filters.alpha.opacity+=20;

  obj2.background="img/b1.gif";
 
    if(obj.style.pixelHeight==maxg/10)
    obj.style.display='block';
	obj2.style.color="#ffffff";
  myObj=obj;
  mymaxg=maxg;
  myObj2=obj2;  
  
  setTimeout('show(myObj,mymaxg,myObj2)','60');
  }
}
function hide(obj,maxg,obj2)
{
  if(obj.style.pixelHeight>0)
  {
    if(obj.style.pixelHeight==maxg/5)
    obj.style.display='none';
    obj.style.pixelHeight-=maxg/5;
  obj.filters.alpha.opacity-=10;
  obj2.background="img/b2.gif";
obj2.style.color="#5F5046";
  myObj=obj;
  mymaxg=maxg
  myObj2=obj2;
  setTimeout('hide(myObj,mymaxg,myObj2)','60');
  }
  else
    if(whichContinue)
    whichContinue.click();
}
function chang1(obj,maxg,obj2)
{
  if(obj.style.pixelHeight)
  {
    hide(obj,maxg,obj2);
  nopen='';
  whichcontinue='';
  }
  else
    if(nopen)
  {
    whichContinue=obj2;
     nopen.click();
  }
  else
  {
    show(obj,maxg,obj2);
    nopen=obj2;
    whichContinue='';
  }
}function chang2(obj,maxg,obj2)
{
  if(obj.style.pixelHeight)
  {
    hide(obj,maxg,obj2);
  nopen='';
  whichcontinue='';
  }
  else
    if(nopen)
  {
    whichContinue=obj2;
      nopen.click();
  }
  else
  {
    show(obj,maxg,obj2);
    nopen=obj2;
    whichContinue='';
  }
}
function chang3(obj,maxg,obj2)
{
  if(obj.style.pixelHeight)
  {
    hide(obj,maxg,obj2);
  nopen='';
  whichcontinue='';
  }
  else
    if(nopen)
  {
    whichContinue=obj2;
      nopen.click();
  }
  else
  {
    show(obj,maxg,obj2);
    nopen=obj2;
    whichContinue='';
  }
}