function scrollDoor(){}
function $F(obj){return typeof(obj)=="string"?document.getElementById(obj):obj;}
scrollDoor.prototype={sd:function(menus,divs,openClass,closeClass){var _this=this;if(menus.length!=divs.length)
{alert("error!");return false;}
for(var i=0;i<menus.length;i++)
{if(!$F(menus[i]))continue;$F(menus[i]).value=i;$F(menus[i]).onmouseover=function(){for(var j=0;j<menus.length;j++)
{_this.$F(menus[j]).className=closeClass;_this.$F(divs[j]).style.display="none";}
_this.$F(menus[this.value]).className=openClass;_this.$F(divs[this.value]).style.display="block";}}},$F:function(oid){if(typeof(oid)=="string")
return document.getElementById(oid);return oid;}}
window.onload=function(){var SDmodel=new scrollDoor();SDmodel.sd(["m01","m02"],["show01","show02"],"sd01","sd02");}
function killErrors()
{return true;}
window.onerror=killErrors;function help_display_block(id){if(document.getElementById(id).style.display=='block'){document.getElementById(id).style.display='none';}else{document.getElementById(id).style.display='block';}}
function help_display_none(id){document.getElementById(id).style.display='none';}
function marquee(delay,liHeight,toAlign,lyorderID){$=function(o){return document.getElementById(o)}
var o=$F(lyorderID);var timer_bug;for(i=0;i<o.childNodes.length;i++){if(o.childNodes[i].tagName==null){o.removeChild(o.childNodes[i]);}}
if(o==null)return;function scrollup(o,h,d){if(d==h){var t=o.firstChild;o.appendChild(t);t.style.marginTop=o.firstChild.style.marginTop='0px';d=0;}else{var s=3,d=d+s,l=(d>=h?d-h:0);o.firstChild.style.marginTop=-d+l+'px';timer_bug=setTimeout(function(){scrollup(o,h,d-l)},20);}}
timer=setInterval(function(){clearTimeout(timer_bug);scrollup(o,liHeight,toAlign);},delay);}
