qmad.br_ie=window.showHelp;qmad.br_navigator=navigator.userAgent.indexOf("Netscape")+1;qmad.br_version=parseFloat(navigator.vendorSub);qmad.br_oldnav6=qmad.br_navigator&&qmad.br_version<7.2;if(!qmad.br_oldnav6){if(!qmad.hoverfill){qmad.hoverfill=new Object();qmad.hoverfill.track=new Object();qmad.hoverfill.tracktimer=new Object();}if(qmad.bhide.indexOf("qm_hoverfill_active(new Object(),a,1);")==-1){qmad.bhide+="qm_hoverfill_active(new Object(),a,1);";if(window.attachEvent)window.attachEvent("onload",qm_hoverfill_init);else  if(window.addEventListener)window.addEventListener("load",qm_hoverfill_init,1);if(document.attachEvent)document.attachEvent("onmouseover",qm_hoverfill_hover_off);else  if(window.addEventListener)document.addEventListener("mouseover",qm_hoverfill_hover_off,false);}};function qm_hoverfill_init(e,spec){var z;if((z=window.qmv)&&(z=z.addons)&&(z=z.hoverfill)&&(!z["on"+qmv.id]&&z["on"+qmv.id]!=undefined&&z["on"+qmv.id]!=null))return;qm_ts=1;var q=qmad.hoverfill;for(i=0;i<10;i++){if(!(a=document.getElementById("qm"+i))||(!isNaN(spec)&&spec!=i))continue;var ss=qmad[a.id];if(ss&&(ss.hoverfill_main_type||ss.hoverfill_sub_type)){qm_hoverfill_init_items(a,ss);}}};function qm_hoverfill_init_items(a,ss){var q=qmad.hoverfill;var aa,pf;var applyto="all";if(ss.hoverfill_apply_to)applyto=ss.hoverfill_apply_to;aa=a.getElementsByTagName("A");for(var j=0;j<aa.length;j++){if((applyto=="parent"&&!aa[j].cdiv)||(applyto=="non-parent"&&aa[j].cdiv))continue;if(window.attachEvent)aa[j].attachEvent("onmouseover",qm_hoverfill_active);else  if(window.addEventListener)aa[j].addEventListener("mouseover",qm_hoverfill_active,false);if(qm_a(aa[j][qp]))pf="main";else pf="sub";var type;if((type=ss["hoverfill_"+pf+"_type"])&&type!="none"){var ofx=ss["hoverfill_"+pf+"_offset_width"];if(!ofx)ofx=0;var ofy=ss["hoverfill_"+pf+"_offset_height"];if(!ofy)ofy=0;var fss=ss["hoverfill_"+pf+"_fade_type_steps"];if(!fss)fss=20;var dir=ss["hoverfill_"+pf+"_direction"];if(!dir)dir="up";var step=ss["hoverfill_"+pf+"_step_size"];if(!step)step=1;var ns=document.createElement("SPAN");ns.style.display="none";ns.style.position="absolute";ns.style.fontSize="1px";ns.style.overFlow="hidden";if(aa[j].cdiv)ns.className="qmhoverfill qmhparent";else ns.className="qmhoverfill";ns.ishoverfill=1;ns.hfowner=aa[j];ns.noselect=1;aa[j].style.position="relative";aa[j][qp].insertBefore(ns,aa[j]);aa[j].hfobject=ns;aa[j].hfdir=dir;aa[j].hftype=type;aa[j].hfstep=step;aa[j].hffadein=ss["hoverfill_"+pf+"_fade_in"];aa[j].hffss=fss;aa[j].hffc=0;aa[j].hfox=ofx;aa[j].hfoy=ofy;}}};function qm_hoverfill_setfade(a,val){if(qmad.br_ie)a.style.filter="alpha(opacity="+val*100+")";else a.style.opacity=val;};function qm_hoverfill_active(e,a,hide,force){e=e||window.event;if(!a){a=e.srcElement||e.target;while(a.tagName!="A")a=a[qp];}if(!hide){var la=qmad.hoverfill.lasthl;if(la==a)return;if(la&&la.hfobject.style.display=="block"&&la.className.indexOf("qmactive")==-1&&la!=a){qm_hoverfill_hide_animate(la);qmad.hoverfill.lasthl=null;}var b;if((b=a.hfobject)&&!b.hfon&&b[qp]&&a[qp]){var dir=a.hfdir;var type=a.hftype;b.style.display="block";if(type=="grow"){if(dir=="up"||dir=="down"){b.style.width=(a.offsetWidth+a.hfox)+"px";b.style.height="0px";b.style.left=a.offsetLeft+"px";if(dir=="up")b.style.top=(a.offsetTop+a.offsetHeight+a.hfoy)+"px";else b.style.top=a.offsetTop+"px";if(a.hffadein)a.hffs=(1/(a.offsetHeight/a.hfstep));}else  if(dir=="right"||dir=="left"){b.style.height=(a.offsetHeight+a.hfoy)+"px";b.style.width="0px";b.style.top=a.offsetTop+"px";if(dir=="left")b.style.left=(a.offsetLeft+a.offsetWidth+a.hfox)+"px";else b.style.left=a.offsetLeft+"px";if(a.hffadein)a.hffs=(1/(a.offsetWidth/a.hfstep));}else  if(dir=="center"){b.style.height="0px";b.style.width="0px";b.style.top=(a.offsetTop+parseInt((a.offsetHeight+a.hfoy)/2))+"px";b.style.left=(a.offsetLeft+parseInt((a.offsetWidth+a.hfox)/2))+"px";a.hfstep=1;if(a.hfstep==4)a.hfstep=2;if(a.hfstep>5)a.hfstep=3;if(a.offsetWidth>a.offsetHeight){b.chstep=(a.hfstep*2);b.cwstep=parseInt(b.chstep*((a.offsetWidth+a.hfox)/(a.offsetHeight+a.hfoy)));b.ctstep=a.hfstep;b.clstep=parseInt(b.cwstep/2);if(a.hffadein)a.hffs=(1/(((a.offsetHeight+a.hfoy)/2)/b.ctstep));}else {b.cwstep=(a.hfstep*2);b.chstep=parseInt(b.chstep*((a.offsetHeight+a.hfoy)/(a.offsetWidth+a.hfox)));b.clstep=a.hfstep;b.ctstep=parseInt(b.chstep/2);if(a.hffadein)a.hffs=(1/(((a.offsetWidth+a.hfox)/2)/b.clstep));}}}else  if(type=="fade"){b.style.height=(a.offsetHeight+a.hfoy)+"px";b.style.width=(a.offsetWidth+a.hfox)+"px";b.style.top=a.offsetTop+"px";b.style.left=a.offsetLeft+"px";a.hffs=(1/a.hffss);}qm_hoverfill_clear_timer(a);qm_hoverfill_animate(qm_hoverfill_get_tracking_id(b),false,force);qmad.hoverfill.lasthl=a;}}else {if(a.idiv){qm_hoverfill_hide_animate(a.idiv);}}};function qm_hoverfill_hide_animate(a){qm_hoverfill_clear_timer(a);if(a.hfobject)qm_hoverfill_animate(qm_hoverfill_get_tracking_id(a.hfobject),1);};function qm_hoverfill_animate(id,hide,force){var go=false;var hf=qmad.hoverfill.track["a"+id];if(!hf||!hf[qp])return;var atag=hf.hfowner;if(!atag[qp])return;var type=atag.hftype;var dir=atag.hfdir;var step=atag.hfstep;var clstep=hf.clstep;var ctstep=hf.ctstep;var cwstep=hf.cwstep;var chstep=hf.chstep;if(hide){step=-step;if(type=="grow"&&dir=="center"){var clstep=-clstep;var ctstep=-ctstep;var cwstep=-cwstep;var chstep=-chstep;}}var a1,a2,a3,a4;if(type=="grow"){if(dir=="up"||dir=="left"){var p1="offsetTop";var p2="offsetHeight";var p3="height";var p4="top";var p5=atag.hfoy;if(dir=="left"){p1="offsetLeft";p2="offsetWidth";p3="width";p4="left";p5=atag.hfox;}a1=atag[p1];a2=atag[p2];if(((!hide&&(hf[p1]-step)>a1)||(hide&&(hf[p1]-step)<(a1+a2+p5)))&&!force){a1=parseInt(hf.style[p4]);a2=parseInt(hf.style[p3]);hf.style[p4]=(a1-step)+"px";hf.style[p3]=(a2+step)+"px";go=true;}else {if(!hide){hf.hfon=true;hf.style[p4]=a1+"px";hf.style[p3]=(a2+p5)+"px";}else hf.style[p3]="0px";}}else  if(dir=="down"||dir=="right"){var p1="offsetHeight";var p2="offsetTop";var p3="height";var p5=atag.hfoy;if(dir=="right"){p1="offsetWidth";p2="offsetLeft";p3="width";p5=atag.hfox;}a1=atag[p2];a2=atag[p1];if(((!hide&&(hf[p1]+step)<(a2+p5))||(hide&&(hf[p1]+step)>0))&&!force){hf.style[p3]=(parseInt(hf.style[p3])+step)+"px";go=true;}else {if(!hide){hf.hfon=true;hf.style[p3]=(a2+p5)+"px";}else hf.style[p3]="0px";}}else  if(dir=="center"){a1=atag.offsetTop;a2=parseInt((atag.offsetHeight+atag.hfoy)/2);if(((!hide&&(hf.offsetTop-ctstep)>a1)||(hide&&(hf.offsetTop-ctstep)<(a1+a2)))&&!force){a1=parseInt(hf.style.top);a2=parseInt(hf.style.height);a3=parseInt(hf.style.left);a4=parseInt(hf.style.width);hf.style.top=(a1-ctstep)+"px";hf.style.left=(a3-clstep)+"px";hf.style.height=(a2+chstep)+"px";hf.style.width=(a4+cwstep)+"px";go=true;}else {if(!hide){a1=atag.offsetTop;a2=atag.offsetHeight+atag.hfoy;a3=atag.offsetLeft;a4=atag.offsetWidth+atag.hfox;hf.style.top=a1+"px";hf.style.left=a3+"px";hf.style.height=a2+"px";hf.style.width=a4+"px";hf.hfon=true;}else {hf.style.height="0px";hf.style.width="0px";}}}}else  if(type=="fade"){if(((!hide&&atag.hffc<1)||(hide&&atag.hffc>0))&&!force){go=true;}else {if(!hide)hf.hfon=true;}}if(atag.hffs){if(!atag.hffc)atag.hffc=0;if(!hide){atag.hffc+=atag.hffs;if(atag.hffc>1||!go)atag.hffc=1;}else {atag.hffc -=atag.hffs;if(atag.hffc<.001||!go)atag.hffc=0;}qm_hoverfill_setfade(hf,atag.hffc);}if(go){qmad.hoverfill.tracktimer["a"+id]=setTimeout("qm_hoverfill_animate("+id+","+hide+")",10);atag.hftrackid=id;hf.hfon=false;}else {qm_hoverfill_clear_timer(atag);if(hide)hf.style.display="none";}};function qm_hoverfill_clear_timer(a){var id;if(id=a.hftrackid){clearTimeout(qmad.hoverfill.tracktimer["a"+id]);qmad.hoverfill.tracktimer["a"+id]=null;qmad.hoverfill.track["a"+id]=null;a.hftrackid=null;}};function qm_hoverfill_get_tracking_id(a){var track=qmad.hoverfill.track;var i=1;while(track["a"+i])i++;track["a"+i]=a;return i;};function qm_hoverfill_hover_off(e,o){var la=qmad.hoverfill.lasthl;if(la&&la.hfobject.style.display=="block"&&la.className.indexOf("qmactive")==-1){qm_hoverfill_hide_animate(la);}qmad.hoverfill.lasthl=null;}
