var MaxMenuItems=100;function ShowMenu(MenuNo){if(document.getElementById("Submenu"+MenuNo)){document.getElementById("Submenu"+MenuNo).style.display="block";}} function HideMenu(MenuNo){if(document.getElementById("Submenu"+MenuNo)){document.getElementById("Submenu"+MenuNo).style.display="none";}} function HideMenuAll(ExceptNo){var i;var arr;var found;ExceptNo=ExceptNo+',';arr=ExceptNo.split(",");for(i=1;i<=MaxMenuItems;i++){found=0;for(x in arr){if(arr[x]==i){found=1;}} if((found==0)&&(document.getElementById("Submenu"+i))){document.getElementById("Submenu"+i).style.display="none";}}} function SwitchImg() {var rem,keep=0,store,obj,switcher=new Array,history=document.Data;for(rem=0;rem<(SwitchImg.arguments.length-2);rem+=3){store=SwitchImg.arguments[(navigator.appName=='Netscape')?rem:rem+1];if((store.indexOf('document.layers[')==0&&document.layers==null)||(store.indexOf('document.all[')==0&&document.all==null)) store='document'+store.substring(store.lastIndexOf('.'),store.length);obj=eval(store);if(obj!=null){switcher[keep++]=obj;switcher[keep++]=(history==null||history[keep-1]!=obj)?obj.src:history[keep];obj.src=SwitchImg.arguments[rem+2];}} document.Data=switcher;} function RestoreImg() {if(document.Data!=null) for(var rem=0;rem<(document.Data.length-1);rem+=2) document.Data[rem].src=document.Data[rem+1];} function TreeExpandToogle(ID){var ExpandButton=document.getElementById("tree_expand"+ID);var ExpandArea=document.getElementById("tree"+ID);if(ExpandArea){if(ExpandArea.style.display==""){if(ExpandButton) ExpandButton.innerHTML="";ExpandArea.style.display="none";}else{if(ExpandButton) ExpandButton.innerHTML="";ExpandArea.style.display="";}}} function PopupNewWindow(url,width,height,params){if(params=="") params='toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no';var left=(screen.width-width)/2;var top=(screen.height-height)/2;params=params+',width='+width+',height='+height+',screenX='+left+',screenY='+top;window.open(url,'',params);} var AjaxIsRunning=false;function Ajax(URL,Options){var request=null;AjaxIsRunning=true;if(!Options['BeforeHTML'])Options['BeforeHTML']="";if(!Options['AfterHTML'])Options['AfterHTML']="";if(!Options['FailedHTML'])Options['FailedHTML']="";if(!Options['TargetId'])Options['TargetId']="";if(!Options['NoProgress'])Options['NoProgress']=false;if(Options['TargetId']!=""){if(typeof ThemeOpenArea=='function'){Options['TargetId']=ThemeOpenArea(Options['TargetId'],URL,Options);}} if(Options['PostForm']){var f=document.getElementById(Options['PostForm']);var Params="";for(var i=0;iScreenWidth-64)||(NewHeight>ScreenHeight-88)){if((NewWidth/(ScreenWidth-64))<=(NewHeight/(ScreenHeight-88))){Prop=(NewHeight/(ScreenHeight-88));if(Prop>0){NewWidth=NewWidth/Prop;NewHeight=NewHeight/Prop;}}else{Prop=(NewWidth/(ScreenWidth-64));if(Prop>0){NewWidth=NewWidth/Prop;NewHeight=NewHeight/Prop;}}} Pic.src=GalleryImage.src;GalleryResize(NewWidth,NewHeight);Pic.width=NewWidth;Pic.height=NewHeight;} GalleryImage.onload=ImageLoaded;GalleryImage.src=URL;} if(!this.JSON){this.JSON={};} (function(){function f(n){return n<10?'0'+n:n;} if(typeof Date.prototype.toJSON!=='function'){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+'-'+ f(this.getUTCMonth()+1)+'-'+ f(this.getUTCDate())+'T'+ f(this.getUTCHours())+':'+ f(this.getUTCMinutes())+':'+ f(this.getUTCSeconds())+'Z':null;};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf();};} var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==='string'?c:'\\u'+('0000'+a.charCodeAt(0).toString(16)).slice(-4);})+'"':'"'+string+'"';} function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==='object'&&typeof value.toJSON==='function'){value=value.toJSON(key);} if(typeof rep==='function'){value=rep.call(holder,key,value);} switch(typeof value){case'string':return quote(value);case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null';} gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==='[object Array]'){length=value.length;for(i=0;i