function getElementsByClassName(g,b,a){var f=(b=="*"&&g.all)?g.all:g.getElementsByTagName(b);var h=new Array();a=a.replace(/\-/g,"\\-");var e=new RegExp("(^|\\s)"+a+"(\\s|$)");var d;for(var c=0;c<f.length;c++){d=f[c];if(e.test(d.className)){if(h.push){h.push(d)}}}return(h)}function initRowHighlighting(){if(!document.getElementsByTagName){return}var b=document.getElementsByTagName("table");for(var a=0;a<b.length;a++){var c=b[a];if(c.className&&c.className.indexOf("highlightTable")>-1){attachRowMouseEvents(c.getElementsByTagName("tr"))}}}function attachRowMouseEvents(b){for(var a=0;a<b.length;a++){var c=b[a];c.onmouseover=function(){this.setAttribute("oldClass",this.className);this.className="hover-td";var e=this.getElementsByTagName("span");for(var d=0;d<e.length;d++){if("del-fav"==e[d].className){e[d].style.display="inline"}}};c.onmouseout=function(){this.className=this.getAttribute("oldClass");var e=this.getElementsByTagName("span");for(var d=0;d<e.length;d++){if("del-fav"==e[d].className){e[d].style.display="none"}}}}}function navshow(e){var a=document.getElementById(e);var b=document.getElementById("minWidth");var d=getElementsByClassName(b,"div","show-tlp");for(var c=0;c<d.length;c++){d[c].style.display="none";d[c].parentNode.style.zIndex="9"}a.parentNode.style.zIndex="999";a.style.display="block";cancelClose(tm)}var tm;function cancelClose(){if(tm){clearTimeout(tm)}}function navhide(a){tm=setTimeout('navhiden( "'+a+'")',700)}function navhiden(b){var a=document.getElementById(b);a.parentNode.style.zIndex="9";a.style.display="none"}var qTipTag="span";var qTipX=10;var qTipY=15;tooltip={name:"qTip",offsetX:qTipX,offsetY:qTipY,tip:null};tooltip.init=function(){var f="http://www.w3.org/1999/xhtml";if(!e){var e="qTip"}var h=document.getElementById(e);if(!h){h=document.createElementNS?document.createElementNS(f,"div"):document.createElement("div");h.setAttribute("id",e);document.getElementsByTagName("body").item(0).appendChild(h)}if(!document.getElementById){return}this.tip=document.getElementById(this.name);if(this.tip){document.onmousemove=function(a){tooltip.move(a)}}var c,b;var g=document.getElementsByTagName(qTipTag);for(var d=0;d<g.length;d++){c=g[d];b=c.getAttribute("title");if(b){c.setAttribute("tiptitle",b);c.removeAttribute("title");c.onmouseover=function(){tooltip.show(this.getAttribute("tiptitle"))};c.onmouseout=function(){tooltip.hide()}}}};tooltip.move=function(b){var a=0,c=0;if(document.all){a=(document.documentElement&&document.documentElement.scrollLeft)?document.documentElement.scrollLeft:document.body.scrollLeft;c=(document.documentElement&&document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop;a+=window.event.clientX;c+=window.event.clientY}else{a=b.pageX;c=b.pageY}this.tip.style.left=(a+this.offsetX)+"px";this.tip.style.top=(c+this.offsetY)+"px"};tooltip.show=function(a){if(!this.tip){return}this.tip.innerHTML=a;this.tip.style.display="block"};tooltip.hide=function(){if(!this.tip){return}this.tip.innerHTML="";this.tip.style.display="none"};window.onload=function(){tooltip.init()};function addLoadEvent(a){var b=window.onload;if(typeof window.onload!="function"){window.onload=a}else{window.onload=function(){b();a()}}}addLoadEvent(initRowHighlighting);function showhide(b,a,e){var d=document.getElementById(a+"-"+b);var c=document.getElementById(a+"-"+b+"-i");if(d.style.display=="none"){d.style.display="";if(e){c.className="minus"}}else{d.style.display="none";if(e){c.className=""}}return false};