<!--
if (!this.YAHOO) {YAHOO = {};}
YAHOO.SMB = { };
YAHOO.SMB.core = {
	isIE : function() {
		return ( document.all ? true : false );
	}
}
YAHOO.SMB.nav = {
	shim : Object,	
	init : function(options) {
		if ( document.getElementById && document.createElement ) {
			if ( YAHOO.SMB.core.isIE() ) {
				this.createShim();
			}
			navRoot = document.getElementById(options.navId);
			for ( var i=0, j=navRoot.childNodes.length; i < j; i++) {
				node = navRoot.childNodes[i];
				if ( node.nodeName == 'LI' ) {
					YAHOO.util.Event.on(node,'mouseover',this.over);
					YAHOO.util.Event.on(node,'mouseout',this.out);
				}
			}
		}
	},
	over : function() {
		YAHOO.util.Dom.addClass(this,'ds_over');
		if ( this.childNodes.length > 2  && YAHOO.SMB.core.isIE() ) {
			var workingUl = this.childNodes[2];
			YAHOO.SMB.nav.shim.style.left = (YAHOO.util.Dom.getX(workingUl)-2)+'px';
			YAHOO.SMB.nav.shim.style.top = YAHOO.util.Dom.getY(workingUl)+'px';
			YAHOO.SMB.nav.shim.style.width = workingUl.offsetWidth+'px';
			YAHOO.SMB.nav.shim.style.height = workingUl.offsetHeight+'px';
			YAHOO.SMB.nav.shim.style.visibility = 'visible';
		}
	},
	out : function() {
		YAHOO.util.Dom.removeClass(this,'ds_over');
		if ( YAHOO.SMB.core.isIE() ) {
			YAHOO.SMB.nav.shim.style.visibility = 'hidden';
		}
	},
	createShim : function() {
		this.shim = document.createElement('iframe');
		this.shim.src = '';
		this.shim.style.position = 'absolute';
		this.shim.style.height = '0';		
		this.shim.style.zIndex = '998';
		this.shim.style.visibility = 'hidden';
		this.shim.style.border = '0';
		this.shim.style.backgroundColor = '#ffffff';
		document.body.appendChild(this.shim);
	}
};
function pageSetup() {
	YAHOO.SMB.nav.init({ navId : 'ds_globalNav' });
}

YAHOO.util.Event.on(window,'load',pageSetup);
//-->