
//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();

// Merge Animation Add On
	a.merge_frames = 20;
	// Sub Menu Fade Animation Add On
	a.fade_in_frames = 20;
	a.fade_out_frames = 20;


//Core QuickMenu Code
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: Sub Menu Fade Animation
if(!qmad.fade){qmad.fade=new Object();qmad.fade.track=new Object();qmad.fade.tracktimer=new Object();if(qmad.bvis.indexOf("qm_fade_a(b.cdiv);")==-1){qmad.bvis+="qm_fade_a(b.cdiv);";qmad.bhide+="qm_fade_a(a,1);";}};function qm_fade_a(a,hide){var z;if((a.style.visibility=="inherit"&&!hide)||((z=window.qmv)&&(z=z.addons)&&(z=z.fade)&&!z["on"+qm_index(a)]))return;var ss;if(!a.settingsid){var v=a;while((v=v[qp])){if(v[qc].indexOf("qmmc")+1){a.settingsid=v.id;break;}}}ss=qmad[a.settingsid];var t;var u;if(ss&&((t=ss.fade_in_frames)||(u=ss.fade_out_frames))){if(t==null||t==undefined)t=u;if(u==null||u==undefined)u=t;a.ffinc=1/t;a.ffdec=1/u;if(!hide)a.ffcur=0;else {a.ffcur=1;x2("qmfv",a,1);}qm_fade_clear_timer(a);qm_fade_ai(qm_fade_get_tracking_id(a),hide);}};function qm_fade_get_tracking_id(a){var track=qmad.fade.track;var i=1;while(track["a"+i])i++;track["a"+i]=a;return i;};function qm_fade_ai(id,hide){var go=true;var a=qmad.fade.track["a"+id];if(!hide){a.ffcur+=a.ffinc;if(a.ffcur>1){a.ffcur=1;go=false;}}else {a.ffcur -=a.ffdec;if(a.ffcur<.001){a.ffcur=0;go=false;}}qm_fade_setfade(a,a.ffcur);if(go){qmad.fade.tracktimer["a"+id]=setTimeout("qm_fade_ai("+id+","+hide+")",10);a.fftrackid=id;}else {if(hide)x2("qmfv",a);if(window.showHelp)a.style.removeAttribute("filter");}};function qm_fade_clear_timer(a){var id;if(id=a.fftrackid){clearTimeout(qmad.fade.tracktimer["a"+id]);qmad.fade.tracktimer["a"+id]=null;qmad.fade.track["a"+id]=null;a.fftrackid=null;}};function qm_fade_setfade(a,val){if(qmad.br_ie)a.style.filter="alpha(opacity="+val*100+")";else a.style.opacity=val;}


//Add-On Code: Merge Animation
qmad.merge=new Object();if(qmad.bvis.indexOf("qm_merge_a(b.cdiv);")==-1)qmad.bvis+="qm_merge_a(b.cdiv);";if(qmad.bhide.indexOf("qm_merge_a(a,1);")==-1)qmad.bhide+="qm_merge_a(a,1);";qmad.br_ie=window.showHelp;qmad.br_mac=navigator.userAgent.indexOf("Mac")+1;qmad.br_old_safari=navigator.userAgent.indexOf("afari")+1&&!window.XMLHttpRequest;qmad.merge_off=(qmad.br_ie&&qmad.br_mac)||qmad.br_old_safari;;function qm_merge_a(a,hide){var z;if((a.style.visibility=="inherit"&&!hide)||(qmad.merge_off)||((z=window.qmv)&&(z=z.addons)&&(z=z.merge_effect)&&!z["on"+qm_index(a)])){return;}var ss;if(!a.settingsid){var v=a;while((v=v.parentNode)){if(v.className.indexOf("qmmc")+1){a.settingsid=v.id;break;}}}ss=qmad[a.settingsid];if(!ss)return;if(!ss.merge_frames)return;if(hide){a.ismove=false;var b=new Object();b.obj=a;qm_merge_am(b,1);}else {var b=new Object();b.obj=a;b.sub_subs_updown=ss.merge_sub_subs_updown;b.updown=ss.merge_updown;b.step=(a.offsetWidth/2)/ss.merge_frames;b.oval=".5";if(ss.merge_opacity)b.oval=ss.merge_opacity;if(b.sub_subs_updown&&a.parentNode.className.indexOf("qmmc")==-1)b.updown=true;b.tl="left";b.wh="offsetWidth";if(b.updown){b.tl="top";b.wh="offsetHeight";}b.orig_pos=a.style[b.tl];var c1=a.cloneNode(true);c1.style.visibility="visible";a.parentNode.appendChild(c1);b.cobj=c1;a.style.filter="Alpha(opacity="+(b.oval*100)+")";c1.style.filter="Alpha(opacity="+(b.oval*100)+")";a.style.opacity=b.oval;c1.style.opacity=b.oval;a.style[b.tl]=(parseInt(a.style[b.tl])-(a[b.wh]/2))+"px";c1.style[b.tl]=(parseInt(c1.style[b.tl])+(a[b.wh]/2))+"px";a.ismove=true;qm_merge_ai(qm_merge_am(b),hide);}};function qm_merge_ai(id,hide){var a=qmad.merge["_"+id];if(!a)return;var cp=parseInt(a.obj.style[a.tl]);if(cp+a.step<parseInt(a.orig_pos)){a.obj.style[a.tl]=Math.round(cp+a.step)+"px";a.cobj.style[a.tl]=Math.round(parseInt(a.cobj.style[a.tl])-a.step)+"px";a.timer=setTimeout("qm_merge_ai("+id+","+hide+")",10);}else {a.obj.style[a.tl]=a.orig_pos;a.cobj.style[a.tl]=a.orig_pos;qm_merge_remove_node(a.cobj);a.cobj.style.display="none";a.obj.style.filter="";a.obj.style.opacity="1";qmad.merge["_"+id]=null;a.obj.ismove=false;}};function qm_merge_remove_node(obj){if(obj.removeNode)obj.removeNode(true);else  if(obj.removeChild)obj.parentNode.removeChild(obj);};function qm_merge_am(obj,clear){var k;for(k in qmad.merge){if(qmad.merge[k]&&obj.obj==qmad.merge[k].obj){if(qmad.merge[k].timer){clearTimeout(qmad.merge[k].timer);qmad.merge[k].timer=null;}qm_merge_remove_node(qmad.merge[k].cobj);qmad.merge[k].obj.ismove=false;qmad.merge[k]=null;}}if(clear)return;var i=0;while(qmad.merge["_"+i])i++;qmad.merge["_"+i]=obj;return i;}

