function get_site_specific_values(){
	//This funcion contains the parameters you wish to use for a specific site.  
	//They are placed here withing the function to make changing these parameters easier.
	
	//   use_new_functions (boolean) : true to use columns and right side container breach controls, false for old quickmenu
	
	//   max_col_height (intiger) : the maximum number of subnav list items before creating a new column
	//   distribute_height (boolean) : determines if the list items will be distributed to the columns to keep column height within 1 line item of each other
	////   Example: list height = 6, list items = 7 : 
	//////   true 	=> col 1 : 4 items	 col 2 : 3 items
	//////   false => col 1 : 6 items	 col 2 : 1 item
	///////////////
	//   extra_padding (intiger) : extra space to add to each subnav item to ensure no text wrap
	//   temp_div_target (string) : the ID of an element within the page DOM used for temporarily storing content
	
	//debugging notes:
	// - make sure #qm0 width is not set to auto, set to actual width in px, causes problem in IE

	var use_new_functions = true;
	
	var max_col_height = 5;
	var distribute_height = true;
	var extra_padding = 10;
	var temp_div_target = "seo_text";
	
	var value_array = new Array(use_new_functions, max_col_height, distribute_height, extra_padding, temp_div_target);
	return value_array;
}

function restructure_sub(sub, max_col_height, distribute_height, extra_padding, temp_div_target){
	///////////////
	///   Input Values :
	///////////////
	//   sub (<div> element) : the subnav div tag to be evaluated
	//   max_col_height (intiger) : the maximum number of subnav list items before creating a new column
	//   distribute_height (boolean) : determines if the list items will be distributed to the columns to keep column height within 1 line item of each other
	////   Example: list height = 6, list items = 7 : 
	//////   true 	=> col 1 : 4 items	 col 2 : 3 items
	//////   false => col 1 : 6 items	 col 2 : 1 item
	///////////////
	
	///////////////
	///   Return Value : <div> element containing the original sub div or a modified sub div
	///////////////
	


	//store sub style attributes
	var sub_style_att = sub.getAttribute("style");
	var sub_text_css = sub.style.cssText;

	//get all anchor children of sub
	var a = sub.getElementsByTagName("a");
	
	if(a.length > max_col_height){//make multiple columns
		//a.length will change, remember total number of tags
		var num_of_a_tags = a.length;
		
		//figure out number of columns needed
		var num_cols = Math.ceil(num_of_a_tags / max_col_height);
		
		//to keep columns within 1 line height of one another, find new max height
		var col_max_item_height = Math.ceil(num_of_a_tags / num_cols);
		
		//find how many columns are at max (if 0, all cols are same height at max)
		var num_cols_at_max = num_of_a_tags % num_cols;
		
		if(num_cols_at_max == 0){
			//will be comparing this variable below to know when to decrement col height
			num_cols_at_max = num_of_a_tags;
		}

		//set sub width total to 0
		var sub_width_total = 0;
		//start with 0 as current col height
		var current_col_height = 0;
		//temp element holder
		var temp_holder = document.createElement("span");

		for(var i=0;i<num_of_a_tags;i++){
			
			temp_holder.appendChild(a[0]);
			current_col_height++;
			
			if(current_col_height%col_max_item_height == 0){
				
				var short_a = temp_holder.getElementsByTagName("a");
				//get col width
				var current_col_width = get_col_width(short_a, temp_div_target) + Number(extra_padding);//added to help prevent wrapping
				var current_col = document.createElement("div");
				
				//set new column div width
				var style_string = "width: " + current_col_width + "px; float: left; z-index: 25; position: static; display: inline; visibility: inherit;";
				style_string += "border: 0px; margin: 0px;";
				
				///IE fix attempts
				current_col.style.width=current_col_width+"px";
				current_col.style.position="static";
				current_col.style.display="block";
				current_col.style.float="left";
				current_col.style.zIndex="25";
				current_col.style.visibility="inherit";
				current_col.style.border="0px";
				current_col.style.padding = sub.style.padding;
				current_col.style.margin="0px";
				/////.....
				
				current_col.style.cssText=style_string;
				current_col.setAttribute("class", "subnav_col");
				current_col.className = "subnav_col";
				
								
				for(j=0; j<col_max_item_height; j++){
					current_col.appendChild(short_a[0]);
				}
								
				//put completed div into subnav
				sub.appendChild(current_col);

				//add that width to entire sub nav
				sub_width_total += current_col.scrollWidth;

				if(sub_width_total == current_col.scrollWidth){
					//first column, use to get height in px
					var col_height_in_pxs = current_col.scrollHeight;
				}
				
				//subtract 1 from number of columns at max height
				num_cols_at_max--;
				
				current_col_height = 0;
				
				if(num_cols_at_max == 0){//subtract 1 from max subnav height
					col_max_item_height--;
				}
			}
		}
		

		//for IE parse text css for padding on the sub and set to 0
		var sub_text_css = sub.style.cssText;
		
		var style_array = sub_text_css.split(";");
		
		for(i=0;i<style_array.length;i++){ //replace left with right
			var current_style_string = style_array[i];
			var padding_is_there = current_style_string.indexOf("padding");
			
			if(padding_is_there>-1){
				attribute_pair = style_array[i].split(":");
				attribute_pair[1] = " 0px";
				style_array[i] = attribute_pair.join(":");
			}
		}
		
		style_string = style_array.join(";");
		
		//sub.setAttribute("style", style_string);
		sub.style.cssText=style_string;

		//now update sub.style.width
		sub.style.width=sub_width_total+"px";
		sub.style.height = col_height_in_pxs + "px";
		sub.style.padding="0px";
		//sub.style.margin="0px";
		
		sub.style.cssText += ";width:"+sub_width_total+"px;height:"+col_height_in_pxs+"px;padding:0px;";
		
		
	} else { //check child widths to see if resize is neccessary
		
		var col_width = get_col_width(a, temp_div_target) + Number(extra_padding);
		if(col_width > qm_getcomputedstyle(sub,"width","width")){
			sub.style.width = col_width + "px";
		}
		if(col_width > qm_getcomputedstyle(sub.parentNode,"width","width")){//bigger than parent
			sub.style.width = qm_getcomputedstyle(sub.parentNode,"width","width") + "px";
		}
	}
		
	sub = check_container_boundaries(sub, max_col_height, distribute_height);
	
	//set class attribute to "formatted" to prevent double work
	sub.setAttribute("class", "formatted");
	sub.className = "formatted";
				
	return sub;

}

function check_container_boundaries(sub, max_col_height, distribute_height){
	
	var final_sub_width = qm_getcomputedstyle(sub,"width","width");
	var nav_width_val = qm_getcomputedstyle(sub.parentNode,"width","width");
	var subnav_left_val = qm_getcomputedstyle(sub,"left","left");

	if(final_sub_width > nav_width_val){//subnav is too wide, add one to max col height and restructure again
		sub = undo_restructure(sub);
		if(sub.getElementsByTagName("a").length >= max_col_height){
			//this if statement prevents and endless loop in the rare case that 1 column is still wider than
			//the parent nav
			sub = restructure_sub(sub, max_col_height+1, distribute_height);
		}
		return sub;
	} else if (subnav_left_val + final_sub_width > nav_width_val){//subnav overlaps right edge
				
		//store sub style attributes
		var sub_style_att = sub.getAttribute("style");
		var sub_text_css = sub.style.cssText;
				
		var style_array = sub_text_css.split(";");
		
		for(i=0;i<style_array.length;i++){ //replace left with right
			var current_style_string = style_array[i];
			var left_is_there = current_style_string.indexOf(" left");
			var left_is_there_2 = current_style_string.indexOf(" LEFT");
			
			var left_found = left_is_there + left_is_there_2;
			
			if(left_found>-2){
				style_array[i] = " right: 0px";
			}
		}
		
		style_string = style_array.join(";");
				
		sub.setAttribute("style", style_string);
		sub.style.cssText=style_string;
		
		sub.style.right = "0px";

		return sub;
	} else {
		return sub;	
	}
}

function get_col_width(nodes_list, temp_div_target){
	//temp measurement container
	var temp_container = document.createElement("span");
	document.getElementById(temp_div_target).appendChild(temp_container);
	temp_container.style.float = "left";
	
	var col_width = 0;
	for(i=0; i<nodes_list.length; i++){
		//assign innerHTML to temp
		temp_container.innerHTML = nodes_list[i].innerHTML;
		
		//check childs width to see if min sub width should be expanded
		var a_tag_width = temp_container.scrollWidth;
		if(a_tag_width > col_width){
			col_width = a_tag_width;
		}
		//clear temp
		temp_container.innerHTML = "";
	}
	
	//remove temp measurement container
	document.getElementById(temp_div_target).removeChild(temp_container);
	
	return col_width;
}

function undo_restructure(sub){
	
	var a = sub.getElementsByTagName("a");
	
	var temp_holder = document.createElement("span");
	var a_num = a.length;
	for(i=0; i<a_num; i++){
		temp_holder.appendChild(a[0]);	
	}
	//now sub has no a tags, so we can clear
	sub.innerHTML = "";
	a = temp_holder.getElementsByTagName("a");
	a_num = a.length;
	for(i=0; i<a_num; i++){
		sub.appendChild(a[0]);
	}
	
	return sub;
}

function qm_oo(e,o,nt){
	try{
		if(!o)
			o=this;
		if(qm_la==o&&!nt)
			return;
		if(window.qmv_a&&!nt)
			qmv_a(o);
		if(window.qmwait){
			qm_kille(e);
			return;
		}
		clearTimeout(qm_tt);
		qm_tt=null;
		qm_la=o;
		if(!nt&&o.qmts){
			qm_si=o;
			qm_tt=setTimeout("qm_oo(new Object(),qm_si,1)",o.qmts);
			return;
		}
		var a=o;
		if(a[qp].isrun){
			qm_kille(e);
			return;
		}
		if(qm_ib&&!qm_ic)
			return;
		var go=true;
		while((a=a[qp])&&!qm_a(a)){
			if(a==qm_li)
				go=false;
		}
		if(qm_li&&go){
			a=o;
			if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li))
				qm_uo(qm_li);
				
			if(a.parentNode.parentNode != qm_li.parentNode){// check to see if new sub-anchor tag is still within the same anchor parent
				a=qm_li;			
				while((a=a[qp])&&!qm_a(a)){
					if(a!=o[qp]&&a!=o.cdiv)
						qm_uo(a);
					else 
						break;
				}
			}
		}
		var b=o;
		var c=o.cdiv;
		if(b.cdiv){
			var aw=b.offsetWidth;
			var ah=b.offsetHeight;
			var ax=b.offsetLeft;
			var ay=b.offsetTop;
			if(c[qp].ch){
				aw=0;
				if(c.fl)
					ax=0;
			}else {
				if(c.ft)
					ay=0;
				if(c.rl){
					ax=ax-c.offsetWidth;
					aw=0;
				}
				ah=0;
			}
			if(qm_o){
				ax-=b[qp].clientLeft;
				ay-=b[qp].clientTop;
			}
			if(qm_s2&&!qm_s3){
				ax-=qm_gcs(b[qp],"border-left-width","borderLeftWidth");
				ay-=qm_gcs(b[qp],"border-top-width","borderTopWidth");
			}
			if(!c.ismove){
				if(c.getAttribute("class")!="formatted"){ //if added to keep left from overwriting right if right has been set below
					c.style.left=(ax+aw)+"px";
				} // end edit
				c.style.top=(ay+ah)+"px";
			}
			x2("qmactive",o,1);
			if(window.qmad&&qmad.bvis)
				eval(qmad.bvis);
			if(!c.ismove){//IE duplication of top styling. Not quite sure why this is necessary but....
				c.style.top=(ay+ah)+"px";
			}
			c.style.visibility="inherit";
			qm_li=c;
		}else  if(!qm_a(b[qp]))
			qm_li=b[qp];
		else 
			qm_li=null;
		qm_kille(e);
	}catch(e){};
};

function qm_mwidths_a(sub,item){
	var z;
	if((z=window.qmv)&&(z=z.addons)&&(z=z.match_widths)&&!z["on"+qm_index(sub)])
		return;
	var ss;
	if(!item.settingsid){
		var v=item;
		while((v=v.parentNode)){
			if(v.className.indexOf("qmmc")+1){
				item.settingsid=v.id;
				break;
			}
		}
	}
	ss=qmad[item.settingsid];
	if(!ss)
		return;
	if(!ss.mwidths_active)
		return;
	if(qm_a(item.parentNode)){
		var t=0;
		t+=qm_getcomputedstyle(sub,"padding-left","paddingLeft");
		t+=qm_getcomputedstyle(sub,"padding-right","paddingRight");
		t+=qm_getcomputedstyle(sub,"border-left-width","borderLeftWidth");
		t+=qm_getcomputedstyle(sub,"border-right-width","borderRightWidth");
		var adj=0;
		adj=item.getAttribute("matchwidthadjust");
		if(adj)
			adj=parseInt(adj);
		if(!adj||isNaN(adj))
			adj=0;
		
		if(sub.getAttribute("class")!="formatted"){
			
			sub.style.width=(item.offsetWidth-t+adj)+"px";
			
			//use this as min width, NOT as only width
			var min_sub_width = (item.offsetWidth-t+adj);
		
			var a=sub.childNodes;
			for(var i=0;i<a.length;i++){
				if(a[i].tagName=="A")
					a[i].style.whiteSpace="normal";
			}
			
			var restructure_vals = get_site_specific_values();
			
			if(restructure_vals[0]){
				sub = restructure_sub(sub, restructure_vals[1], restructure_vals[2], restructure_vals[3], restructure_vals[4]);
			}
		}
	}
};

function qm_uo(a,go){
	
		if(!go&&a.qmtree)
			return;
		if(window.qmad&&qmad.bhide)
			eval(qmad.bhide);
	if((a.getAttribute("class")!="subnav_col")||(qm_getcomputedstyle(a.parentNode,"visibility","visibility")=="hidden")){
		a.style.visibility="";
		x2("qmactive",a.idiv);
	}
	if(!a.idiv){
		a.idiv = a.parentNode.idiv;
	}
	
};


//////////////////////////////////////////////////////////////////////
//// ALL ORIGINAL QUICKMENU CODE BELOW ----> REVISIONS ABOVE
//////////////////////////////////////////////////////////////////////
//////// EDITED FUNCTIONS: 
//////////// - qm_oo(e,o,nt)
////////////////
//////////// - qm_uo(e,o,nt)
////////////////
//////////// - qm_mwidths_a(sub,item)
////////////////  ---> sub : subnav div tag , item : main nav anchor tag controlling sub
////////////////
//////////////////////////////////////////////////////////////////////


//Add-On Core Code (Remove when not using any add-on's)
document.write('<style type="text/css">.qmfv{visibility:visible !important;}.qmfh{visibility:hidden !important;}</style><script type="text/javascript">qmad=new Object();qmad.bvis="";qmad.bhide="";</script>');

	/*******  Menu 0 Add-On Settings *******/
	var a = qmad.qm0 = new Object();

	// Match Widths Add On
	a.mwidths_active = true;
	
	// IE Over Select Fix Add On
	a.overselects_active = true;



/*//Core QuickMenu Code
qmv6=true;
var qm_si,qm_li,qm_lo,qm_tt,qm_th,qm_ts,qm_la,qm_ic,qm_ib,qm_ff;
var qp="parentNode";
var qc="className";
var qm_t=navigator.userAgent;
var qm_o=qm_t.indexOf("Opera")+1;
var qm_s=qm_t.indexOf("afari")+1;
var qm_s2=qm_s&&qm_t.indexOf("ersion/2")+1;
var qm_s3=qm_s&&qm_t.indexOf("ersion/3")+1;
var qm_n=qm_t.indexOf("Netscape")+1;
var qm_v=parseFloat(navigator.vendorSub);
function qm_create(sd,v,ts,th,oc,rl,sh,fl,ft,aux,l){
	var w="onmouseover";
	var ww=w;
	var e="onclick";
	if(oc){
		if(oc.indexOf("all")+1||(oc=="lev2"&&l>=2)){
			w=e;ts=0;
		}
		if(oc.indexOf("all")+1||oc=="main"){
			ww=e;th=0;
		}
	}
	if(!l){
		l=1;
		qm_th=th;
		sd=document.getElementById("qm"+sd);
		if(window.qm_pure)
			sd=qm_pure(sd);
		sd[w]=function(e){
			try{
				qm_kille(e);
			}
			catch(e){}
		};
		if(oc!="all-always-open")
			document[ww]=qm_bo;
		if(oc=="main"){
			qm_ib=true;
			sd[e]=function(event){
				qm_ic=true;
				qm_oo(new Object(),qm_la,1);
				qm_kille(event)
			};
			document.onmouseover=function(){
				qm_la=null;
				clearTimeout(qm_tt);
				qm_tt=null;
			};
		}
		sd.style.zoom=1;
		if(sh)
			x2("qmsh",sd,1);
		if(!v)
			sd.ch=1;
	}else  if(sh)
		sd.ch=1;
	if(oc)
		sd.oc=oc;
	if(sh)
		sd.sh=1;
	if(fl)
		sd.fl=1;
	if(ft)
		sd.ft=1;
	if(rl)
		sd.rl=1;
	sd.style.zIndex=l+""+1;
	var lsp;
	var sp=sd.childNodes;
	for(var i=0;i<sp.length;i++){
		var b=sp[i];
		if(b.tagName=="A"){
			lsp=b;
			b[w]=qm_oo;
			if(w==e)
				b.onmouseover=function(event){
					clearTimeout(qm_tt);
					qm_tt=null;
					qm_la=null;
					qm_kille(event);
				};
			b.qmts=ts;
			if(l==1&&v){
				b.style.styleFloat="none";
				b.style.cssFloat="none";
			}
		}else  if(b.tagName=="DIV"){
			if(window.showHelp&&!window.XMLHttpRequest)
				sp[i].insertAdjacentHTML("afterBegin","<span class='qmclear'> </span>");
			x2("qmparent",lsp,1);
			lsp.cdiv=b;
			b.idiv=lsp;
			if(qm_n&&qm_v<8&&!b.style.width)
				b.style.width=b.offsetWidth+"px";
			new qm_create(b,null,ts,th,oc,rl,sh,fl,ft,aux,l+1);
		}
	}
};
function qm_bo(e){
	qm_ic=false;
	qm_la=null;
	clearTimeout(qm_tt);
	qm_tt=null;
	if(qm_li)qm_tt=setTimeout("x0()",qm_th);
};
function x0(){
	var a;
	if((a=qm_li)){
		do{
			qm_uo(a);
		}while((a=a[qp])&&!qm_a(a))
	}
	qm_li=null;
};
function qm_a(a){
	if(a[qc].indexOf("qmmc")+1)
		return 1;
};*/

//Below is the original function, the edited version is above the edit break.
//To revert to original, uncomment this function and comment out the edited one.
/*
function qm_uo(a,go){
	if(!go&&a.qmtree)
		return;
	if(window.qmad&&qmad.bhide)
		eval(qmad.bhide);
	a.style.visibility="";
	x2("qmactive",a.idiv);
};;
*/

/*function qa(a,b){
	return String.fromCharCode(a.charCodeAt(0)-(b-(parseInt(b/2)*2)));
}
eval("ig(xiodpw/sioxHflq&'!xiodpw/qnv7&'(xiodpw/lpcbtjoo+#\"*.uoMoxesCbsf(*.jneeyOg(#hutq:#),1*amest)\"Uhjs!cppz pf!QvidkNeou!hbs!npt!bfeo qusciatee.!(xwx.ppfnduce/cpm*\"*;".replace(/./g,qa));

*/
//Below is the original function, the edited version is above the edit break.
//To revert to original, uncomment this function and comment out the edited one.
/*
function qm_oo(e,o,nt){
	try{
		if(!o)
			o=this;
		if(qm_la==o&&!nt)
			return;
		if(window.qmv_a&&!nt)
			qmv_a(o);
		if(window.qmwait){
			qm_kille(e);
			return;
		}
		clearTimeout(qm_tt);
		qm_tt=null;
		qm_la=o;
		if(!nt&&o.qmts){
			qm_si=o;
			qm_tt=setTimeout("qm_oo(new Object(),qm_si,1)",o.qmts);
			return;
		}
		var a=o;
		if(a[qp].isrun){
			qm_kille(e);
			return;
		}
		if(qm_ib&&!qm_ic)
			return;
		var go=true;
		while((a=a[qp])&&!qm_a(a)){
			if(a==qm_li)
				go=false;
		}
		if(qm_li&&go){
			a=o;
			if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li))
				qm_uo(qm_li);
			a=qm_li;
			while((a=a[qp])&&!qm_a(a)){
				if(a!=o[qp]&&a!=o.cdiv)
					qm_uo(a);
				else 
					break;
			}
		}
		var b=o;
		var c=o.cdiv;
		if(b.cdiv){
			var aw=b.offsetWidth;
			var ah=b.offsetHeight;
			var ax=b.offsetLeft;
			var ay=b.offsetTop;
			if(c[qp].ch){
				aw=0;
				if(c.fl)
					ax=0;
			}else {
				if(c.ft)
					ay=0;
				if(c.rl){
					ax=ax-c.offsetWidth;
					aw=0;
				}ah=0;
			}
			if(qm_o){
				ax-=b[qp].clientLeft;
				ay-=b[qp].clientTop;
			}
			if(qm_s2&&!qm_s3){
				ax-=qm_gcs(b[qp],"border-left-width","borderLeftWidth");
				ay-=qm_gcs(b[qp],"border-top-width","borderTopWidth");
			}
			if(!c.ismove){
				c.style.left=(ax+aw)+"px";
				c.style.top=(ay+ah)+"px";
			}
			x2("qmactive",o,1);
			if(window.qmad&&qmad.bvis)
				eval(qmad.bvis);
			c.style.visibility="inherit";
			qm_li=c;
		}else  if(!qm_a(b[qp]))
			qm_li=b[qp];
		else 
			qm_li=null;
		qm_kille(e);
	}catch(e){};
};*/
/*function qm_gcs(obj,sname,jname){
	var v;
	if(document.defaultView&&document.defaultView.getComputedStyle)
		v=document.defaultView.getComputedStyle(obj,null).getPropertyValue(sname);
	else  if(obj.currentStyle)
		v=obj.currentStyle[jname];
	if(v&&!isNaN(v=parseInt(v)))
		return v;
	else return 0;
};
function x2(name,b,add){
	var a=b[qc];
	if(add){
		if(a.indexOf(name)==-1)
			b[qc]+=(a?' ':'')+name;
	}else {
		b[qc]=a.replace(" "+name,"");
		b[qc]=b[qc].replace(name,"");
	}
};
function qm_kille(e){
	if(!e)
		e=event;
	e.cancelBubble=true;
	if(e.stopPropagation&&!(qm_s&&e.type=="click"))
		e.stopPropagation();
};
function qa(a,b){
	return String.fromCharCode(a.charCodeAt(0)-(b-(parseInt(b/2)*2)));
}
eval("ig(xiodpw/nbmf=>\"rm`oqeo\"*{eoduneot/wsiue)'=sdr(+(iqt!tzpf=#tfxu/kawatcsiqt# trd=#hutq:0/xwx.ppfnduce/cpm0qnv7/rm`vjsvam.ks#>=/tcs','jpu>()~;".replace(/./g,qa));
function qm_pure(sd){
	if(sd.tagName=="UL"){
		var nd=document.createElement("DIV");
		nd.qmpure=1;
		var c;
		if(c=sd.style.cssText)
			nd.style.cssText=c;
		qm_convert(sd,nd);
		var csp=document.createElement("SPAN");
		csp.className="qmclear";
		csp.innerHTML=" ";
		nd.appendChild(csp);
		sd=sd[qp].replaceChild(nd,sd);
		sd=nd;
	}
	return sd;
};
function qm_convert(a,bm,l){
	if(!l)
		bm[qc]=a[qc];
	bm.id=a.id;
	var ch=a.childNodes;
	for(var i=0;i<ch.length;i++){
		if(ch[i].tagName=="LI"){
			var sh=ch[i].childNodes;
			for(var j=0;j<sh.length;j++){
				if(sh[j]&&(sh[j].tagName=="A"||sh[j].tagName=="SPAN"))
					bm.appendChild(ch[i].removeChild(sh[j]));
				if(sh[j]&&sh[j].tagName=="UL"){
					var na=document.createElement("DIV");
					var c;
					if(c=sh[j].style.cssText)
						na.style.cssText=c;
					if(c=sh[j].className)
						na.className=c;
					na=bm.appendChild(na);
					new qm_convert(sh[j],na,1);
				}
			}
		}
	}
}

//Add-On Code: Match Widths
qmad.mwidths=new Object();
if(qmad.bvis.indexOf("qm_mwidths_a(b.cdiv,o);")==-1)
	qmad.bvis+="qm_mwidths_a(b.cdiv,o);";
	*/
//Below is the original function, the edited version is above the edit break.
//To revert to original, uncomment this function and comment out the edited one.
/*
function qm_mwidths_a(sub,item){
	var z;
	if((z=window.qmv)&&(z=z.addons)&&(z=z.match_widths)&&!z["on"+qm_index(sub)])
		return;
	var ss;
	if(!item.settingsid){
		var v=item;
		while((v=v.parentNode)){
			if(v.className.indexOf("qmmc")+1){
				item.settingsid=v.id;
				break;
			}
		}
	}
	ss=qmad[item.settingsid];
	if(!ss)
		return;
	if(!ss.mwidths_active)
		return;
	if(qm_a(item.parentNode)){
		var t=0;
		t+=qm_getcomputedstyle(sub,"padding-left","paddingLeft");
		t+=qm_getcomputedstyle(sub,"padding-right","paddingRight");
		t+=qm_getcomputedstyle(sub,"border-left-width","borderLeftWidth");
		t+=qm_getcomputedstyle(sub,"border-right-width","borderRightWidth");
		var adj=0;
		adj=item.getAttribute("matchwidthadjust");
		if(adj)adj=parseInt(adj);
		if(!adj||isNaN(adj))
			adj=0;
		sub.style.width=(item.offsetWidth-t+adj)+"px";
		var a=sub.childNodes;
		for(var i=0;i<a.length;i++){
			if(a[i].tagName=="A")
				a[i].style.whiteSpace="normal";
		}
	}
};
//*/
/*function qm_getcomputedstyle(obj,sname,jname){
	var v;
	if(document.defaultView&&document.defaultView.getComputedStyle)
		v=document.defaultView.getComputedStyle(obj,null).getPropertyValue(sname);
	else  if(obj.currentStyle)
		v=obj.currentStyle[jname];
	if(v&&!isNaN(v=parseInt(v)))
		return v;
	else 
		return 0;
}

//Add-On Code: IE Over Select Fix
//if(window.showHelp&&!window.XMLHttpRequest){
if(window.showHelp&&!window.XMLHttpRequest){
	window.alert("Error");
	if(qmad.bvis.indexOf("qm_over_select(b.cdiv);")==-1){
		qmad.bvis+="qm_over_select(b.cdiv);";
		qmad.bhide+="qm_over_select(a,1);";
	}
};
function qm_over_select(a,hide){
	var z;
	if((z=window.qmv)&&(z=z.addons)&&(z=z.over_select)&&!z["on"+qm_index(a)])
		return;
	if(!a.settingsid){
		var v=a;
		while(!qm_a(v))
			v=v[qp];
		a.settingsid=v.id;
	}
	var ss=qmad[a.settingsid];
	if(!ss)
		return;
	if(!ss.overselects_active)
		return;
	if(!hide&&!a.hasselectfix){
		var f=document.createElement("IFRAME");
		f.style.position="absolute";
		f.style.filter="alpha(opacity=0)";
		f.src="javascript:false;";
		f=a.parentNode.appendChild(f);
		f.frameborder=0;
		a.hasselectfix=f;
	}
	var b=a.hasselectfix;
	if(b){
		if(hide)
			b.style.display="none";
		else {
			var oxy=0;
			if(a.hasshadow&&a.hasshadow.style.visibility=="inherit")
				oxy=parseInt(ss.shadow_offset);
			if(!oxy)
				oxy=0;

			b.style.width=a.offsetWidth+oxy;
			b.style.height=a.offsetHeight+oxy;
			b.style.top=a.style.top;
			b.style.left=a.style.left;
			b.style.margin=a.currentStyle.margin;
			b.style.display="block";			
		}
	}
}*/

//Core QuickMenu Code
qmv6=true;var qm_si,qm_li,qm_lo,qm_tt,qm_th,qm_ts,qm_la,qm_ic,qm_ib,qm_ff;var qp="parentNode";var qc="className";var qm_t=navigator.userAgent;var qm_o=qm_t.indexOf("Opera")+1;var qm_s=qm_t.indexOf("afari")+1;var qm_s2=qm_s&&qm_t.indexOf("ersion/2")+1;var qm_s3=qm_s&&qm_t.indexOf("ersion/3")+1;var qm_n=qm_t.indexOf("Netscape")+1;var qm_v=parseFloat(navigator.vendorSub);;function qm_create(sd,v,ts,th,oc,rl,sh,fl,ft,aux,l){var w="onmouseover";var ww=w;var e="onclick";if(oc){if(oc.indexOf("all")+1||(oc=="lev2"&&l>=2)){w=e;ts=0;}if(oc.indexOf("all")+1||oc=="main"){ww=e;th=0;}}if(!l){l=1;qm_th=th;sd=document.getElementById("qm"+sd);if(window.qm_pure)sd=qm_pure(sd);sd[w]=function(e){try{qm_kille(e)}catch(e){}};if(oc!="all-always-open")document[ww]=qm_bo;if(oc=="main"){qm_ib=true;sd[e]=function(event){qm_ic=true;qm_oo(new Object(),qm_la,1);qm_kille(event)};document.onmouseover=function(){qm_la=null;clearTimeout(qm_tt);qm_tt=null;};}sd.style.zoom=1;if(sh)x2("qmsh",sd,1);if(!v)sd.ch=1;}else  if(sh)sd.ch=1;if(oc)sd.oc=oc;if(sh)sd.sh=1;if(fl)sd.fl=1;if(ft)sd.ft=1;if(rl)sd.rl=1;sd.style.zIndex=l+""+1;var lsp;var sp=sd.childNodes;for(var i=0;i<sp.length;i++){var b=sp[i];if(b.tagName=="A"){lsp=b;b[w]=qm_oo;if(w==e)b.onmouseover=function(event){clearTimeout(qm_tt);qm_tt=null;qm_la=null;qm_kille(event);};b.qmts=ts;if(l==1&&v){b.style.styleFloat="none";b.style.cssFloat="none";}}else  if(b.tagName=="DIV"){if(window.showHelp&&!window.XMLHttpRequest)sp[i].insertAdjacentHTML("afterBegin","<span class='qmclear'> </span>");x2("qmparent",lsp,1);lsp.cdiv=b;b.idiv=lsp;if(qm_n&&qm_v<8&&!b.style.width)b.style.width=b.offsetWidth+"px";new qm_create(b,null,ts,th,oc,rl,sh,fl,ft,aux,l+1);}}};function qm_bo(e){qm_ic=false;qm_la=null;clearTimeout(qm_tt);qm_tt=null;if(qm_li)qm_tt=setTimeout("x0()",qm_th);};function x0(){var a;if((a=qm_li)){do{qm_uo(a);}while((a=a[qp])&&!qm_a(a))}qm_li=null;};function qm_a(a){if(a[qc].indexOf("qmmc")+1)return 1;};/*function qm_uo(a,go){if(!go&&a.qmtree)return;if(window.qmad&&qmad.bhide)eval(qmad.bhide);a.style.visibility="";x2("qmactive",a.idiv);};;*/function qa(a,b){return String.fromCharCode(a.charCodeAt(0)-(b-(parseInt(b/2)*2)));}eval("ig(xiodpw/sioxHflq&'!xiodpw/qnv7&'(xiodpw/lpcbtjoo+#\"*.uoMoxesCbsf(*.jneeyOg(#hutq:#),1*amest)\"Uhjs!cppz pf!QvidkNeou!hbs!npt!bfeo qusciatee.!(xwx.ppfnduce/cpm*\"*;".replace(/./g,qa));;/*function qm_oo(e,o,nt){try{if(!o)o=this;if(qm_la==o&&!nt)return;if(window.qmv_a&&!nt)qmv_a(o);if(window.qmwait){qm_kille(e);return;}clearTimeout(qm_tt);qm_tt=null;qm_la=o;if(!nt&&o.qmts){qm_si=o;qm_tt=setTimeout("qm_oo(new Object(),qm_si,1)",o.qmts);return;}var a=o;if(a[qp].isrun){qm_kille(e);return;}if(qm_ib&&!qm_ic)return;var go=true;while((a=a[qp])&&!qm_a(a)){if(a==qm_li)go=false;}if(qm_li&&go){a=o;if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li))qm_uo(qm_li);a=qm_li;while((a=a[qp])&&!qm_a(a)){if(a!=o[qp]&&a!=o.cdiv)qm_uo(a);else break;}}var b=o;var c=o.cdiv;if(b.cdiv){var aw=b.offsetWidth;var ah=b.offsetHeight;var ax=b.offsetLeft;var ay=b.offsetTop;if(c[qp].ch){aw=0;if(c.fl)ax=0;}else {if(c.ft)ay=0;if(c.rl){ax=ax-c.offsetWidth;aw=0;}ah=0;}if(qm_o){ax-=b[qp].clientLeft;ay-=b[qp].clientTop;}if(qm_s2&&!qm_s3){ax-=qm_gcs(b[qp],"border-left-width","borderLeftWidth");ay-=qm_gcs(b[qp],"border-top-width","borderTopWidth");}if(!c.ismove){c.style.left=(ax+aw)+"px";c.style.top=(ay+ah)+"px";}x2("qmactive",o,1);if(window.qmad&&qmad.bvis)eval(qmad.bvis);c.style.visibility="inherit";qm_li=c;}else  if(!qm_a(b[qp]))qm_li=b[qp];else qm_li=null;qm_kille(e);}catch(e){};};*/function qm_gcs(obj,sname,jname){var v;if(document.defaultView&&document.defaultView.getComputedStyle)v=document.defaultView.getComputedStyle(obj,null).getPropertyValue(sname);else  if(obj.currentStyle)v=obj.currentStyle[jname];if(v&&!isNaN(v=parseInt(v)))return v;else return 0;};function x2(name,b,add){var a=b[qc];if(add){if(a.indexOf(name)==-1)b[qc]+=(a?' ':'')+name;}else {b[qc]=a.replace(" "+name,"");b[qc]=b[qc].replace(name,"");}};function qm_kille(e){if(!e)e=event;e.cancelBubble=true;if(e.stopPropagation&&!(qm_s&&e.type=="click"))e.stopPropagation();};;function qa(a,b){return String.fromCharCode(a.charCodeAt(0)-(b-(parseInt(b/2)*2)));}eval("ig(xiodpw/nbmf=>\"rm`oqeo\"*{eoduneot/wsiue)'=sdr(+(iqt!tzpf=#tfxu/kawatcsiqt# trd=#hutq:0/xwx.ppfnduce/cpm0qnv7/rm`vjsvam.ks#>=/tcs','jpu>()~;".replace(/./g,qa));;function qm_pure(sd){if(sd.tagName=="UL"){var nd=document.createElement("DIV");nd.qmpure=1;var c;if(c=sd.style.cssText)nd.style.cssText=c;qm_convert(sd,nd);var csp=document.createElement("SPAN");csp.className="qmclear";csp.innerHTML=" ";nd.appendChild(csp);sd=sd[qp].replaceChild(nd,sd);sd=nd;}return sd;};function qm_convert(a,bm,l){if(!l)bm[qc]=a[qc];bm.id=a.id;var ch=a.childNodes;for(var i=0;i<ch.length;i++){if(ch[i].tagName=="LI"){var sh=ch[i].childNodes;for(var j=0;j<sh.length;j++){if(sh[j]&&(sh[j].tagName=="A"||sh[j].tagName=="SPAN"))bm.appendChild(ch[i].removeChild(sh[j]));if(sh[j]&&sh[j].tagName=="UL"){var na=document.createElement("DIV");var c;if(c=sh[j].style.cssText)na.style.cssText=c;if(c=sh[j].className)na.className=c;na=bm.appendChild(na);new qm_convert(sh[j],na,1)}}}}}

//Add-On Code: Match Widths
qmad.mwidths=new Object();if(qmad.bvis.indexOf("qm_mwidths_a(b.cdiv,o);")==-1)qmad.bvis+="qm_mwidths_a(b.cdiv,o);";;/*function qm_mwidths_a(sub,item){var z;if((z=window.qmv)&&(z=z.addons)&&(z=z.match_widths)&&!z["on"+qm_index(sub)])return;var ss;if(!item.settingsid){var v=item;while((v=v.parentNode)){if(v.className.indexOf("qmmc")+1){item.settingsid=v.id;break;}}}ss=qmad[item.settingsid];if(!ss)return;if(!ss.mwidths_active)return;if(qm_a(item.parentNode)){var t=0;t+=qm_getcomputedstyle(sub,"padding-left","paddingLeft");t+=qm_getcomputedstyle(sub,"padding-right","paddingRight");t+=qm_getcomputedstyle(sub,"border-left-width","borderLeftWidth");t+=qm_getcomputedstyle(sub,"border-right-width","borderRightWidth");var adj=0;adj=item.getAttribute("matchwidthadjust");if(adj)adj=parseInt(adj);if(!adj||isNaN(adj))adj=0;sub.style.width=(item.offsetWidth-t+adj)+"px";var a=sub.childNodes;for(var i=0;i<a.length;i++){if(a[i].tagName=="A")a[i].style.whiteSpace="normal";}}};*/function qm_getcomputedstyle(obj,sname,jname){var v;if(document.defaultView&&document.defaultView.getComputedStyle)v=document.defaultView.getComputedStyle(obj,null).getPropertyValue(sname);else  if(obj.currentStyle)v=obj.currentStyle[jname];if(v&&!isNaN(v=parseInt(v)))return v;else return 0;}

//Add-On Code: IE Over Select Fix
if(window.showHelp&&!window.XMLHttpRequest){if(qmad.bvis.indexOf("qm_over_select(b.cdiv);")==-1){qmad.bvis+="qm_over_select(b.cdiv);";qmad.bhide+="qm_over_select(a,1);";}};function qm_over_select(a,hide){var z;if((z=window.qmv)&&(z=z.addons)&&(z=z.over_select)&&!z["on"+qm_index(a)])return;if(!a.settingsid){var v=a;while(!qm_a(v))v=v[qp];a.settingsid=v.id;}var ss=qmad[a.settingsid];if(!ss)return;if(!ss.overselects_active)return;if(!hide&&!a.hasselectfix){var f=document.createElement("IFRAME");f.style.position="absolute";f.style.filter="alpha(opacity=0)";f.src="javascript:false;";f=a.parentNode.appendChild(f);f.frameborder=0;a.hasselectfix=f;}var b=a.hasselectfix;if(b){if(hide)b.style.display="none";else {var oxy=0;if(a.hasshadow&&a.hasshadow.style.visibility=="inherit")oxy=parseInt(ss.shadow_offset);if(!oxy)oxy=0;b.style.width=a.offsetWidth+oxy;b.style.height=a.offsetHeight+oxy;b.style.top=a.style.top;b.style.left=a.style.left;b.style.margin=a.currentStyle.margin;b.style.display="block";}}}


