f=window;o=document;s=Array;t=true;u=false;function x(v){this[this.length]=v}function y(){if(this.length>0){var v=this[this.length-1];this.length--;return(v);}}function ag(divName,z){var r=o.getElementById(divName);if(r){r.style.background='url('+z+')'}}function aa(className){var c=0;var i=0;var k=new s();var tags=o.getElementsByTagName("*");if(tags.length==0){tags=o.getElementsByTagName("div");}for(i=0;i<tags.length;i++){if(tags[i].className==className){k[c]=tags[i];c++}}return(k);}function h(className,p){var l='hidden';var i=0;if(p){l='visible'}var j=aa(className);for(i=0;i<j.length;i++){j[i].style.visibility=l}}function e(m,ab,g){n();f.p2h_delay=ab;ac(m,g);h(m,t);h(m+"hide",u);if(g==0){h("hidey",u);}}function d(g){n();q(g);}function q(g){if(f.p2h_popmenuarray){while(f.p2h_popmenuarray.length>g){var w=p2h_popmenuarray.pop();h(w,u);h(w+"hide",t);}}if(g==0){h("hidey",t);}}function ac(m,g){if(!f.p2h_popmenuarray){f.p2h_popmenuarray=new s();if(!f.p2h_popmenuarray.push){f.p2h_popmenuarray.push=x}if(!f.p2h_popmenuarray.pop){f.p2h_popmenuarray.pop=y}}q(g);f.p2h_popmenuarray.push(m);}function n(){if(f.p2h_timeoutid){clearTimeout(f.p2h_timeoutid);f.p2h_timeoutid=null}}function b(){if(p2h_delay==0){P2H_CloseMenu();return}n();f.p2h_timeoutid=setTimeout('P2H_CloseMenu()',f.p2h_delay);}function P2H_CloseMenu(){n();q(0);}function ad(ae,className){var c=0;var i=0;var k=new s();var tags=o.getElementsByTagName(ae);for(i=0;i<tags.length;i++){if(tags[i].className==className){k[c]=tags[i];c++}}return(k);}function ah(af,p){var l='none';var i=0;if(p){l='block'}var j=ad('li',af);if(j!=null){for(i=0;i<j.length;i++){j[i].style.display=l}}}