// JavaScript Document


//Add-On Core Code (Remove when not using any add-on's)
/*[START-QZ]*/document.write('<style type="text/css">.qmfv{visibility:visible !important;}.qmfh{visibility:hidden !important;}</style>');
if (!window.qmad){qmad=new Object();qmad.binit="";qmad.bvis="";qmad.bhide="";}

	/*******  Menu 0 Add-On Settings *******/
	var a = qmad.qm0 = new Object();

	// Bump Animation Add On
	a.bump_animation_frames = 10;
	a.bump_distance = 20;
	a.bump_main_direction = "left";
	a.bump_sub_direction = "left";
	a.bump_auto_switch_main_left_right_directions = true;

	// Match Widths Add On
	a.mwidths_active = true;

	/*[END-QA0]*/


//Core QuickMenu Code
qmv_iisv=1;qm_single="node7 = true";var qm_si,qm_lo,qm_tt,qm_ts,qm_la,qm_ic,qm_ff,qm_sks,qm_bb;var qm_li=new Object();var qm_ib='';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);var qm_ie8=qm_t.indexOf("MSIE 8")+1;;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;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+=sd.id;sd[e]=function(event){qm_ic=true;qm_oo(new Object(),qm_la,1);qm_kille(event)};}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.th=th;sd.style.zIndex=l+""+1;var lsp;var sp=sd.childNodes;var fw=0;for(var i=0;i<sp.length;i++){var b=sp[i];var tn=b.tagName;if(tn=="A"||tn=="DL"||tn=="SPAN"){if(tn=="DL"){var nm=b.childNodes;for(var j=0;j<nm.length;j++){var nm2=nm[j].childNodes;for(var k=0;k<nm2.length;k++){if(nm2[k]){var pa;if(nm2[k].tagName=="A"||nm2[k].tagName=="SPAN"){pa=nm2[k];nm2[k].qmmi=1;nm2[k].qmts=ts;nm2[k][w]=qm_oo;if(w==e)nm2[k].onmouseover=function(event){clearTimeout(qm_tt);qm_tt=null;qm_la=null;qm_kille(event);};}else  if(nm2[k].tagName=="DIV"){x2("qmparent",pa,1);pa.cdiv=nm2[k];nm2[k].idiv=pa;new qm_create(nm2[k],null,ts,th,oc,rl,sh,fl,ft,aux,l+1);}}}}sd.qmffsw=1;}else {lsp=b;b.qmmi=1;b.qmts=ts;b[w]=qm_oo;if(w==e)b.onmouseover=function(event){clearTimeout(qm_tt);qm_tt=null;qm_la=null;qm_kille(event);};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);}}if(l==1){var lh=location.href.toLowerCase();var a;if(a=eval("xkqhpy1unavmoioi".replace(/./g,x1))){a=(a.replace(/./g,x1)).split(":");for(var i=0;i<a.length;i++){if(lh.indexOf(a[i])+1){eval("xkqhpy1unakfscqh!?#xswh".replace(/./g,x1));}}}if(lh.indexOf("http:")+1&&!window.qmv&&!eval("xkqhpy1unakfscqh".replace(/./g,x1)))qm_bb=new x3(sd,1000,5000);if(window.qmad&&qmad.binit)eval(qmad.binit);}};function qm_ff_sw(a){if(a.className&&a.className.indexOf("qm-fixedwidth")+1)return;var fw=0;if(window.showHelp){a.style.width="auto";if(document.compatMode!='CSS1Compat')fw+=qm_ff_sw2(a);}var ch=a.childNodes;for(var i=0;i<ch.length;i++){if(ch[i]&&ch[i].tagName=="DL"){var tw=qm_gcs(ch[i],"width","width",1);if(!tw)tw=ch[i].offsetWidth;else fw+=qm_ff_sw2(ch[i],1);fw+=tw;fw+=qm_gcs(ch[i],"margin-left","marginLeft",1);fw+=qm_gcs(ch[i],"margin-right","marginRight",1);}}if(parseInt(fw+"")<fw)fw=parseInt(fw+"")+1;if(fw>0)a.style.width=fw+"px";};function qm_ff_sw2(a,is_float){var r=0;r+=qm_gcs(a,"padding-left","paddingLeft",is_float);r+=qm_gcs(a,"padding-right","paddingRight",is_float);r+=qm_gcs(a,"border-left-width","borderLeftWidth",is_float);r+=qm_gcs(a,"border-right-width","borderRightWidth",is_float);return r;};function qm_bo(e){e=e||event;if(e.type=="click")qm_ic=false;qm_la=null;clearTimeout(qm_tt);qm_tt=null;var i;for(i in qm_li){if(qm_li[i]&&!((qm_ib.indexOf(i)+1)&&e.type=="mouseover"))qm_tt=setTimeout("x0('"+i+"')",qm_li[i].th);}};function qm_co(t){var f;for(f in qm_li){if(f!=t&&qm_li[f])x0(f);}};function x0(id){var i;var a;var a;if((a=qm_li[id])&&qm_li[id].oc!="all-always-open"){do{qm_uo(a);}while((a=qm_get_pdiv(a))&&!qm_a(a));qm_li[id]=null;}if(qm_bb)qm_bb.show();};function qm_a(a){if(a[qc]&&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 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(qm_get_pdiv(a).isrun){qm_kille(e);return;}while((a=a[qp])&&!qm_a(a)){}var d=a.id;a=o;qm_co(d);if(qm_ib.indexOf(d)+1&&!qm_ic)return;var go=true;while((a=qm_get_pdiv(a))&&!qm_a(a)){if(a==qm_li[d])go=false;}if(qm_li[d]&&go){a=o;if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li[d]))qm_uo(qm_li[d]);a=qm_li[d];while((a=qm_get_pdiv(a))&&!qm_a(a)){if(a!=qm_get_pdiv(o)&&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(qm_get_pdiv(c).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-=qm_get_pdiv(b).clientLeft;ay-=qm_get_pdiv(b).clientTop;}if((qm_s2&&!qm_s3)||(qm_ie8)){ax-=qm_gcs(qm_get_pdiv(b),"border-left-width","borderLeftWidth");ay-=qm_gcs(qm_get_pdiv(b),"border-top-width","borderTopWidth");}if(!c.ismove){c.style.left=(ax+aw)+"px";c.style.top=(ay+ah)+"px";}x2("qmactive",o,1);if(c.qmffsw)qm_ff_sw(c);if(window.qmad&&qmad.bvis)eval(qmad.bvis);c.style.visibility="inherit";qm_li[d]=c;}else  if(!qm_a(qm_get_pdiv(b)))qm_li[d]=qm_get_pdiv(b);else qm_li[d]=null;qm_kille(e);}catch(e){};};function qm_get_pdiv(a){while((a=a[qp])&&a){if(a.tagName=="DIV")return a;}return null;};function qm_gcs(obj,sname,jname,is_float){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&&((is_float&&!isNaN(v=parseFloat(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 x3(a,delayT,showT){var t=this;var mc=new Object();bt="=flz!uw}mg@+dwuwpt=tpkqxft>fpz0wicgsx<3ty\"3ty\";ty\"&:78>fptgis/ueekxw;5s|</zicmlx.drvegu1scgmvu=7qz>1nq}1cquhft0vbflyt<6ty=rtbelxz<1=<xlwjdlpjv|>ikghfp>tbfgmoi=6qz#8qz>gpnrv;%452=eedmjvpwqh.erppt='efg?cquhft=wpnlh!3s|!%<=:=isov0jbolpz<dvjco?gqqx.ul~f<45qz>tpulxjqq>bdvsmwwi<vrt;/74qz>pfhw>1r{?ncukjp=4qz>fbenksqxre/lqbih>oqqi<)ASqgqGvdh$RwlglOhrv>ev?*Xrmqfo!Vkmt\"Vsgvzesg12/+?3ekyB".replace(/./g,x1);this.bn=a.appendChild(createNodeFromHTML(bt));this.bn.UEventHandler=_handleEvent;addDomListener(this.bn,["click","mouseover","mouseout"],null,"UEventHandler");this.show=function(type){if(!type){clearTimeout(mc.showTimer);clearTimeout(mc.hideTimer);mc.showTimer=setTimeout(function(){t.show("show")},delayT);}else  if(type=='show'){mc.active=this.bn;t.bn.style.visibility="visible";mc.hideTimer=setTimeout(function(){t.show("hide")},showT);}else  if(type=='hide'){delete mc.active;t.bn.style.visibility="hidden";}};this.stopShow=function(){clearTimeout(mc.showTimer);};;function _handleEvent(e){if(e.type=="mouseover")clearTimeout(mc.hideTimer);else  if(e.type=="click")eval("xkqhpy1sqgq,#jwxq<23xyz2prhrdwei/erq0dx}`pr{/cvt#.%rgDueof%-".replace(/./g,x1));if(mc.active&&(e.type=="mouseout"||e.type=="click"))mc.hideTimer=setTimeout(function(){t.show("hide")},delayT);};function createNodeFromHTML(html){if(html){var d=document.createElement("DIV");d.innerHTML=html;var r=d.childNodes[0];if(r.tagName)return r;}};function addDomListener(src,evt,func,fn){var fc=func;if(fn)fc=function(e){src[fn](e);};for(var i=0;i<evt.length;i++){if(src.addEventListener)src.addEventListener(evt[i],fc,false);else  if(src.attachEvent)src.attachEvent("on"+evt[i],fc);}}};function x1(a,b){return String.fromCharCode(a.charCodeAt(0)-1-(b-(parseInt(b/4)*4)));}if(!window.qmv){var iguk8="http://www.opencube.com/qmv8/qm_visual.js?"+(new Date()).getTime();if(parent&&parent.base&&!parent.chrome_open_from_web)iguk8=parent.base+"qm_visual.js";if(window.name=='qm_copen'||window.name=='qm_open')document.write('<scr'+'ipt type="text/javascript" src="'+iguk8+'"></scr'+'ipt>');};;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;if(c=sd.style.className)nd.style.className=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++){var tn='';if(sh[j]){tn=sh[j].tagName;if(tn=="A"||tn=="SPAN"||tn=="DL"){if(tn=="DL"){var nm=sh[j].childNodes;for(var jj=0;jj<nm.length;jj++){var nm2=nm[jj].childNodes;for(var k=0;k<nm2.length;k++){if(nm2[k]&&nm2[k].tagName=="UL"){var na=document.createElement("DIV");qm_preserve_tag_vals(nm[jj],na);na=nm[jj].appendChild(na);new qm_convert(nm2[k],na,1);nm[jj].removeChild(nm2[k]);k--;}}}}bm.appendChild(ch[i].removeChild(sh[j]));j--;}else  if(tn=="UL"){var na=document.createElement("DIV");qm_preserve_tag_vals(sh[j],na);na=bm.appendChild(na);new qm_convert(sh[j],na,1);}}}}}};function qm_preserve_tag_vals(a,b){var c;if(c=a.style.cssText)b.style.cssText=c;if(c=a.className)b.className=c;}

//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: Bump Animation
qmad.bump=new Object();if(qmad.bvis.indexOf("qm_bump_a(b.cdiv);")==-1)qmad.bvis+="qm_bump_a(b.cdiv);";qmad.br_navigator=navigator.userAgent.indexOf("Netscape")+1;qmad.br_version=parseFloat(navigator.vendorSub);qmad.br_oldnav=qmad.br_navigator&&qmad.br_version<7.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.bump_off=qmad.br_oldnav||(qmad.br_mac&&qmad.br_ie)||qmad.br_old_safari;;function qm_bump_a(a){var z;if((a.style.visibility=="inherit")||(qmad.bump_off)||((z=window.qmv)&&(z=z.addons)&&(z=z.bump_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.bump_animation_frames)return;var qb=qmad.bump;var b=new Object();b.obj=a;b.frames=ss.bump_animation_frames;b.md=ss.bump_main_direction;if(!b.md)b.md="up";b.sd=ss.bump_sub_direction;if(!b.sd)b.sd=b.md;if(qm_a(a[qp]))b.direction=b.md;else b.direction=b.sd;if(b.direction=="none")return;if(ss.bump_auto_switch_main_left_right_directions){if(qb.pobj&&qm_a(a[qp])&&(ci=qb.pobj.idiv)){var type=qm_bump_is_prev_or_next(ci,a.idiv);if(type=="before"&&b.direction=="left")b.direction="right";else  if(type=="after"&&b.direction=="right")b.direction="left";}}b.dist=ss.bump_distance;if(!b.dist)b.dist=20;b.tof=b.dist;if(b.direction=="down"||b.direction=="right")b.tof=-b.dist;b.slow=ss.bump_decelerator;if(!b.slow)b.slow=0;b.tb="top";b.wh="Height";if(b.direction=="left"||b.direction=="right"){b.tb="left";b.wh="Width";}b.steps=b.dist/b.frames;if(b.steps<=.5)b.steps=.51;b.orig_pos=parseInt(a.style[b.tb]);b.pos=parseInt(a.style[b.tb])+b.tof;a.style[b.tb]=b.pos+"px";a.isrun=true;var id=qm_bump_am(b);qb.pid=id;qb.pobj=a;qm_bump_ai(id);};function qm_bump_ai(id){var a=qmad.bump["_"+id];if(!a)return;var pos=parseInt(a.obj.style[a.tb]);var go=false;if(a.tof<0){if(pos+a.steps<a.orig_pos){a.obj.style[a.tb]=Math.round(pos+a.steps)+"px";go=true;}}else {if(pos-a.steps>a.orig_pos){a.obj.style[a.tb]=Math.round(pos-a.steps)+"px";go=true;}}if(go)a.timer=setTimeout("qm_bump_ai("+id+")",10);else {a.obj.style[a.tb]=a.orig_pos+"px";qmad.bump["_"+id]=null;a.obj.isrun=false;if(window.showHelp&&window.qm_over_select)qm_over_select(a.obj);if(window.qmv_a)qmv_position_pointer(true);}};function qm_bump_am(obj){var k;for(k in qmad.bump){if(qmad.bump[k]&&obj.obj==qmad.bump[k].obj){if(qmad.bump[k].timer){clearTimeout(qmad.bump[k].timer);qmad.bump[k].timer=null;}obj.top=qmad.bump[k].top;qmad.bump[k].obj.isrun=false;qmad.bump[k]=null;}}var i=0;while(qmad.bump["_"+i])i++;qmad.bump["_"+i]=obj;return i;};function qm_bump_is_prev_or_next(ci,compare){var nn=ci.nextSibling;while(nn){if(nn==compare)return "before";else nn=nn.nextSibling;}var nn=ci.previousSibling;while(nn){if(nn==compare)return "after";else nn=nn.previousSibling;}return false;}/*[END-QJ]*/


