q82=null;q93=null;q94=null;q95=null;sub_q98="";item_q98="";onload_finished=false;device_zoomx=0;device_zoomy=0;q154=(navigator.appVersion.indexOf("3.0")!=-1);strict=((!q154)&&(document.compatMode=="CSS1Compat"));document.onmousemove=cs_handleMouseMove;attachEvent("onresize",cs_handleResize);attachEvent("onload",cs_handleOnload);q18=q100();for(m=0;m<q18;m++)if(q105[m])q0(m+"");for(j=0;j<q19.length;j++)q0(q19[j]);write_mainbar();;function write_mainbar(){sd="<div id='dqmbar' style='position:absolute;z-index:900;visibility:hidden;top:0;left:0;'>";mitemx=0;mitemy=0;if(cs_main_use_dividers)cs_main_item_gap=0;max_h=0;max_w=0;for(i=0;i<q18;i++){if((mitemh=q15("cs_main_height",0,i))>max_h)max_h=mitemh;if((mitemw=q15("cs_main_width",0,i))>max_w)max_w=mitemw;}for(i=0;i<q18;i++){mitemw=q15("cs_main_width",0,i);mitemh=q15("cs_main_height",0,i);q130=q15("cs_main_text_alignment",0,i);mbgc=q15("cs_main_bgcolor",0,i);mhlbgc=q15("cs_main_hl_bgcolor",0,i);mtc=q15("cs_main_textcolor",0,i);mhltc=q15("cs_main_hl_textcolor",0,i);mtd=q15("cs_main_textdecoration",0,i);mhltd=q15("cs_main_hl_textdecoration",0,i);mff=q15("cs_main_fontfamily",0,i);mfs=q15("cs_main_fontsize",0,i);mfw=q15("cs_main_fontweight",0,i);mft=q15("cs_main_fontstyle",0,i);mtm=q15("cs_main_margin_top",0,i);mbm=q15("cs_main_margin_bottom",0,i);mbc=q15("cs_main_border_color",0,i);iid=-1;tval=window["cs_micon_index"+i];if((tval || tval==0)&& window["cs_icon_image"+tval]){iid=tval;q52=q33(q16("cs_icon_image_wh"+iid));q51=window["cs_icon_rollover"+iid];}if(cs_align_items_bottom_and_right){if(cs_main_horizontal)mitemy=max_h-mitemh;else mitemx=max_w-mitemw;}q47=" font-style:"+mft+";font-weight:"+mfw+";font-size:"+mfs+"px;font-family:"+mff+";padding-left:"+cs_main_margin_left+"px;padding-right:"+cs_main_margin_right+"px;padding-top:"+mtm+"px;padding-bottom:"+mbm+"px;";dibw=cs_main_border_width;sd+="<div align='"+q130+"' style='position:absolute;cursor:pointer;top:"+mitemy+"px;left:"+mitemx+"px;width:"+(mitemw+(dibw*2))+"px;height:"+(mitemh+(dibw*2))+"px;";if(mbc!="transparent")sd+="background-color:"+mbc+";";sd+="'>";ttn=0;tbn=0;if((q154)||(strict)){ttn=cs_main_margin_left+cs_main_margin_right;tbn=mbm+mtm;}sd+="<div  id='menu"+i+"' style='position:absolute;top:"+dibw+"px;left:"+dibw+"px;width:"+(mitemw-ttn)+"px;height:"+(mitemh-tbn)+"px;";if(mbgc!="transparent")sd+="background-color:"+mbgc+";";sd+=" color:"+mtc+";text-decoration:"+mtd+";";sd+=q47;sd+="'>";q125="";if(iid>-1) q125="<img src='"+q16("cs_icon_image"+iid)+"' border=0 width='"+q52[0]+"' height='"+q52[1]+"'>";tval=q16("cs_maindesc"+i);(q130=="right")? sd+=tval+q125:sd+=q125+tval;sd+=get_abs_iconstring(true,i,mitemw,0,cs_main_margin_left,cs_main_margin_right,q130)+"</div>";sd+="<div id='qmim"+i+"'   onclick=\"q32('"+i+"')\" align='"+q130+"' style='position:absolute;cursor:pointer;visibility:hidden;top:"+dibw+"px;left:"+dibw+"px;width:"+(mitemw-ttn)+"px;height:"+(mitemh-tbn)+"px;";if(mhlbgc!="transparent")sd+="background-color:"+mhlbgc+";";sd+=" color:"+mhltc+";text-decoration:"+mhltd+";";sd+=q47;sd+="'>";q125="";if(iid>-1) q125="<img src='"+q51+"' border=0 width='"+q52[0]+"' height='"+q52[1]+"'>";tval=q15("cs_hl_maindesc"+i,q16("cs_maindesc"+i));(q130=="right")? sd+=tval+q125:sd+=q125+tval;sd+=get_abs_iconstring(false,i,mitemw,0,cs_main_margin_left,cs_main_margin_right,q130)+"</div>";sd+="</div>";if((!cs_main_use_dividers)||(i==(q18-1)))dibw=(dibw*2);if(cs_main_horizontal)mitemx+=mitemw+dibw+cs_main_item_gap;else mitemy+=mitemh+dibw+cs_main_item_gap;}sd+="</div>";document.write(sd);};function cs_generate_menu(){dibw=cs_main_border_width;max_h=0;max_w=0;tot_h=0;tot_w=0;for(i=0;i<q18;i++){if((mitemh=q15("cs_main_height",0,i))>max_h)max_h=mitemh;if((mitemw=q15("cs_main_width",0,i))>max_w)max_w=mitemw;tot_h+=mitemh;tot_w+=mitemw;}max_h+=dibw*2;max_w+=dibw*2;the_w=max_w;the_h=max_h;if(cs_main_horizontal){the_w=tot_w;if(cs_main_use_dividers)the_w+=(q18*dibw)+dibw;else the_w+=(q18*(dibw*2))+((q18-1)*cs_main_item_gap);}else {the_h=tot_h;if(cs_main_use_dividers)the_h+=(q18*dibw)+dibw;else the_h+=(q18*(dibw*2))+((q18-1)*cs_main_item_gap);}document.write("<img id='imgbar' src='"+cs_imgpath+"pcs_spacer.gif' width="+the_w+" height="+the_h+">")};function q0(mindex){level=0;i=0;while((i=mindex.indexOf("_",i+1))>-1)level++;bw=q15("cs_border_width",0,mindex);q50=q15("cs_sub_menu_width",0,mindex);bc=q15("cs_border_color",0,mindex);dh=q15("cs_divider_height",0,mindex);hltc=q15("cs_hl_textcolor",0,mindex);q144=q15("cs_textcolor",0,mindex);sd="<div id=qm"+mindex+" style='z-index:900"+level+";cursor:pointer;position:absolute;top:"+0+"px;left:"+0+"px;visibility:hidden;width:"+q50+"px;";if(bc!="transparent")sd+=" background-color:"+bc+";";sd+="'>";i=0;while(q16("window.cs_subdesc"+mindex+"_"+i)){id=mindex+"_"+i;if(q16("window.cs_subdesc"+id+"_0"))q19=q19.concat(new Array(id));iid=-1;tval=q16("window.cs_icon_index"+mindex+"_"+i);if((tval || tval==0)&& q16("window.cs_icon_image"+tval)){iid=tval;q52=q33(q16("cs_icon_image_wh"+iid));q51=q16("window.cs_icon_rollover"+iid);}if((q154)||(strict))ttn=cs_margin_left+cs_margin_right;else ttn=0;if(!q150 && q145)ttn=0;q47="style='position:absolute;cursor:hand;left:"+bw+"px;top:"+bw+"px;width:"+(q50-(bw*2)-ttn)+"px;";q48=" font-style:"+cs_fontstyle+";font-weight:"+cs_fontweight+";font-size:"+cs_fontsize+"px;font-family:"+cs_fontfamily+";padding-left:"+cs_margin_left+"px;padding-right:"+cs_margin_right+"px;padding-top:"+cs_margin_top+"px;padding-bottom:"+cs_margin_bottom+"px;";q49="";if(iid>-1)q49="' border=0 width='"+q52[0]+"' height='"+q52[1]+"'>";q92=q15("cs_menu_bgcolor",0,mindex);mbgc_hl=q15("cs_hl_bgcolor",0,mindex);q130=q15("cs_text_alignment",0,mindex);sd+="<div align='"+q130+"' id=qmitemst"+id+" "+q47+" background-color:"+q92+";";sd+=q48+" text-decoration:"+cs_textdecoration+";color:"+q144+";'>";q125="";if(iid>-1)q125="<img src='"+q16("cs_icon_image"+iid)+q49;tval=q16("cs_subdesc"+id);(q130=="right")? sd+=tval+q125:sd+=q125+tval;sd+=get_abs_iconstring(true,id,q50,bw,cs_margin_right,cs_margin_left,q130)+"</div>";sd+="<div align='"+q130+"' id=qmitemhl"+id+" "+q47+" visibility:hidden;background-color:"+mbgc_hl+";";sd+=q48+" text-decoration:"+cs_hl_textdecoration+";color:"+hltc+";"+item_q98;sd+="' onclick=\"q32('"+id+"')\">";q125="";if(iid>-1)q125+="<img src='"+q51+q49;tval=q15("cs_hl_subdesc"+id,q16("cs_subdesc"+id));(q130=="right")? sd+=tval+q125:sd+=q125+tval;sd+=get_abs_iconstring(false,id,q50,bw,cs_margin_right,cs_margin_left,q130)+"</div>";i++;}document.write(sd+"</div>");};function get_abs_iconstring(z_static,id,item_width,bw,tmright,tmleft,q130){q131="";q132="";q129="";q134="";tval=window["cs_second_icon_index"+id];if((tval || tval==0)&& window["cs_second_icon_image"+tval]){q126=tval;q127=q33(q16("cs_second_icon_image_wh"+q126));q128=q33(q16("cs_second_icon_image_xy"+q126));q129=q16("cs_second_icon_rollover"+q126);q134=q16("cs_second_icon_image"+q126);(q130=="left")? tval=(item_width-(bw*2)-tmright-q127[0]+q128[0]):tval=bw+tmleft+q128[0];q131="<img style='position:absolute;top:"+q128[1]+"px;left:"+tval+"px;' src='";q132="' width='"+q127[0]+"' height='"+q127[1]+"'>";}if(z_static)return q131+q134+q132;else return q131+q129+q132;};function q1(id,main){sub=q141("qm"+id);if(!q145)subc=sub.getElementsByTagName("div");else subc=sub.children;bw=q15("cs_border_width",0,id);dh=q15("cs_divider_height",0,id);q140=0;if(q145 && q150)q140=cs_margin_top+cs_margin_bottom;ih=bw;for(j=0;j<subc.length;j=j+2){subc[j].style.top=ih+"px";subc[j+1].style.top=ih+"px";ih+=subc[j].offsetHeight+dh+q140;if(j>subc.length-3)ih -=dh;}ih+=bw;sub.style.height=ih+"px";sub.lasthl=null;sub.q60=null;sxy=q33(q15("cs_sub_xy"+id,cs_sub_xy));if(main){if(!q145)q140=document.getElementById("menu"+id);else q140=eval("document.menu"+id);if(q140){q85=q141("menu"+id);tc=q17(q85);sub.style.left=tc.x+sxy[0]+q85.offsetWidth+"px";sub.style.top=tc.y+sxy[1]+"px";}}else {psub=q141("qm"+id.substring(0,id.lastIndexOf("_")));if(q145)nenuzz=parseInt(q141("qmitemst"+id).style.top);else nenuzz=q141("qmitemst"+id).offsetTop;sub.style.left=psub.offsetLeft+psub.offsetWidth+sxy[0]+"px";sub.style.top=psub.offsetTop+nenuzz+sxy[1]+"px";}};function q103(){q140=q141("dqmbar");q87=q17(q141("imgbar"));q140.style.left=q87.x;q140.style.top=q87.y;q140.style.visibility="visible";};function q4(menu){q141("qmitemhl"+menu.lasthl).style.visibility="hidden";q122(true);menu.lasthl=null;};function q5(menu,hl_id){q30(menu);q141("qmitemhl"+hl_id).style.visibility="visible";q122(false,hl_id);q86=menu.q60;if((q86!=null)&&(hl_id!=q86)){q141("qmitemhl"+q86).style.visibility="hidden";q6(q86);}menu.q60=null;if(popIt(hl_id))menu.q60=hl_id;menu.lasthl=hl_id;q95=menu;};function q111(){if(q93!=null)clearTimeout(q93);};function detectSource(o){if(!q145)q64=o.parentNode;else q64=o.parentElement;while(q64 !=null){if(q64.id!="")return q64.id;if(!q145)q64=q64.parentNode;else q64=q64.parentElement;}return "";};function cs_handleMouseMove(e){if(!q61){if((q145)&&(onload_finished)){cs_handleOnload();q61=true;}return;}if(!q145){q84=e.target.id;q81=detectSource(e.target);}else {q84=event.srcElement.id;q81=detectSource(event.srcElement);}if(!q81)q81="";if(!q84)q84="";tid="n";if((q84.indexOf("menu")>-1)||(q81.indexOf("menu")>-1)){q111();if(q84.indexOf("menu")>-1)tid=q84.substring(4);else tid=q81.substring(4);q79(tid);}else {if(q84.indexOf("qmitem")>-1)tid=q84;else  if(q81.indexOf("qmitem")>-1)tid=q81;else {if((q82!=null)&&((q84.indexOf("qm")<0)&&(q81.indexOf("qm")<0))){q122(true); q94=q82;if(q95!=null)q30(q95);q111();(q105[q94])? q93=setTimeout("q96()",cs_mouse_off_delay):q96();return;}if(q84.indexOf("qmim")>-1){q111();q84=q84.substring(4);q122(false,q84);if(q105[q84])q89(q84);return;}}q111();if(tid.indexOf("st")>-1){tid=tid.substring(8);q5(q141("qm"+tid.substring(0,tid.lastIndexOf("_"))),tid);return;}else  if(tid.indexOf("qmitemhl")>-1){tid=tid.substring(8);q90=q141("qm"+tid.substring(0,tid.lastIndexOf("_")));if(q90.q60!=null){q122(false,tid);q89(tid);}}}};function q89(index){q91=q141("qm"+index);if(q91.q60!=null){q6(q91.q60);q91.q60=null;}q30(q91);};function q79(id){if(q82!=id){if(q82!=null){if(eval("window.cs_subdesc"+q82+"_0"))q6(q82);q142(q82);}q141("qmim"+id).style.visibility="visible";popIt(id);q82=id;if(eval("window.cs_showmenu_code"+q82))eval(eval("cs_showmenu_code"+q82));}};function popIt(id){if(q15("cs_subdesc"+id+"_0",null)!=null){q141("qm"+id).style.visibility="visible";return true;}};function q96(){q6(q94);q142(q82);q82=null;};function q142(uid){q141("qmim"+uid).style.visibility="hidden";eval(eval("window.cs_hidemenu_code"+uid));};function q6(id){if(eval("window.cs_subdesc"+id+"_0")){tm=q141("qm"+id);tm.style.visibility="hidden";if(tm.lasthl!=null)q141("qmitemhl"+tm.lasthl).style.visibility="hidden";ts=tm.q60;if(ts!=null){q141("qmitemhl"+tm.q60).style.visibility="hidden";tm.q60=null;q6(ts);}}};function hideMenu(e){return;};function showMenu(e){return;};function q15(pname,rv,id){tindex="";if(id || id==0){tindex=id;rv=q16(pname);}if(q16("window."+pname+tindex))return q16(pname+tindex);else return rv;};function q16(id){return eval(id);};function q141(id){if(!q145)return document.getElementById(id);else return eval(id);};function cs_handleResize(){q103();for(i=0;i<q18;i++){if(q105[i])q1(i,true);}for(i=0;i<q19.length;i++)q1(q19[i],false);};function q17(o){q70=new Object();q70.x=o.offsetLeft;q70.y=o.offsetTop;if(q150 && q145)q64=o.parentElement;else q64=o.offsetParent;while(q64 !=null){q70.y+=q64.offsetTop;q70.x+=q64.offsetLeft;if((!q145)&&(q64.border)){if(parseInt(q64.border)>0){q70.y+=1;q70.x+=1;}}if(q150 && q145)q64=q64.parentElement;else q64=q64.offsetParent;}return q70;};function cs_handleOnload(){if(q61)return;cs_handleResize();if(!q150 || !q145)q61=true;onload_finished=true;device_ZoomHandler();eval(window.cs_onload_code);};function q27(uid){eval("q16(qmim"+uid+")."+q59);eval(eval("window.cs_hidemenu_code"+uid));};function device_ZoomHandler(){    zobj=q17(document.menu0);defaultStatus=zobj.x;if(zobj.x!=device_zoomx || zobj.y!=device_zoomy){device_zoomx=zobj.x;device_zoomy=zobj.y;cs_handleResize();}setTimeout('device_ZoomHandler()',500);}
