function $(a){if(document.getElementById){return document.getElementById(a)}else if(document.all){return document.all[a]}else if(document.layers){return document.layers[a]}};function setopacity(a,b){a.style.opacity=(b/100);a.style.filter='alpha(opacity='+b+')'};function dropmenu(a,b){try{$(b).style}catch(e){return false};if($(b).style.visibility=="visible"){clearTimeout(hider);return}var c=findelpos(a);x=c[0]-5;y=c[1]+a.offsetHeight;if((screen.width-40)<(x+$(b).offsetWidth)){extra=$(b).offsetWidth-a.offsetWidth;x=x-extra}$(b).style.left=x+"px";$(b).style.top=y+"px";$(b).style.visibility="visible";smoothopaque(b,0,100,5)};function pullmenu(a){hider=setTimeout("puller('"+a+"')",100)};function puller(a){try{$(a).style}catch(e){return false};$(a).style.visibility="hidden"};function createmenu(a,b){if(!b||$(a)!=null){return false}var t='<table id="'+a+'" onmouseover="clearTimeout(hider)" onmouseout="pullmenu(\''+a+'\')" class="ddopt" cellpadding="5" cellspacing="1">';var o;for(o in b){t+='<tr><td onmouseover="this.className=\'ddmon\'" onmouseout="this.className=\'ddmnor\'" class="ddmnor">'+b[o]+'</td></tr>'}t+='</table>';document.write(t)};function findelpos(a){var b=0;var c=0;if(a.offsetParent){while(1){b+=a.offsetLeft;c+=a.offsetTop;if(!a.offsetParent){break}a=a.offsetParent}}else if(a.x){b+=a.x;c+=a.y}return[b,c]};function smoothopaque(a,b,c,d){if(typeof(a)=='object'){var e=a}else{var e=$(a)}op=b;setopacity(e,op);setTimeout(f,1);function f(){if(b<c){op=op+d;if(op<c){setTimeout(f,1)}}else{op=op-d;if(op>c){setTimeout(f,1)}}setopacity(e,op)}};document.write('<style>'+"\n"+'.ddopt{background-color:#FFFFFF;min-width:70px;border:1px solid #DEDCD1;margin-top:2px;visibility:hidden;position:absolute;top:0px;left:0px;}'+"\n"+'.ddmnor, .ddopt a:link, .ddopt a:visited, .ddopt a:active{text-decoration: none;text-align:left;}'+"\n"+'.ddmon{background-color:#DAEBFE;color: #FFF;text-align:left;}</style>');