ieHover = function() {

var ieULs = document.getElementById('nav').getElementsByTagName('ul');
for (j=0; j<ieULs.length; j++) {
ieULs[j].innerHTML = ('<iframe src="about:blank" scrolling="no" frameborder="0"></iframe>' + ieULs[j].innerHTML);
var ieMat = ieULs[j].firstChild;
ieMat.style.width=ieULs[j].offsetWidth+"px";		
ieMat.style.height=ieULs[j].offsetHeight+"px";
ieULs[j].style.zIndex="99"; }

var ieLIs = document.getElementById('nav').getElementsByTagName('li');
for (var i=0; i<ieLIs.length; i++) 
if (ieLIs[i]) {
ieLIs[i].onmouseover=function() {this.className+=" iehover";}
ieLIs[i].onmouseout=function() {this.className=this.className.replace(' iehover', '');}}}

ieHover2 = function() {

if( document.getElementById('nav2') )
{
ieULs = document.getElementById('nav2').getElementsByTagName('ul');
for (j=0; j<ieULs.length; j++) {
ieULs[j].innerHTML = ('<iframe src="about:blank" scrolling="no" frameborder="0"></iframe>' + ieULs[j].innerHTML);
ieMat = ieULs[j].firstChild;
ieMat.style.width=ieULs[j].offsetWidth+"px";		
ieMat.style.height=ieULs[j].offsetHeight+"px";
ieULs[j].style.zIndex="99"; }
/** IE script to change class on mouseover **/

ieLIs = document.getElementById('nav2').getElementsByTagName('li');
for (var i=0; i<ieLIs.length; i++) 
if (ieLIs[i]) {
ieLIs[i].onmouseover=function() {this.className+=" iehover";}
ieLIs[i].onmouseout=function() {this.className=this.className.replace(' iehover', ''); }}}
}


if (window.attachEvent) window.attachEvent('onload', ieHover);

if (window.attachEvent) window.attachEvent('onload', ieHover2);



