
var wysiwyg=true;dt=document;function isDefined(o,v){return(typeof(eval(o)[v])!="undefined")}function isArray(a){return a.constructor==Array}function $$(a){if(document.getElementById){return document.getElementById(a)}else{if(document.all){return document.all[a]}else{if(document.layers){return getObjNN4(document,a)}}}}function getObj(a){if(document.getElementById){this.style=(this.obj=document.getElementById(a))?this.obj.style:null}else{if(document.all){this.style=(this.obj=document.all[a])?this.obj.style:null}else{if(document.layers){this.obj=getObjNN4(document,a);this.style=this.obj}}}}function getObjNN4(e,g){var a=e.layers,d;for(var c=0;c<a.length;c++){if(a[c].id==g){d=a[c]}else{if(a[c].layers.length){var b=getObjNN4(a[c],g)}}if(b){d=b}}return d}function cloneObject(b){for(var a in b){this[a]=(typeof(b[a])=="object")?new cloneObject(b[a]):b[a]}}function debugStatus(){var a=(isDefined("window","starttime")&&isDefined("window","endtime"))?"; Client Parse time: "+(((endtime-starttime)).toString()+" ms"):"";if(isDefined("window","debug_status")&&debug_status!=""){window.status=debug_status+a+"."}}function DSLogin(c,b,a){SetCookie("dynsim_u",c,a);SetCookie("dynsim_p",b,a)}function fbl(a){if(css){a.style.background=o_e_bg;a.style.color=o_e_col}window.status=""}function ffo(e,d,b,a){if(css){o_e_bg=e.style.background;o_e_col=e.style.color;e.style.background=b;e.style.color=d}if(a!=false){window.status=a}}function getPos(c,a){var b=0;while(c!=null){b+=c["offset"+a];c=c.offsetParent}return b}function GetE(a){return $$(a)}function ShowE(b,a){if(typeof(b)=="string"){b=GetE(b)}b.style.display=a?"":"none"}function SetAttribute(b,c,a){if(attValue==null||c.length==0){b.removeAttribute(c,0)}else{b.setAttribute(c,a,0)}}function GetAttribute(d,e,a){var b=d.attributes[e];if(b==null||!b.specified){return a?a:""}var c=d.getAttribute(e,2);return(c==null?a:c)}function findObj(f,e){var c,b,a;if(!e){e=dt}if((c=f.indexOf("?"))>0&&parent.frames.length){e=parent.frames[f.substring(c+1)].d;f=f.substring(0,c)}if(!(a=e[f])&&e.all){a=e.all[f]}for(b=0;!a&&b<e.forms.length;b++){a=e.forms[b][f]}for(b=0;!a&&e.layers&&b<e.layers.length;b++){a=findObj(f,e.layers[b].d)}if(!a&&e.getElementById){a=e.getElementById(f)}return a}function numbersOnly(b){var c=(b)?b:window.event;if(c.shiftKey){return false}var a=c.keyCode?c.keyCode:(c.charCode?c.charCode:c.which);if(a!=null){a=parseInt(a,10);return(a>47&&a<58)||(a>95&&a<106)||(a>16&&a<21)||(a>34&&a<41)||a==8||a==9||a==13||a==45||a==46}return true}function shlayers(){var d,e,c,f,b=shlayers.arguments;for(d=0;d<(b.length-2);d+=3){if((f=findObj(b[d]))!=null){c=b[d+2];if(f.style){f=f.style;c=(c=="show")?"visible":(c="hide")?"hidden":c}if(c=="show"){f.visibility="visible"}f.visibility=c}}}function preloadImages(){var m=document;if(m.images){if(!m.DS_p){m.DS_p=new Array()}var h,g=m.DS_p.length,e=preloadImages.arguments,c=e.length;for(h=0;h<c;h++){if(isArray(e[h])){var f=0,b=e[h].length;while(f<b){e[c++]=e[h][f++]}e[h]=0}else{if(e[h].indexOf("#")!=0){m.DS_p[g]=new Image;m.DS_p[g++].src=e[h]}}}}}function setImage(e,c,a,b){var d=$$(e);if(d){d.src=c;d.width=a;d.height=b}}function setRadioValue(d,a){if(!d){return}var b=d.length;if(b==undefined){d.checked=(d.value==a.toString())}else{for(var c=0;c<b;c++){d[c].checked=(d[c].value==a.toString())}}}function swapImage(){swapImgRestore();var e,d=0,b,c=swapImage.arguments;document.DS_sr=new Array;for(e=0;e<(c.length-2);e+=3){if((b=$$(c[e]))!=null){if(b.tagName.toLowerCase()!="img"){var f=b.getElementsByTagName("img");if(f.length>0){b=f[0]}else{return}}document.DS_sr[d++]=b;if(!b.oSrc){b.oSrc=b.src}b.src=c[e+2]}}}function swapImgRestore(){var d,b,c=document.DS_sr;for(d=0;c&&d<c.length&&(b=c[d])&&b.oSrc;d++){b.src=b.oSrc}}function showHideById(c,a){var b=a?(navigator.appName=="Microsoft Internet Explorer"?"block":"table-row"):"none";obj=$$(c);obj.style.display=b}function buildLayers(){buildMenus()}function checkPageWidth(g){var f=$$(g);if(f){maxPageWidth=getPos(f,"Left")+f.offsetWidth}else{var d=0,b=["hd","bd","ft","ds-main"],e=0;for(var c=0;c<4;++c){if(f=$$(b[c])){e=getPos(f,"Left")+f.offsetWidth;if(e>d){d=e}}}if(d>0){maxPageWidth=d}}setTimeout('checkPageWidth("'+g+'")',1000)}function strToInt(e){var d=typeof(e);if(d=="number"){return e}else{if(d!="string"){return 0}}var d=0;var g=[0,1,2,3,4,5,6,7,8,9];for(var b=0;b<e.length;b++){var f=e.charAt(b);for(var a=0;a<g.length;a++){if(f==g[a]){d*=10;d+=f*1}}}return d}function fixpr(f){f=""+f;var h=[0,1,2,3,4,5,6,7,8,9,"."];var e="";for(var d=0;d<f.length;d++){var g=f.charAt(d);if(g==","){g="."}for(var b=0;b<h.length;b++){if(g==h[b]){e+=h[b];break}}}if((e.charAt(e.length-1))=="."){e=e.substring(0,e.length-1)}e=""+(Math.round(e*100)/100);var a=e.indexOf(".");if(a<0){e+=".00"}else{if(a+2==e.length){e+="0"}}return e}function jump(a,b){openUrl(a,b)}function openUrl(u,t){if(u.length>0){if(u.substr(0,3)=="js:"){eval(u.substr(3))}else{if(u.substr(0,7)=="_blank:"){window.open(u.substr(7),"_blank")}else{if(typeof(t)!="undefined"&&t!=""){window.open(u,t)}else{window.location=u}}}}}function openDialog(){var d=openDialog.arguments,c=d.length>1?d[1]:400,e=d.length>2?d[2]:500;if(d.length>3){__dialogCallback=d[3]}else{__dialogCallback=dialogCallback}var i=(screen.width-c)/2;var g=(screen.height-e)/2;var b="toolbar=no,status=no,resizable=yes,dependent=yes";b+=",width="+c;b+=",height="+e;b+=",left="+i;b+=",top="+g;var f=window.open(d[0],"DynsimDialog",b)}function DSBrowserCheck(){var a=navigator.appName;if(a=="Netscape"){this.b="ns"}else{if(a=="Microsoft Internet Explorer"){this.b="ie"}else{this.b=a}}this.version=navigator.appVersion;this.v=parseInt(this.version);this.ns=(this.b=="ns"&&this.v>=4);this.ns4=(this.b=="ns"&&this.v==4);this.ns5=(this.b=="ns"&&this.v==5);this.ie=(this.b=="ie"&&this.v>=4);this.ie4=(this.version.indexOf("MSIE 4")>0);this.ie5=(this.version.indexOf("MSIE 5")>0);this.min=(this.ns||this.ie);this.dom=document.getElementById?1:0}DSB=new DSBrowserCheck();function calendarW(c){var f=$$(c+"_year").value,a=$$(c+"_month").value,e=$$(c+"_day").value;openDialog("?p=calendarpop&obj="+c+"&y="+f+"&m="+a+"&sel="+f+"."+a+"."+e,340,220,function(){})}window.setDateObj=function(c,f,a,e){$$(c+"_year").value=f;$$(c+"_month").value=a<10?"0"+a:a;$$(c+"_day").value=e<10?"0"+e:e};function quiz_sel(q,a){eval("i=0;while(document.quiz.q"+q+"[i].value!=a)i++;document.quiz.q"+q+"[i].checked=true;")}function quiz_check(){var i=1;while(i<=document.quiz.questions.value){eval("obj=document.quiz.q"+i+";");if(obj!=undefined){chk=false;for(j=0;j<obj.length;j++){chk|=obj[j].checked}if(!chk){alert("Vraag "+i+" is niet ingevuld!");return false}}i++}document.quiz.submit()}css=(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)>=4);function SetCookie(f,b,c){var d="";if(c){var a=new Date();a.setTime(a.getTime()+(c*1000));d=";expires="+a.toGMTString()}dt.cookie=f+"="+b+d+";path=/"}function sc(c,b,a){SetCookie(c,b,a*60)};function DSLayer(id,nestref,frame){if(!DSB.ns5&&!DSLayer.set&&!frame){DSLayerInit()}this.frame=frame||self;this.api=new getObj(id);this.elm=this.api.obj;this.css=this.api.style;this.w=null;if(DSB.ns){if(DSB.ns4){this.event=this.css;this.doc=this.css.document}else{if(DSB.ns5){this.doc=document}}this.x=this.css.left;this.y=this.css.top;this.w=this.css.clip.width;this.h=this.css.clip.height;if(this.w==null&&this.css.width!=null){this.w=this.css.width;this.h=this.css.height}}else{if(DSB.ie){this.event=this.elm;this.doc=document;this.x=this.elm.offsetLeft;this.y=this.elm.offsetTop;this.w=(DSB.ie4)?this.css.pixelWidth:this.elm.offsetWidth;this.h=(DSB.ie4)?this.css.pixelHeight:this.elm.offsetHeight}}if((this.w==null||isNaN(parseInt(this.w)))&&DSB.dom){this.event=this.elm;this.doc=document;this.x=this.elm.offsetLeft;this.y=this.elm.offsetTop;this.w=this.elm.offsetWidth;this.h=this.elm.offsetHeight}this.x=parseInt(this.x,10);this.y=parseInt(this.y,10);this.w=parseInt(this.w,10);this.h=parseInt(this.h,10);this.id=id;this.nestref=nestref;this.obj=id+"DSLayer";eval(this.obj+"=this")}function DSLayerMoveTo(a,b){if(a!=null){this.x=a;if(DSB.ns){this.css.left=this.x+"px"}else{this.css.pixelLeft=this.x}}if(b!=null){this.y=b;if(DSB.ns){this.css.top=this.y+"px"}else{this.css.pixelTop=this.y}}}function DSLayerMoveBy(a,b){this.moveTo(this.x+a,this.y+b)}function DSLayerShow(){this.css.visibility=(DSB.ns4)?"show":"visible"}function DSLayerHide(){this.css.visibility=(DSB.ns4)?"hide":"hidden"}DSLayer.prototype.moveTo=DSLayerMoveTo;DSLayer.prototype.moveBy=DSLayerMoveBy;DSLayer.prototype.show=DSLayerShow;DSLayer.prototype.hide=DSLayerHide;DSLayerTest=new Function("return true");function DSLayerInit(nestref){if(!DSLayer.set){DSLayer.set=true}if(DSB.ns){if(nestref){ref=eval("document."+nestref+".document")}else{nestref="";ref=document}for(var i=0;i<ref.layers.length;i++){var divname=ref.layers[i].name;DSLayer.nestRefArray[divname]=nestref;var index=divname.indexOf("Div");if(index>0){eval(divname.substr(0,index)+' = new DSLayer("'+divname+'","'+nestref+'")')}if(ref.layers[i].document.layers.length>0){DSLayer.refArray[DSLayer.refArray.length]=(nestref=="")?ref.layers[i].name:nestref+".document."+ref.layers[i].name}}if(DSLayer.refArray.i<DSLayer.refArray.length){DSLayerInit(DSLayer.refArray[DSLayer.refArray.i++])}}else{if(DSB.ie){for(var i=0;i<document.all.tags("DIV").length;i++){var divname=document.all.tags("DIV")[i].id;var index=divname.indexOf("Div");if(index>0){eval(divname.substr(0,index)+' = new DSLayer("'+divname+'")')}}}}return true}DSLayer.nestRefArray=new Array();DSLayer.refArray=new Array();DSLayer.refArray.i=0;DSLayer.set=false;function DSLayerWrite(a){if(DSB.ns){if(this.v<5){this.doc.open();this.doc.write(a);this.doc.close()}else{document.getElementById(this.id).innerHTML=a}}else{if(DSB.ie){this.event.innerHTML=a}}}DSLayer.prototype.write=DSLayerWrite;DynLayer=DSLayer;var maxPageWidth=2000;var menus=[];var mbar=[];var menucnt=0;var mbarcnt=0;function DSMStyle(){var a=this;a.exist=true;a.orientation=0;a.XOverlap=16;a.YOverlap=2;a.border=1;a.borderColor="#333";a.splitter=1;a.splitterColor="#333";a.styleIE="";a.styleMoz="";a.mb_height=18;a.mb_width=0;a.item=new DSMItemStyle()}function DSMItemStyle(){var a=this;a.height=19;a.css="menuitem";a.cssHover="menuitemHover";a.bgColor="#fff";a.color="#000";a.bgColorHover="#aaaaff";a.colorHover="#000";a.arrowRight="<b>&gt;</b>&nbsp;";a.arrowLeft="&nbsp;<b>&lt;</b>";a.target="_self"}DSMStyle_Def=new DSMStyle();function mItemOver(a,c,d){a.pos=d;if(c==null){c=a.cstyle}if(c!=null){c.backgroundColor=a.style.item.bgColorHover;mSetItemClass(a,d>=0?d:a.achild,a.style.item.cssHover)}openMenu(a,a);if(d>=0){for(var b=0;b<a.children.length;b++){if(a.children[b].parentpos==d){a.achild=d;openMenu(a.children[b],a)}else{if(a.children[b].visible){hideMenu(a.children[b].docid)}}}}if(a.parent!=null){mItemOver(a.parent,null,-1)}}function mSetItemStyle(menu,pos,name,val){var l="$$(menu.id.substr(0,menu.id.length-4)+'_TD",r=pos+"').style."+name+'="'+val+'"';eval(l+"a"+r);eval(l+"b"+r)}function mSetItemClass(menu,pos,name){var l="$$(menu.id.substr(0,menu.id.length-4)+'_TD",r=pos+"').className=\""+name+'"';eval(l+"a"+r);eval(l+"b"+r)}function mItemOut(a,b,c){a.pos=-1;if(b==null){b=a.cstyle}else{a.sender=null;a.cstyle=b}if(b!=null){b.backgroundColor=a.style.item.bgColor;mSetItemClass(a,c>=0?c:a.achild,a.style.item.css)}closeMenu(a);if(a.parent!=null){mItemOut(a.parent,null)}}var genMenus=new Array();var menuI=0;function generateMenu(data,parent){var s=false;if(data[0].length>=5){if("string"==typeof(data[0][4])){if(isDefined("window",data[0][4])&&isDefined(data[0][4],"exist")&&eval(data[0][4])["exist"]){eval("s="+data[0][4]+";")}}else{if(typeof(s)!="undefined"&&data[0][4].exist){s=data[0][4]}}}if(typeof(s)!="object"){s=parent!=null&&typeof(eval("parent")["style"])=="object"?parent.style:DSMStyle_Def}var o=s.orientation;var id="menu_"+data[0][0];genMenus.push(id);var d="";var width=data[0][1];var children=new Array();var inner='<table cellspacing=0 cellpadding=0 class="dropDownMenu" style="min-width:'+width+';">';if(data.length>1){for(var i=1;i<data.length;i++){var arrow=["",""];var lr=(o==1||o==3||o==6||o==7);arrow[lr?0:1]='<td align="'+(lr?"left":"right")+'" class="'+s.item.css+'" id="'+id+"_TDb"+(i-1)+'">';if(typeof(data[i][2])=="object"){arrow[lr?0:1]+=(lr?s.item.arrowLeft:s.item.arrowRight);children.push(i)}arrow[lr?0:1]+="</td>";inner+=(i>1&&s.splitter>0?'<tr class="splitter" height='+s.splitter+' bgcolor="'+s.splitterColor+'"  onmouseover="mItemOver('+id+",null,"+(i-2)+')" onmouseout="mItemOut('+id+",null,"+(i-2)+')"><td colspan=2></td></tr>':"")+"<tr"+(s.item.height>0?' height="'+s.item.height+'"':"")+' style="cursor:pointer;" onmouseover="mItemOver('+id+",style,"+(i-1)+')" onmouseout="mItemOut('+id+",style,"+(i-1)+')" onclick="openUrl(\''+data[i][1]+"','"+s.item.target+"')\">"+arrow[0]+"<td class="+s.item.css+' id="'+id+"_TDa"+(i-1)+'" style="white-space: nowrap;" nowrap><nobr>&nbsp;'+data[i][0]+"&nbsp;</nobr></td>"+arrow[1]+"</tr>"}}inner+="</table>";var itemcss="";if(DSB.ie){d+="<span id="+id+'_lyr style="z-index:'+(2+(++menuI))+";position:absolute;left:1;top:1;background:#fff;"+itemcss+"visibility:hidden;"+s.styleIE+'">'+inner+"</span>"}else{d+="<div id="+id+'_lyr style="z-index:'+(2+(++menuI))+";position:absolute;left:1;top:1;background:#fff;"+itemcss+"visibility: hidden;"+s.styleMoz+'">'+inner+"</div>"}document.write(d);var obj;eval(id+"=new DSLayer('"+id+"_lyr');obj="+id+";");obj.ready=false;obj.orientation=s.orientation;obj.style=s;obj.parent=parent;obj.docid=id;obj.hiding=false;obj.visible=false;obj.timer=null;obj.cstyle=null;obj.pos=-1;obj.children=new Array();obj.mouseover=data[0].length>1?data[0][2]:"";obj.mouseout=data[0].length>2?data[0][3]:"";for(var i=0;i<children.length;i++){obj.children.push(generateMenu(data[children[i]][2],obj));obj.children[i].parentpos=children[i]-1}obj.ready=true;return obj}function openMenu(id,sender){var o=(id.orientation=(arguments.length>2)?arguments[2]:id.orientation);if(id.ready){if(id.hiding){clearTimeout(id.timer);id.hiding=false}if(id!=sender){var x,y;var w=parseInt(id.w,10);var h=parseInt(id.h,10);if(null!=sender.docid){var o=(id.orientation=sender.orientation);var sx=strToInt(sender.x);var sy=strToInt(sender.y);var sw=strToInt(sender.w);var a=(o%4==0);var ih=0;if(sender.pos>0){var so=$$(sender.docid+"_TDa"+sender.pos);ih=so!=null&&so.offsetTop!=null?ih=so.offsetTop:sender.pos*(id.style.mb_height+id.style.splitter)}x=sx+((a||2==o||5==o)?sw-id.style.XOverlap:-w+id.style.XOverlap);y=sy+((a||1==o||6==o)?id.style.YOverlap:-h+id.style.height+1)+ih;if(x+w>maxPageWidth){x=x+2*w/3<maxPageWidth?maxPageWidth-w:strToInt(sender.x)-w+id.style.XOverlap}}else{x=getPos(sender,"Left");y=getPos(sender,"Top");var sw=sender.offsetWidth;var sh=sender.offsetHeight;switch(o){case 1:x+=sw-w;case 0:y+=sh;break;case 3:x+=sw-w;case 2:y-=h;break;case 5:y+=sh-h;case 4:x+=sw;break;case 7:y+=sh-h;case 6:x-=w;break;default:y+=sh}if(x+w>maxPageWidth){x=maxPageWidth-w}}if(x<0){x=0}if(y<0){y=0}if(x!=id.x||y!=id.y){id.moveTo(x,y)}if(id.mouseover.length>0){eval(id.mouseover)}id.visible=true;id.show()}}}function closeMenu(a){if(a.ready){if(!a.hiding){a.timer=setTimeout("hideMenu('"+a.docid+"')",100);a.hiding=true}}}function hideMenu(name){var obj;eval("obj="+name+";");if(obj.timer!=null){clearTimeout(obj.timer)}obj.timer=null;obj.hide();obj.visible=false;obj.hiding=false;if(obj.mouseout.length>0){eval(obj.mouseout)}for(var i=0;i<obj.children.length;i++){if(obj.children[i].visible){hideMenu(obj.children[i].docid)}}}function menuIsReady(id){return isDefined("window",id)&&isDefined(id,"ready")&&eval(id)["ready"]}function mbover(obj,inx){if(!isDefined("window","mbar")||mbar.length<=inx){return}var omArg=arguments.length>2?","+arguments[2]:"";var vis=false;for(var i=0;i<genMenus.length;i++){if(genMenus[i]!="menu_"+mbar[inx][2]){eval("vis="+genMenus[i]+".visible;");if(vis){hideMenu(genMenus[i])}}}if(mbar[inx][2]!=null&&menuIsReady("menu_"+mbar[inx][2])){eval("openMenu(menu_"+mbar[inx][2]+", obj"+omArg+")")}if(mbar[inx][0]!=null){swapImage(mbar[inx][0],"",mbar[inx][1],1)}}function mbout(obj,inx){if(!isDefined("window","mbar")||mbar.length<=inx){return}if(mbar[inx][2]==null||!menuIsReady("menu_"+mbar[inx][2])){mbrestore(inx)}else{eval("closeMenu(menu_"+mbar[inx][2]+")")}}function mbrestore(a){if(!isDefined("window","mbar")||mbar.length<=a){return}if(mbar[a][1]==null||mbar[a][1]==""){mbhover(a,false,"")}else{swapImgRestore()}}var mbhover_set=[];var mbhover_class=[];function mbhover(inx,hover,hoverclass){if(!isDefined("window","mbar")||mbar.length<=inx){return}var obj=$$("mbitem"+inx);if(hover){if(mbhover_set.length<=inx||!mbhover_set[inx]){for(var i=mbhover_set.length;i<=inx;i++){mbhover_class[inx]="";mbhover_set[inx]=false}if(!mbhover_set[inx]){mbhover_set[inx]=true;if(mbar[inx][2]!=null&&mbar[inx][2].length>0&&menuIsReady("menu_"+mbar[inx][2])){var menu;eval("menu=menu_"+mbar[inx][2]+";");menu.mouseout="mbhover("+inx+",false,'');"+menu.mouseout}mbhover_class[inx]=obj.className}}obj.className=hoverclass}else{obj.className=mbhover_class[inx]}}var menu_gen_pos=0;function buildMenus(){for(var a=menu_gen_pos;a<menus.length;a++){generateMenu(menus[a],null)}menu_gen_pos=menus.length};var dtree_img="/dynsim/img/dtree/";function Node(c,f,a,b,i,g,h,d,e){this.id=c;this.pid=f;this.name=a;this.url=b;this.title=i;this.target=g;this.icon=h;this.iconOpen=d;this._io=e||false;this._is=false;this._ls=false;this._hc=false;this._ai=0;this._p}function dTree(a){this.config={target:null,folderLinks:true,useSelection:true,useCookies:true,useLines:true,useIcons:true,useStatusText:false,closeSameLevel:false,inOrder:false};this.icon={root:dtree_img+"base.gif",folder:dtree_img+"folder.gif",folderOpen:dtree_img+"folderopen.gif",node:dtree_img+"page.gif",empty:dtree_img+"empty.gif",line:dtree_img+"line.gif",join:dtree_img+"join.gif",joinBottom:dtree_img+"joinbottom.gif",plus:dtree_img+"plus.gif",plusBottom:dtree_img+"plusbottom.gif",minus:dtree_img+"minus.gif",minusBottom:dtree_img+"minusbottom.gif",nlPlus:dtree_img+"nolines_plus.gif",nlMinus:dtree_img+"nolines_minus.gif"};this.obj=a;this.aNodes=[];this.aIndent=[];this.root=new Node(-1);this.selectedNode=null;this.selectedFound=false;this.completed=false}dTree.prototype.add=function(c,f,a,b,i,g,h,d,e){this.aNodes[this.aNodes.length]=new Node(c,f,a,b,i,g,h,d,e)};dTree.prototype.openAll=function(){this.oAll(true)};dTree.prototype.closeAll=function(){this.oAll(false)};dTree.prototype.toString=function(){var a='<div class="dtree">\n';if(document.getElementById){if(this.config.useCookies){this.selectedNode=this.getSelected()}a+=this.addNode(this.root)}else{a+="Browser not supported."}a+="</div>";if(!this.selectedFound){this.selectedNode=null}this.completed=true;return a};dTree.prototype.addNode=function(a){var b="";var d=0;if(this.config.inOrder){d=a._ai}for(d;d<this.aNodes.length;d++){if(this.aNodes[d].pid==a.id){var c=this.aNodes[d];c._p=a;c._ai=d;this.setCS(c);if(!c.target&&this.config.target){c.target=this.config.target}if(c._hc&&!c._io&&this.config.useCookies){c._io=this.isOpen(c.id)}if(!this.config.folderLinks&&c._hc){c.url=null}if(this.config.useSelection&&c.id==this.selectedNode&&!this.selectedFound){c._is=true;this.selectedNode=d;this.selectedFound=true}b+=this.node(c,d);if(c._ls){break}}}return b};dTree.prototype.node=function(a,c){var b='<div class="dTreeNode">'+this.indent(a,c);if(this.config.useIcons){if(!a.icon){a.icon=(this.root.id==a.pid)?this.icon.root:((a._hc)?this.icon.folder:this.icon.node)}if(!a.iconOpen){a.iconOpen=(a._hc)?this.icon.folderOpen:this.icon.node}if(this.root.id==a.pid){a.icon=this.icon.root;a.iconOpen=this.icon.root}b+='<img id="i'+this.obj+c+'" src="'+((a._io)?a.iconOpen:a.icon)+'" alt="" />'}if(a.url){b+='<a id="s'+this.obj+c+'" class="'+((this.config.useSelection)?((a._is?"nodeSel":"node")):"node")+'" href="'+a.url+'"';if(a.title){b+=' title="'+a.title+'"'}if(a.target){b+=' target="'+a.target+'"'}if(this.config.useStatusText){b+=" onmouseover=\"window.status='"+a.name+"';return true;\" onmouseout=\"window.status='';return true;\" "}if(this.config.useSelection&&((a._hc&&this.config.folderLinks)||!a._hc)){b+=' onclick="javascript: '+this.obj+".s("+c+');"'}b+=">"}else{if((!this.config.folderLinks||!a.url)&&a._hc&&a.pid!=this.root.id){b+='<a href="javascript: '+this.obj+".o("+c+');" class="node">'}}b+=a.name;if(a.url||((!this.config.folderLinks||!a.url)&&a._hc)){b+="</a>"}b+="</div>";if(a._hc){b+='<div id="d'+this.obj+c+'" class="clip" style="display:'+((this.root.id==a.pid||a._io)?"block":"none")+';">';b+=this.addNode(a);b+="</div>"}this.aIndent.pop();return b};dTree.prototype.indent=function(a,c){var b="";if(this.root.id!=a.pid){for(var d=0;d<this.aIndent.length;d++){b+='<img src="'+((this.aIndent[d]==1&&this.config.useLines)?this.icon.line:this.icon.empty)+'" alt="" />'}(a._ls)?this.aIndent.push(0):this.aIndent.push(1);if(a._hc){b+='<a href="javascript: '+this.obj+".o("+c+');"><img id="j'+this.obj+c+'" src="';if(!this.config.useLines){b+=(a._io)?this.icon.nlMinus:this.icon.nlPlus}else{b+=((a._io)?((a._ls&&this.config.useLines)?this.icon.minusBottom:this.icon.minus):((a._ls&&this.config.useLines)?this.icon.plusBottom:this.icon.plus))}b+='" alt="" /></a>'}else{b+='<img src="'+((this.config.useLines)?((a._ls)?this.icon.joinBottom:this.icon.join):this.icon.empty)+'" alt="" />'}}return b};dTree.prototype.setCS=function(a){var b;for(var c=0;c<this.aNodes.length;c++){if(this.aNodes[c].pid==a.id){a._hc=true}if(this.aNodes[c].pid==a.pid){b=this.aNodes[c].id}}if(b==a.id){a._ls=true}};dTree.prototype.getSelected=function(){var a=this.getCookie("cs"+this.obj);return(a)?a:null};dTree.prototype.s=function(b){if(!this.config.useSelection){return}var a=this.aNodes[b];if(a._hc&&!this.config.folderLinks){return}if(this.selectedNode!=b){if(this.selectedNode||this.selectedNode==0){eOld=document.getElementById("s"+this.obj+this.selectedNode);eOld.className="node"}eNew=document.getElementById("s"+this.obj+b);eNew.className="nodeSel";this.selectedNode=b;if(this.config.useCookies){this.setCookie("cs"+this.obj,a.id)}}};dTree.prototype.o=function(b){var a=this.aNodes[b];this.nodeStatus(!a._io,b,a._ls);a._io=!a._io;if(this.config.closeSameLevel){this.closeLevel(a)}if(this.config.useCookies){this.updateCookie()}};dTree.prototype.oAll=function(a){for(var b=0;b<this.aNodes.length;b++){if(this.aNodes[b]._hc&&this.aNodes[b].pid!=this.root.id){this.nodeStatus(a,b,this.aNodes[b]._ls);this.aNodes[b]._io=a}}if(this.config.useCookies){this.updateCookie()}};dTree.prototype.openTo=function(b,a,c){if(!c){for(var e=0;e<this.aNodes.length;e++){if(this.aNodes[e].id==b){b=e;break}}}var d=this.aNodes[b];if((typeof d=="undefined")||d.pid==this.root.id||!d._p){return}d._io=true;d._is=a;if(this.completed&&d._hc){this.nodeStatus(true,d._ai,d._ls)}if(this.completed&&a){this.s(d._ai)}else{if(a){this._sn=d._ai}}this.openTo(d._p._ai,false,true)};dTree.prototype.closeLevel=function(a){for(var b=0;b<this.aNodes.length;b++){if(this.aNodes[b].pid==a.pid&&this.aNodes[b].id!=a.id&&this.aNodes[b]._hc){this.nodeStatus(false,b,this.aNodes[b]._ls);this.aNodes[b]._io=false;this.closeAllChildren(this.aNodes[b])}}};dTree.prototype.closeAllChildren=function(a){for(var b=0;b<this.aNodes.length;b++){if(this.aNodes[b].pid==a.id&&this.aNodes[b]._hc){if(this.aNodes[b]._io){this.nodeStatus(false,b,this.aNodes[b]._ls)}this.aNodes[b]._io=false;this.closeAllChildren(this.aNodes[b])}}};dTree.prototype.nodeStatus=function(a,c,b){eDiv=document.getElementById("d"+this.obj+c);eJoin=document.getElementById("j"+this.obj+c);if(this.config.useIcons){eIcon=document.getElementById("i"+this.obj+c);eIcon.src=(a)?this.aNodes[c].iconOpen:this.aNodes[c].icon}eJoin.src=(this.config.useLines)?((a)?((b)?this.icon.minusBottom:this.icon.minus):((b)?this.icon.plusBottom:this.icon.plus)):((a)?this.icon.nlMinus:this.icon.nlPlus);eDiv.style.display=(a)?"block":"none"};dTree.prototype.clearCookie=function(){var a=new Date();var b=new Date(a.getTime()-1000*60*60*24);this.setCookie("co"+this.obj,"cookieValue",b);this.setCookie("cs"+this.obj,"cookieValue",b)};dTree.prototype.setCookie=function(f,e,a,d,b,c){document.cookie=escape(f)+"="+escape(e)+(a?"; expires="+a.toGMTString():"")+(d?"; path="+d:"")+(b?"; domain="+b:"")+(c?"; secure":"")};dTree.prototype.getCookie=function(e){var d="";var b=document.cookie.indexOf(escape(e)+"=");if(b!=-1){var c=b+(escape(e)+"=").length;var a=document.cookie.indexOf(";",c);if(a!=-1){d=unescape(document.cookie.substring(c,a))}else{d=unescape(document.cookie.substring(c))}}return(d)};dTree.prototype.updateCookie=function(){var a="";for(var b=0;b<this.aNodes.length;b++){if(this.aNodes[b]._io&&this.aNodes[b].pid!=this.root.id){if(a){a+="."}a+=this.aNodes[b].id}}this.setCookie("co"+this.obj,a)};dTree.prototype.isOpen=function(c){var b=this.getCookie("co"+this.obj).split(".");for(var a=0;a<b.length;a++){if(b[a]==c){return true}}return false};if(!Array.prototype.push){Array.prototype.push=function array_push(){for(var a=0;a<arguments.length;a++){this[this.length]=arguments[a]}return this.length}}if(!Array.prototype.pop){Array.prototype.pop=function array_pop(){lastElement=this[this.length-1];this.length=Math.max(this.length-1,0);return lastElement}}function setFV(name,value){var obj;eval("obj=document."+name+";");obj.value=value};
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

var reageerVisible;
var reageerMoving=false;
function reactClick(){
 if (!reageerMoving)
 if (reageerVisible){
  if (is.ns) reageer.hide();
  reagerMoving=true;
  reageer.slideTo(-reageer.w,reageer.y,10,2,"reagerMoving=false");
  reageerVisible=false;
 } else {
  reagerMoving=true;
  reageer.moveTo(-reageer.w,reageer.y);
  reageer.show();
  reageer.slideTo(15,reageer.y,10,2,"reagerMoving=false");
  reageerVisible=true;
 }
}

function Help_Init(){
 style = "position:absolute;left:1px;top:1px;width:250px;height:12px;visibility: hidden;filter:Alpha(opacity=85);z-index:3";
 document.write((is.ie)?"<span id=helplyr style=\""+style+"\"></span>":"<div id=helplyr style=\""+style+"\"></div>");
 help = new DynLayer('helplyr');
}
vis = false;
function Help(obj,id){
 if (!vis){
  helpstr = "";
  for (i=0; i<h_a.length; i+=2) if (h_a[i]==id) helpstr = h_a[i+1]
  help.moveTo(getPos(obj,"Left")-help.w,getPos(obj,"Top"));
  help.write('<table cellspacing=1 cellpadding=0 width="100%" bgcolor="#000000"><tr onmouseover="Help(this)" onmouseout="HideHelp();"><td><table cellspacing=2 cellpadding=0 width="100%" bgcolor="#eeeeee"><tr onmouseover="Help(this,\''+id+'\')" onmouseout="HideHelp();"><td>'+helpstr+'</td></tr></table></td></tr></table>');
  help.show();
  vis=true;
 } else {
  if (hiding) clearTimeout(hider);
 }
 hiding = false;
}
function HideHelp(){
 if (vis && !hiding){
  hiding = true;
  hider = setTimeout("HHelp()",20);
 }
}
function HHelp(){
 vis=false
 hiding=false;
 help.hide();
}
var hlayers=0;
function Highlight(left,top,width,height,color){
 hlayers++;
 pix = "<img src=img/pix_trans.gif height=1 width=1>";
 style = "position:absolute;left:"+left+"px;top:"+top+"px;width:"+width+"px;height:"+height+"px;visibility:visible;z-index:5;background-color:"+color+";"+(arguments.length<6 || arguments[5]?"filter:Alpha(opacity="+((arguments.length<7)?"50":arguments[6])+");":"");
 document.write((is.ie)?"<span id=highlightlyr"+hlayers+" style=\""+style+"\">"+(width<12 || height<12?pix:"")+"</span>":"<div id=highlightlyr"+hlayers+" style=\""+style+"\">"+(width<12 || height<12?pix:"")+"</div>");
 eval("highlight"+hlayers+" = new DynLayer('highlightlyr"+hlayers+"');");
 if (hlayers==1) setTimeout("animateHighlight(true,300)", 300);
}
var animCnt=0;
function animateHighlight(act, timeout){
 animCnt++;
 if (act){
  for (i=1;i<=hlayers;i++) eval("highlight"+i+".hide();");
 } else {
  for (i=1;i<=hlayers;i++) eval("highlight"+i+".show();");
 }
 if (animCnt==4) animCnt=0;
 setTimeout("animateHighlight("+!act+","+timeout+")", timeout*(animCnt==3?4:1));
}

is=DSB;
DSMenu_XOverlap = 16;
DSMenu_YOverlap = 2;
DSMenu_border = 1;
DSMenu_borderColor = '#5F1F8D';

DSMenu_splitter = 1;
DSMenu_splitterColor = '#5F1F8D';
DSMenu_style_ie = '';
DSMenu_style_moz = '';
DSMenu_mb_height = 18;

DSMenu_item_height = 19;
DSMenu_item_class = 'menuitem';
DSMenu_item_bgcolor = '#FFFFFF';
DSMenu_item_color = '#000000';
DSMenu_item_bgcolorHover = '#5F1F8D';
DSMenu_item_colorHover = '#ffffff';
DSMenu_item_arrow = '<b>&gt;</b>';
DSMenu_item_target = '_top';