//****** AllWebMenus Libraries Version # 127 ******
// Copyright (c) Likno Software 2000-2002
// The present javascript code is property of Likno Software
// You may use this code only as part of the AllWebMenus software for creating web menus
// Any unauthorized use, reverse-engineering, alteration, transmission, transformation, facsimile, or copying of any means (electronic or not) is strictly prohibited.
// Removal of the present copyright notice is prohibited
function awmoimd(){this.shst(2);if (this.sm!=n) if (this.sm.swn){clearTimeout(this.sm.hsid);this.sm.show(1);}if (this.jc[2]!=null) eval("setTimeout(\""+this.jc[2]+"\",10);");if (this.url!=null){if (this.tf==null) window.location=this.url;else if (this.tf=="new") setTimeout("window.open('"+this.url+"');",50);else if (this.tf=="top") window.top.location=this.url;else eval("window.top."+this.tf+".location=this.url");}}
function awmoimu(){this.pi.shst(1);}
function awmotmd(e){this.prc.pm.mio=0;awmctm=this.prc;this.prc.pm.cm();this.prc.pm.mio=1;awmmox=e.clientX-awmctm.layer.offsetLeft;awmmoy=e.clientY-awmctm.layer.offsetTop;awmml=awmctm.layer.offsetLeft-awmctm.layer.style.left;awmmt=awmctm.layer.offsetTop-awmctm.layer.style.top;}
function awmotmm(e){if (awmctm!=null){awmctm.left=awmctm.layer.style.left=e.clientX-awmmox;awmctm.top=awmctm.layer.style.top=e.clientY-awmmoy;}}
function awmotmu(e){if (awmctm!=null){awmctm.pm.rep=1;awmctm=null;}}
function awmu(){if (awmuc>10 || awmctu.shw==2){awmctu.layer.style.visibility="hidden";awmctu.layer.style.visibility="visible";}if (awmuc>10){clearInterval (awmctu.uid);awmun=0;return;}var layer=awmctu.layer;switch (awmud){case 1: if (awmctu.shw==1){layer.style.left=awmctu.left-layer.offsetWidth*(10-awmuc)/10;layer.style.clip="rect(0,"+layer.offsetWidth+","+layer.offsetHeight+","+Math.round(layer.offsetWidth*(10-awmuc)/10)+")";} else layer.style.clip="rect(0,"+Math.round(layer.offsetWidth*awmuc/10)+","+layer.offsetHeight+",0)";break;case 2: if (awmctu.shw==1){layer.style.left=awmctu.left+layer.offsetWidth*(10-awmuc)/10;layer.style.clip="rect(0,"+Math.round(layer.offsetWidth*awmuc/10)+","+layer.offsetHeight+",0)";} else layer.style.clip="rect(0,"+layer.offsetWidth+","+layer.offsetHeight+","+layer.offsetWidth*(10-awmuc)/10+")";break;case 3: if (awmctu.shw==1){layer.style.top=awmctu.top-layer.offsetHeight*(10-awmuc)/10;layer.style.clip="rect("+Math.round(layer.offsetHeight*(10-awmuc)/10)+","+layer.offsetWidth+","+layer.offsetHeight+",0)";} else layer.style.clip="rect(0,"+layer.offsetWidth+","+Math.round(layer.offsetHeight*awmuc/10)+",0)";break;case 4: if (awmctu.shw==1){layer.style.top=awmctu.top+layer.offsetHeight*(10-awmuc)/10;layer.style.clip="rect(0,"+layer.offsetWidth+","+Math.round(layer.offsetHeight*awmuc/10)+",0)";} else layer.style.clip="rect("+Math.round(layer.offsetHeight*(10-awmuc)/10)+","+layer.offsetWidth+","+layer.offsetHeight+",0)";break;case 5: if (awmctu.shw==1){layer.style.left=awmctu.left-layer.offsetWidth*(10-awmuc)/10;layer.style.top=awmctu.top-layer.offsetHeight*(10-awmuc)/10;layer.style.clip="rect("+Math.round(layer.offsetHeight*(10-awmuc)/10)+","+layer.offsetWidth+","+layer.offsetHeight+","+Math.round(layer.offsetWidth*(10-awmuc)/10)+")";} else layer.style.clip="rect(0,"+Math.round(layer.offsetWidth*awmuc/10)+","+Math.round(layer.offsetHeight*awmuc/10)+",0)";break;case 6: if (awmctu.shw==1){layer.style.left=awmctu.left-layer.offsetWidth*(10-awmuc)/10;layer.style.top=awmctu.top+layer.offsetHeight*(10-awmuc)/10;layer.style.clip="rect(0,"+layer.offsetWidth+","+Math.round(layer.offsetHeight*awmuc/10)+","+Math.round(layer.offsetWidth*(10-awmuc)/10)+")";} else layer.style.clip="rect("+Math.round(layer.offsetHeight*(10-awmuc)/10)+","+Math.round(layer.offsetWidth*awmuc/10)+","+layer.offsetHeight+",0)";break;case 7: if (awmctu.shw==1){layer.style.left=awmctu.left+layer.offsetWidth*(10-awmuc)/10;layer.style.top=awmctu.top-layer.offsetHeight*(10-awmuc)/10;layer.style.clip="rect("+Math.round(layer.offsetHeight*(10-awmuc)/10)+","+Math.round(layer.offsetWidth*awmuc/10)+","+layer.offsetHeight+","+layer.offsetWidth*(10-awmuc)/10+")";} else layer.style.clip="rect(0,"+layer.offsetWidth+","+Math.round(layer.offsetHeight*awmuc/10)+","+layer.offsetWidth*(10-awmuc)/10+")";break;case 8: if (awmctu.shw==1){layer.style.left=awmctu.left+layer.offsetWidth*(10-awmuc)/10;layer.style.top=awmctu.top+layer.offsetHeight*(10-awmuc)/10;layer.style.clip="rect(0,"+Math.round(layer.offsetWidth*awmuc/10)+","+Math.round(layer.offsetHeight*awmuc/10)+",0)";} else layer.style.clip="rect("+Math.round(layer.offsetHeight*(10-awmuc)/10)+","+layer.offsetWidth+","+layer.offsetHeight+","+layer.offsetWidth*(10-awmuc)/10+")";break;}awmuc+=2;}
function awmcu(){clearInterval(this.uid);this.layer.style.clip='rect(0,0,0,0)';this.layer.style.visibility="visible";awmun=1;awmuc=0;awmud=(this.ud!=0)?this.ud:(this.lod+((this.pi.ps.ct==0)?0:2));awmctu=this;this.uid=setInterval("awmu()",50);}
function awmdb(mi){var crc=awmm[mi].cn[0];if (document.getElementById(crc.id).offsetWidth>=0){if (!awmm[mi].cll) crc.show(1);} else setTimeout("awmdb("+mi+")",0);}
function awmbmm(){document.onmousedown=awmodmd;status="AllWebMenus: Building Menu #"+(this.ind+1);this.ght();this.whtd();awmdb(this.ind);status=awmDefaultStatusbarText;awmdid=setInterval("awmd()",100);awmsoo=awmso+1;if (this.ind==0){if (typeof(window.onload)!='undefined'){awmwbl=window.onload;awmwblt=window.onload;}else awmwblt=awmwbl;window.onload=awmwl;}else awmwbl=awmwblt;}