var isCSS,isW3C,isIE4,isNN4,isIE6CSS;var _sUnpopular_="unpopular";var _sEllipses_="ellipses";var semi=";";var styleStr="<style type='text/css'>";if(isNN4){styleStr+="div.forpos {position:relative"+semi+"}";styleStr+="div.expand0 {visibility:hidden"+semi+"}";styleStr+="div.expand1 {visibility:hidden"+semi+"}";styleStr+="div.expand2 {visibility:hidden"+semi+"}";styleStr+="div.expand3 {visibility:hidden"+semi+"}";styleStr+="div.expand4 {visibility:hidden"+semi+"}"}else{styleStr+="div.expand0 {display:inline"+semi+"}";styleStr+="div.expand1 {display:inline"+semi+"cursor: pointer"+semi+"}";styleStr+="div.expand2 {display:none"+semi+"}";styleStr+="div.expand3 {display:none"+semi+"}";styleStr+="div.expand4 {display:none"+semi+"}";styleStr+="div.unpopular {display:none"+semi+"}"}styleStr+="</style>";document.write(styleStr);if(isNN4){var menuTop=document.layers.dummy.pageY}var expander=new Array();function reloadme(){window.location.reload()}function init(){initDHTMLAPI();var e=0,a,b;if(isW3C){var d=document.getElementsByTagName("DIV");var c=d.length;for(b=0;b<c;b++){a=d[b];if(a.className.indexOf("expand")>=0){a.index=e++;expander[a.index]=a}}document.onclick=expandIE}else{if(isNN4){for(b=0;b<document.layers.length;b++){a=document.layers[b];if(a.id.indexOf("menu")>=0){a.captureEvents(Event.MOUSEDOWN);a.onclick=selectIt;a.index=e++;expander[a.index]=a;if(a.id.length<=6){a.visibility="show"}}}setTimeout("window.onresize = reloadme",1000);expandIt()}else{for(b=0;b<document.all.tags("div").length;b++){a=document.all.tags("div")[b];if(a.className.indexOf("expand")>=0){a.index=e++;expander[a.index]=a}}document.onclick=expandIE}}}function expandIt(){var a=menuTop,c,b;for(c=0;c<expander.length;c++){b=expander[c];if(!b.hidden){b.top=a;a+=b.clip.height}}}function selectIt(g){var c,a,f,d,b;if(g.target.constructor==window.Url){return true}c=this.id;a=c.length;f=this.index;for(d=(f+1);d<expander.length;d++){b=expander[d];if(b.id.indexOf(c)>=0){if(!b.hidden){b.visibility="hidden"}else{if(b.id.indexOf("_",a)==b.id.lastIndexOf("_")){b.visibility="show"}}}}expandIt();return false}function expandIE(k){k=(k)?k:event;var b=(k.target)?k.target:k.srcElement;if(b.tagName=="IMG"||b.tagName=="SPAN"){b=b.parentNode}var e=b.id;var l,d,g,m;var j=e.split("_");l=(j[0]?j[0]:e);d=(j[1]?j[1]:"");var a=true;var c=b.className;var h=b.className.substr(0,7);if(c.indexOf("expand")>=0){var f=parseInt(c.charAt(6),10);if(c.indexOf(_sEllipses_)<0){for(i=b.index+1;i<expander.length;i++){g=expander[i];m=g.className;if(g.id.indexOf(e+"_")>=0){if(g.style.display!="block"&&g.style.display!="inline"){if(m.indexOf("expand"+(f+1))>=0&&m.indexOf(_sUnpopular_)<0){g.style.display="block"}}else{g.style.display="none"}}}}else{b.style.display="none";b.className=c.replace(_sEllipses_,_sUnpopular_);for(i=(b.index-1);i>=0;i--){g=expander[i];if(""==d||g.id.indexOf(l+"_")>=0){if(g.className.indexOf(h)>=0&&g.className.indexOf(_sUnpopular_)>=0){g.style.display="block";g.className=g.className.replace(_sUnpopular_,"")}}}}a=false}return a}if(isNN4){var totalHeight=menuTop;for(i=0;i<document.layers.length;i++){var lay=document.layers[i];if(lay.id.indexOf("menu")>=0){totalHeight+=lay.clip.height}}document.write("<layer top="+(totalHeight+20)+"></layer>")}window.onload=init;