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: HAND"+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.onmousedown=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.onmousedown=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.onmousedown=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(l){l=(l)?l:event;var b=(l.target)?l.target:l.srcElement;if(b.tagName=="IMG"||b.tagName=="SPAN"){b=b.parentNode}var f=b.id;var m,e,h,n;var k=f.split("_");m=(k[0]?k[0]:f);e=(k[1]?k[1]:"");var a=true;var d=b.className;var j=b.className.substr(0,7);if(d.indexOf("expand")>=0){var g=parseInt(d.charAt(6),10);if(d.indexOf(_sEllipses_)<0){var c=false;for(i=b.index+1;i<expander.length;i++){h=expander[i];n=h.className;if(h.id.indexOf(f)>=0){if(h.style.display!="block"){if(n.indexOf("expand"+(g+1))>=0&&n.indexOf(_sUnpopular_)<0){if(!c||n.indexOf(_sEllipses_)<0){h.style.display="block"}}}else{h.style.display="none";c=true}}}}else{b.style.display="none";for(i=(b.index-1);i>=0;i--){h=expander[i];if(""==e||h.id.indexOf(m)>=0){if(h.className.indexOf(j)>=0&&h.className.indexOf(_sUnpopular_)>=0){h.style.display="inline"}}}}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;