﻿var qm_si,qm_li,qm_lo,qm_tt,qm_th,qm_ts,qp="parentNode",qc="className",qm_t=navigator.userAgent,qm_o=qm_t.indexOf("Opera")+1,qm_s=qm_t.indexOf("afari")+1,qm_s2=qm_s&&window.XMLHttpRequest,qm_n=qm_t.indexOf("Netscape")+1,qm_v=parseFloat(navigator.vendorSub);if(window.showHelp)document.write("<style type='text/css'>.qmclear{position:absolute;clear:none !important;}</style>");function qm_create(a,o,j,i,m,n,e,k,l,c){var g="onmouseover";if(m){g="onclick";i=0;j=0}if(!c){c=1;qm_th=i;a=document.getElementById("qm"+a);a[g]=function(a){qm_kille(a)};document[g]=qm_bo;a.style.zoom=1;if(e)x2("qmsh",a,1);if(!o)a.ch=1;if(!l&&qm_n&&qm_v<7.1)a.style.position="absolute"}else if(e)a.ch=1;if(e)a.sh=1;if(k)a.fl=1;if(n)a.rl=1;a.style.zIndex=c;var d,h=a.childNodes;for(var f=0;f<h.length;f++){var b=h[f];if(b.tagName=="A"){d=b;b[g]=qm_oo;b.qmts=j;if(c==1&&o){b.style.styleFloat="none";b.style.cssFloat="none"}}if(b.tagName=="DIV"){if(window.showHelp&&!window.XMLHttpRequest)h[f].insertAdjacentHTML("afterBegin","<span class='qmclear'> </span>");x2("qmparent",d,1);d.cdiv=b;b.idiv=d;if(qm_n&&qm_v<8&&!b.style.width)b.style.width=b.offsetWidth+"px";new qm_create(b,null,j,i,m,n,e,k,l,c+1)}}}function qm_bo(){clearTimeout(qm_tt);qm_tt=null;if(qm_li&&!qm_tt)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 qm_oo(e,o,nt){if(!o)o=this;if(window.qmad&&qmad.bhover&&!nt)eval(qmad.bhover);if(window.qmwait){qm_kille(e);return}clearTimeout(qm_tt);qm_tt=null;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}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])qm_uo(a);else break}var b=o,c=o.cdiv;if(b.cdiv){var aw=b.offsetWidth,ah=b.offsetHeight,ax=b.offsetLeft,ay=b.offsetTop;if(c[qp].ch){aw=0;if(c.fl)ax=0}else{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){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)}function qm_gcs(b,d,c){var a;if(document.defaultView&&document.defaultView.getComputedStyle)a=document.defaultView.getComputedStyle(b,null).getPropertyValue(d);else if(b.currentStyle)a=b.currentStyle[c];if(a&&!isNaN(a=parseInt(a)))return a;else return 0}function x2(b,a,d){var c=a[qc];if(d){if(c.indexOf(b)==-1)a[qc]+=(c?" ":"")+b}else{a[qc]=c.replace(" "+b,"");a[qc]=a[qc].replace(b,"")}}function qm_kille(a){if(!a)a=event;a.cancelBubble=true;if(a.stopPropagation&&!(qm_s&&a.type=="click"))a.stopPropagation()}document.write('<style type="text/css">.qmfv{visibility:visible !important;}.qmfh{visibility:hidden !important;}</style><script type="text/JavaScript">var qmad = new Object();qmad.bvis="";qmad.bhide="";qmad.bhover="";</sc'+"ript>");var a=qmad.qm0={};a.ibullets_apply_to="parent";a.ibullets_main_image_width=13;a.ibullets_main_image_height=13;a.ibullets_main_position_x=-15;a.ibullets_main_position_y=-6;a.ibullets_main_align_x="right";a.ibullets_main_align_y="middle";a.ibullets_sub_image_width=5;a.ibullets_sub_image_height=5;a.ibullets_sub_position_x=-10;a.ibullets_sub_position_y=-3;a.ibullets_sub_align_x="left";a.ibullets_sub_align_y="middle";a.tree_expand_animation=2;a.tree_expand_step_size=8;a.tree_collapse_animation=3;a.tree_collapse_step_size=15;a.tree_width=200;a.tree_sub_sub_indent=15;a.tree_hide_focus_box=true;a.tree_auto_collapse=true;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.tree={};if(qmad.bvis.indexOf("qm_tree_item_click(b.cdiv);")==-1){qmad.bvis+="qm_tree_item_click(b.cdiv);";qm_tree_init_styles()}if(window.attachEvent)window.attachEvent("onload",qm_tree_init);else if(window.addEventListener)window.addEventListener("load",qm_tree_init,1);function qm_tree_init_styles(){var f,g;if(qmad){var a;for(a in qmad){if(a.indexOf("qm")!=0||a.indexOf("qmv")+1)continue;var b=qmad[a];if(b&&b.tree_width){var e="";if(window.showHelp)e="zoom:1;";var d="";if(qm_s2)d="display:none;position:relative;";var c='<style type="text/css">.qmistreestyles'+a+"{} #"+a+"{position:relative !important;} #"+a+" a{float:none !important;white-space:normal !important;}#"+a+" div{width:auto !important;left:0px !important;top:0px !important;overflow:hidden;"+d+e+"border-top-width:0px !important;border-bottom-width:0px !important;margin-left:0px !important;margin-top:0px !important;}";c+="#"+a+"{width:"+b.tree_width+"px;}";if(b.tree_sub_sub_indent)c+="#"+a+" div div{padding-left:"+b.tree_sub_sub_indent+"px}";document.write(c+"</style>")}}}}function qm_tree_init(e,d){var a=qmad.tree,f,g,c;for(c in qmad){if(c.indexOf("qm")!=0||c.indexOf("qmv")+1||!isNaN(d)&&d!=c)continue;var b=qmad[c];if(b&&b.tree_width){a.estep=b.tree_expand_step_size;if(!a.estep)a.estep=1;a.cstep=b.tree_collapse_step_size;if(!a.cstep)a.cstep=1;a.acollapse=b.tree_auto_collapse;a.no_focus=b.tree_hide_focus_box;a.etype=b.tree_expand_animation;if(!a.etype)a.etype=0;a.ctype=b.tree_collapse_animation;if(!a.ctype)a.ctype=0;if(qmad.br_oldnav){a.etype=0;a.ctype=0}qm_tree_init_items(document.getElementById(c))}c++}}function qm_tree_init_items(c){var g,f,d=qmad.tree,a;a=c.childNodes;for(var b=0;b<a.length;b++)if(a[b].tagName=="A"){if(a[b].cdiv){a[b].cdiv.ismove=1;a[b].cdiv.qmtree=1}if(!a[b].onclick){a[b].onclick=a[b].onmouseover;a[b].onmouseover=null}if(d.no_focus)a[b].onfocus=function(){this.blur()};if(a[b].cdiv)new qm_tree_init_items(a[b].cdiv,1);if(a[b].getAttribute("qmtreeopen"))qm_oo({},a[b],1)}}function qm_tree_item_click(a){var d;if(!a.qmtree&&!((d=window.qmv)&&d.loaded)){var k=qm_get_menu(a).id;if(window.qmad&&qmad[k]&&qmad[k].tree_width)x2("qmfh",a,1);return}if((d=window.qmv)&&(d=d.addons)&&(d=d.tree_menu)&&!d["on"+qm_index(a)])return;x2("qmfh",a);var c=qmad.tree;if(c.timer)return;c.co={};var l="a"+qm_get_level(a),i=false,h=false;if(c.acollapse){var m=qm_get_menu(a),e=m.getElementsByTagName("DIV");for(var b=0;b<e.length;b++)if(e[b].style.position=="relative"&&e[b]!=a){var j=true,f=a[qp];while(!qm_a(f)){if(e[b]==f)j=false;f=f[qp]}if(j){h=true;c.co["a"+b]=e[b];qm_uo(e[b],1)}}}if(a.style.position=="relative"){h=true;c.co["b"]=a;var g=a.getElementsByTagName("DIV");for(var b=0;b<g.length;b++)if(g[b].style.position=="relative"){c.co["b"+b]=g[b];qm_uo(g[b],1)}a.qmtreecollapse=1;qm_uo(a,1);if(window.qm_ibullets_hover)qm_ibullets_hover(null,a.idiv)}else{i=true;if(qm_s2)a.style.display="block";a.style.position="relative";c.eh=a.offsetHeight;a.style.height="0px";x2("qmfv",a,1);x2("qmfh",a);a.qmtreecollapse=0;c.eo=a}qmwait=true;qm_tree_item_expand(i,h,l)}function qm_tree_item_expand(f,e,g){var a=qmad.tree,d=false,b=1;if(e)for(var c in a.co){if(!a.co[c].style.height&&a.co[c].style.position=="relative"){a.co[c].style.height=a.co[c].offsetHeight+"px";a.co[c].qmtreeht=parseInt(a.co[c].style.height)}b=parseInt(a.co[c].offsetHeight/parseInt(a.co[c].qmtreeht)*a.cstep);if(a.ctype==1)b=a.cstep-b+1;else if(a.ctype==2)b=b+1;else if(a.ctype==3)b=a.cstep;if(a.ctype&&parseInt(a.co[c].style.height)-b>0){a.co[c].style.height=parseInt(a.co[c].style.height)-b+"px";d=true}else{a.co[c].style.height="";a.co[c].style.position="";if(qm_s2)a.co[c].style.display="";x2("qmfh",a.co[c],1);x2("qmfv",a.co[c])}}if(f){b=parseInt(a.eo.offsetHeight/a.eh*a.estep);if(a.etype==2)b=a.estep-b;else if(a.etype==1)b=b+1;else if(a.etype==3)b=a.estep;if(a.etype&&a.eo.offsetHeight<a.eh-b){a.eo.style.height=parseInt(a.eo.style.height)+b+"px";d=true;if(window.qmv_position_pointer)qmv_position_pointer()}else{a.eo.qmtreeh=a.eo.style.height;a.eo.style.height="";if(window.qmv_position_pointer)qmv_position_pointer()}}if(d)a.timer=setTimeout("qm_tree_item_expand("+f+","+e+",'"+g+"')",10);else{qmwait=false;a.timer=null}}function qm_get_level(a){lev=0;while(!qm_a(a)&&(a=a[qp]))lev++;return lev}function qm_get_menu(a){while(!qm_a(a)&&(a=a[qp]))continue;return a}qmad.br_navigator=navigator.userAgent.indexOf("Netscape")+1;qmad.br_version=parseFloat(navigator.vendorSub);qmad.br_oldnav6=qmad.br_navigator&&qmad.br_version<7;if(!qmad.br_oldnav6){if(!qmad.ibullets)qmad.ibullets={};if(qmad.bvis.indexOf("qm_ibullets_active(o,false);")==-1){qmad.bvis+="qm_ibullets_active(o,false);";qmad.bhide+="qm_ibullets_active(a,1);";if(window.attachEvent)window.attachEvent("onload",qm_ibullets_init);else if(window.addEventListener)window.addEventListener("load",qm_ibullets_init,1);if(window.attachEvent)document.attachEvent("onmouseover",qm_ibullets_hover_off);else if(window.addEventListener)document.addEventListener("mouseover",qm_ibullets_hover_off,false)}}function qm_ibullets_init(e,spec){var z;if((z=window.qmv)&&(z=z.addons)&&(z=z.item_bullets)&&(!z["on"+qmv.id]&&z["on"+qmv.id]!=undefined&&z["on"+qmv.id]!=null))return;qm_ts=1;var q=qmad.ibullets,a,b,r,sx,sy;z=window.qmv;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.ibullets_main_image||ss.ibullets_sub_image)){q.mimg=ss.ibullets_main_image;if(q.mimg){q.mimg_a=ss.ibullets_main_image_active;if(!z)qm_ibullets_preload(q.mimg_a);q.mimg_h=ss.ibullets_main_image_hover;if(!z)qm_ibullets_preload(q.mimg_a);q.mimgwh=eval("new Array("+ss.ibullets_main_image_width+","+ss.ibullets_main_image_height+")");r=q.mimgwh;if(!r[0])r[0]=9;if(!r[1])r[1]=6;sx=ss.ibullets_main_position_x;sy=ss.ibullets_main_position_y;if(!sx)sx=0;if(!sy)sy=0;q.mpos=eval("new Array('"+sx+"','"+sy+"')");q.malign=eval("new Array('"+ss.ibullets_main_align_x+"','"+ss.ibullets_main_align_y+"')");r=q.malign;if(!r[0])r[0]="right";if(!r[1])r[1]="center"}q.simg=ss.ibullets_sub_image;if(q.simg){q.simg_a=ss.ibullets_sub_image_active;if(!z)qm_ibullets_preload(q.simg_a);q.simg_h=ss.ibullets_sub_image_hover;if(!z)qm_ibullets_preload(q.simg_h);q.simgwh=eval("new Array("+ss.ibullets_sub_image_width+","+ss.ibullets_sub_image_height+")");r=q.simgwh;if(!r[0])r[0]=6;if(!r[1])r[1]=9;sx=ss.ibullets_sub_position_x;sy=ss.ibullets_sub_position_y;if(!sx)sx=0;if(!sy)sy=0;q.spos=eval("new Array('"+sx+"','"+sy+"')");q.salign=eval("new Array('"+ss.ibullets_sub_align_x+"','"+ss.ibullets_sub_align_y+"')");r=q.salign;if(!r[0])r[0]="right";if(!r[1])r[1]="middle"}q.type=ss.ibullets_apply_to;qm_ibullets_init_items(a,1)}}}function qm_ibullets_preload(a){d=document.createElement("DIV");d.style.display="none";d.innerHTML="<img src="+a+" width=1 height=1>";document.body.appendChild(d)}function qm_ibullets_init_items(j,i){var b=qmad.ibullets,c,a;c=j.childNodes;for(var d=0;d<c.length;d++)if(c[d].tagName=="A"){if(window.attachEvent)c[d].attachEvent("onmouseover",qm_ibullets_hover);else if(window.addEventListener)c[d].addEventListener("mouseover",qm_ibullets_hover,false);var h=false;if(b.type!="all"){if(b.type=="parent"&&!c[d].cdiv)h=true;if(b.type=="non-parent"&&c[d].cdiv)h=true}if(!h){if(i)a="m";else a="s";if(b[a+"img"]){var f=document.createElement("IMG");f.setAttribute("src",b[a+"img"]);f.setAttribute("width",b[a+"imgwh"][0]);f.setAttribute("height",b[a+"imgwh"][1]);f.style.borderWidth="0px";f.style.position="absolute";var g=document.createElement("SPAN"),e=g.style;e.display="block";e.position="relative";e.fontSize="1px";e.lineHeight="0px";if(b[a+"align"][0]=="right")e.left=c[d].offsetWidth+parseInt(b[a+"pos"][0])-b[a+"imgwh"][0]+"px";else if(b[a+"align"][0]=="center")e.left=parseInt(c[d].offsetWidth/2)-parseInt(b[a+"imgwh"][0]/2)+parseInt(b[a+"pos"][0])+"px";else e.left=b[a+"pos"][0]+"px";if(b[a+"align"][1]=="bottom")e.top=c[d].offsetHeight+parseInt(b[a+"pos"][1])-b[a+"imgwh"][0]+"px";else if(b[a+"align"][1]=="middle")e.top=parseInt(c[d].offsetHeight/2-parseInt(b[a+"imgwh"][1]/2)+parseInt(b[a+"pos"][1]))+"px";else e.top=b[a+"pos"][1]+"px";g.appendChild(f);c[d].qmibullet=c[d].insertBefore(g,c[d].firstChild);c[d]["qmibullet"+a+"a"]=b[a+"img_a"];c[d]["qmibullet"+a+"h"]=b[a+"img_h"];c[d].qmibulletorig=b[a+"img"];g.setAttribute("qmvbefore",1);g.setAttribute("isibullet",1);if(c[d].className.indexOf("qmactive")+1)qm_ibullets_active(c[d])}}if(c[d].cdiv)new qm_ibullets_init_items(c[d].cdiv)}}function qm_ibullets_hover(b,a){b=b||window.event;if(!a){var a=b.srcElement||b.target;while(a.tagName!="A")a=a[qp]}var e=qmad.ibullets.lasth;if(e&&e!=a)qm_ibullets_hover_off({},e);if(a.className.indexOf("qmactive")+1)return;var g=a.qmibullet,c=a.qmibulletmh,d=a.qmibulletsh;if(g&&(c||d)){var f=c;if(d&&d!=undefined)f=d;if(c&&c!=undefined)f=c;g.firstChild.src=f;qmad.ibullets.lasth=a}if(b)qm_kille(b)}function qm_ibullets_hover_off(b,a){if(!a)a=qmad.ibullets.lasth;if(a&&a.className.indexOf("qmactive")==-1)if(a.firstChild&&a.firstChild.getAttribute&&a.firstChild.getAttribute("isibullet"))a.firstChild.firstChild.src=a.qmibulletorig}function qm_ibullets_active(b,f){var g=b.qmibullet,c=b.qmibulletma,d=b.qmibulletsa;if(!f&&b.className.indexOf("qmactive")==-1)return;if(f&&b.idiv){var a=b.idiv;if(a&&a.qmibulletorig)if(a.firstChild&&a.firstChild.getAttribute&&a.firstChild.getAttribute("isibullet"))a.firstChild.firstChild.src=a.qmibulletorig}else if(g&&(c||d)){var e=c;if(d&&d!=undefined)e=d;if(c&&c!=undefined)e=c;g.firstChild.src=e}}