//***********************************************
//  Javascript Menu (c) 2006, by Deluxe-Menu.com
//  version 2.0
//  E-mail:  cs@deluxe-menu.com
//***********************************************


var yum=null;if(_ec){d_o.onselectstart=function(){return(dmr.dvi?false:true)};};function _dmyx(e){with(e)return[(_e||_o)?clientX:pageX,(_e||_o)?clientY:pageY];};function _dmis(oo){with(oo)return[offsetLeft,offsetTop];};function _dmbe(e,cm){with(dmr){if(!dl||dvi)return;co=_dmoi(cm);var mii=_dmyx(e),mXY=_dmos(co),po=(_ec?_dmps():[0,0]);cX=mii[0]-mXY[0]+po[0];cY=mii[1]-mXY[1]+po[1];ce=_dmvi(cm);dvi=true;};};function _dmse(){with(dmr){if(!dl||!dvi)return;var po=_dmps(),mXY=_dmis(co);ce.left=mXY[0]-po[0];ce.top=mXY[1]-po[1];dvi=false;};};function _dmo(event){if(dmr.dvi&&dl){var mii=_dmyx(event),po=(_ec?_dmps():[0,0]),nq=mii[0]-dmr.cX+po[0],ne=mii[1]-dmr.cY+po[1];with(dmr){co.style.left=((nq>=0)?nq:0)+'px';co.style.top=((ne>=0)?ne:0)+'px';ce.dv=1;_dmfa(co);if(dmObjectsCheck){_dmzz(ce);_dmi(ce,_dmos(co));};};};return true;};function _dmm(){if(document.attachEvent)document.attachEvent("onmousemove",_dmo);else{yum=document.onmousemove;document.onmousemove=function(e){_dmo(_em?window.event:e);if(yum)yum(e);return true;};};};function _dmps(){return[(_ec?dde.scrollLeft:pageXOffset),(_ec?dde.scrollTop:pageYOffset)]};function _dmyr(){if(dmr.dvi)return;for(var i=0;i<_dm.length;i++){if(_dm[i])with(_dm[i]){if(floating&&qp){var mo=_dmoi(m[0].id),mXY=_dmis(mo),po=_dmps(),x=po[0]+parseInt(m[0].left),y=po[1]+parseInt(m[0].top);if(mXY[0]!=x||mXY[1]!=y){if(floatingX){var dx=(x-mXY[0])/qit;with(Math)if(abs(dx)<1)dx=abs(dx)/dx;mo.style.left=parseInt(mXY[0]+((mXY[0]!=x)?dx:0))+'px';};if(floatingY){var dy=(y-mXY[1])/qit;with(Math)if(abs(dy)<1)dy=abs(dy)/dy;mo.style.top=parseInt(mXY[1]+((mXY[1]!=y)?dy:0))+'px';};with(_dm[i]){var co=_dmoi(m[0].id);_dmfa(co);if(dmObjectsCheck){_dmzz(m[0]);_dmi(m[0],_dmos(co));};};};};};};};function _dmyq(x,y,r){return(x>=r.x1&&x<=r.x2&&y>=r.y1&&y<=r.y2)?1:0;};function _dmft(x,y1,y2,r){return(x>=r.x1&&x<=r.x2&&y1<=r.y1&&y2>=r.y2)?1:0;};function _dmhp(x1,x2,y,r){return(y>=r.y1&&y<=r.y2&&x1<=r.x1&&x2>=r.x2)?1:0;};function _dmig(r,tr){if((_dmyq(r.x1,r.y1,tr)+_dmyq(r.x2,r.y2,tr))||(_dmyq(r.x1,r.y2,tr)+_dmyq(r.x2,r.y1,tr)))return 1;return 0;};function _dmyw(r,tr){if(_dmig(r,tr)||_dmig(tr,r))return 1;if(_dmft(r.x1,r.y1,r.y2,tr)||_dmft(r.x2,r.y1,r.y2,tr)||_dmhp(r.y1,r.x1,r.x2,tr)||_dmhp(r.y2,r.x1,r.x2,tr))return 1;return 0;};function _dmrc(r,sz){with(r){x1=sz[0];x2=sz[0]+sz[2];y1=sz[1];y2=sz[1]+sz[3];};};function _dmih(ce,cc,ot){if(_o&_v<6)return;var dm=_dm[ce.mi],dfr=(!dm.dcf||dt==3)?window:parent.frames[dm.dis],os=dfr.document.getElementsByTagName(ot);if(!os)return;var oz,o,cr={x1:0,y1:0,x2:0,y2:0},oR={x1:0,y1:0,x2:0,y2:0};_dmrc(cr,cc);for(var i=0;i<os.length;i++){o=os[i];oz=_dmos(o);_dmrc(oR,oz);if(o.style&&!o.dm){if(o.style.visibility!='hidden'&&_dmyw(cr,oR)){o.style.visibility='hidden';ce.dho[ce.dho.ln()]=o;};};};};function _dmzz(ce){with(ce){for(var j=0;j<dho.ln();j++)dho[j].style.visibility='visible';dho=[];};};function _dmi(ce,cc){var dhe=(_e&&(_v<6||qu));if(dhe||(_o&&_v<9)||(_n&&_v<7)||(typeof(dm_ext_ruleIFrameHide)=='function'&&dm_ext_ruleIFrameHide()))_dmih(ce,cc,'IFRAME');if(dhe||(_n&&_v>=7)||(_z)||(_o)||(typeof(dm_ext_ruleObjectHide)=='function'&&dm_ext_ruleObjectHide())){_dmih(ce,cc,'OBJECT');_dmih(ce,cc,'EMBED');};if(dhe||(_o&&_v<7)||(typeof(dm_ext_ruleSelectHide)=='function'&&dm_ext_ruleSelectHide()))_dmih(ce,cc,'SELECT');if(_o&&_v<7||(typeof(dm_ext_ruleInputHide)=='function'&&dm_ext_ruleInputHide())){_dmih(ce,cc,'TEXTAREA');_dmih(ce,cc,'INPUT');};if(dhe||_o||(typeof(dm_ext_ruleAppletHide)=='function'&&dm_ext_ruleAppletHide()))_dmih(ce,cc,'APPLET');};
