// Background Flicker Function
(function(){

	/*Use Object Detection to detect IE6*/
	var  m = document.uniqueID /*IE*/
	&& document.compatMode  /*>=IE6*/
	&& !window.XMLHttpRequest /*<=IE6*/
	&& document.execCommand ;
	
	try{
		if(!!m){
			m("BackgroundImageCache", false, true) /* = IE6 only */ 
		}
		
	}catch(oh){};
})();

// Menu Settings
function imenus_data0() {
	
	this.main_is_horizontal = false
	this.menu_showhide_delay = 150
	this.show_subs_onclick = false
	this.hide_focus_box = false
	
	/***********************************************
	Global Menu Styles
	************************************************/
	
	//Main Menu
	
	this.main_container_styles = "background-color:#90d134; "
	this.main_item_styles = "width:181px; color:#ffffff; text-align:left; font-family:Verdana; font-size:12px; font-weight:bold; text-decoration:none; border-style:dashed; border-color:#ffffff; border-width:0px 0px 1px; "
	this.main_item_hover_styles = "background-color:#a41a11; "
	this.main_item_active_styles = ""
	this.main_graphic_item_styles = ""
	
	//Sub Menu
	
	this.subs_ie_transition_show = "filter:progid:DXImageTransform.Microsoft.Fade(duration=0.3);"
	
	this.subs_container_styles = "background-color:#a41a11; "
	this.subs_item_styles = "width:181px; background-color:#a41a11; color:#ffffff; text-align:left; font-family:Verdana; font-size:12px; font-weight:normal; text-decoration:none; border-style:dashed; border-color:#ffffff; border-width:0px 0px 1px; padding:4px 5px 6px; "
	this.subs_item_hover_styles = "background-color:#71110b; color:#ffffff;"
	this.subs_item_active_styles = ""
	
}

/** IE <select> bug fix
ieHover = function() {
var ieULs = document.getElementById('nav').getElementsByTagName('ul');
/** IE script to cover <select> elements with <iframe>s **
for (j=0; j<ieULs.length; j++) {
ieULs[j].innerHTML = ('<iframe src="about:blank" scrolling="no" frameborder="0"></iframe>' + ieULs[j].innerHTML);
/*ieULs[j].innerHTML = ('<iframe id="iePad' + j + '" src="about:blank" scrolling="no" frameborder="0" style=""></iframe>' + ieULs[j].innerHTML);
	var ieMat = document.getElementById('iePad' + j + '');*
//	var ieMat = ieULs[j].childNodes[0];  alert(ieMat.nodeName); // also works...
	var 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 **
	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', '');}
	}}
if (window.attachEvent) window.attachEvent('onload', ieHover);
/** End **/