//----------DHTML Joomla Menu Created using AllWebMenus PRO ver 5.1-#784---------------
//C:\Users\Himmel\Documents\demo\demo5.awm
var awmMenuName='menu';
var awmLibraryBuild=784;
var awmLibraryPath='/plugins/system/awmmenu/awmdata';
var awmImagesPath='/plugins/system/awmmenu/awmdata/menu';
var awmSupported=(navigator.appName + navigator.appVersion.substring(0,1)=="Netscape5" || document.all || document.layers || navigator.userAgent.indexOf('Opera')>-1 || navigator.userAgent.indexOf('Konqueror')>-1)?1:0;
if (awmAltUrl!='' && !awmSupported) window.location.replace(awmAltUrl);
if (awmSupported){
var nua=navigator.userAgent,scriptNo=(nua.indexOf('Chrome')>-1)?2:((nua.indexOf('Safari')>-1)?7:(nua.indexOf('Gecko')>-1)?2:((document.layers)?3:((nua.indexOf('Opera')>-1)?4:((nua.indexOf('Mac')>-1)?5:1))));
var mpi=document.location,xt="";
var mpa=mpi.protocol+"//"+mpi.host;
var mpi=mpi.protocol+"//"+mpi.host+mpi.pathname;
if(scriptNo==1){oBC=document.all.tags("BASE");if(oBC && oBC.length) if(oBC[0].href) mpi=oBC[0].href;}
while (mpi.search(/\\/)>-1) mpi=mpi.replace("\\","/");
mpi=mpi.substring(0,mpi.lastIndexOf("/")+1);
var e=document.getElementsByTagName("SCRIPT");
for (var i=0;i<e.length;i++){if (e[i].src){if (e[i].src.indexOf(awmMenuName+".js")!=-1){xt=e[i].src.split("/");if (xt[xt.length-1]==awmMenuName+".js"){xt=e[i].src.substring(0,e[i].src.length-awmMenuName.length-3);if (e[i].src.indexOf("://")!=-1){mpi=xt;}else{if(xt.substring(0,1)=="/")mpi=mpa+xt; else mpi+=xt;}}}}}
while (mpi.search(/\/\.\//)>-1) {mpi=mpi.replace("/./","/");}
var awmMenuPath=mpi.substring(0,mpi.length-1);
while (awmMenuPath.search("'")>-1) {awmMenuPath=awmMenuPath.replace("'","%27");}
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmlib"+scriptNo+".js'><\/SCRIPT>");
document.write("<SCRIPT SRC='"+awmMenuPath+awmLibraryPath+"/awmserversidemenu.js'><\/SCRIPT>");
var n=null;
awmzindex=1000;
}

var awmImageName='';
var awmPosID='';
var awmSubmenusFrame='';
var awmSubmenusFrameOffset;
var awmOptimize=0;
var awmHash='';
function awmBuildMenu(){
its1=new ItemStyle("name=menu_itemstyle1;textfont0=Tahoma;textfont1=Tahoma;textfont2=Tahoma;textsize0=11px;textsize1=11px;textsize2=11px;textdecor0=B;textdecor1=B;textdecor2=B;color0=#FFC000;color1=#FFFFFF;color2=#FFFFFF;padding0=0px 13px 0px 13;padding1=0px 13px 0px 13;padding2=0px 13px 0px 13;bgcolor0=#FFFFFF;bgcolor1=#7A96DF;bgcolor2=#7A96DF;align0=center;align1=center;align2=center;bgimage0=button-tile.gif;bgimage1=buttonOver-tile.gif;bgimage2=buttonOver-tile.gif;leftimage1=buttonOver-left.gif;leftimage2=buttonOver-left.gif;rightimage1=buttonOver-right.gif;rightimage2=buttonOver-right.gif");
grs1=new GroupStyle("name=menu_groupstyle1;bgcolor=#000000;type=1;border=solid;borderwidth=1;bordercolor=#000000;itemdistance=1");
grs2=new GroupStyle("name=menu_groupstyle2;bgcolor=#000000;type=1;border=solid;borderwidth=1;bordercolor=#000000;itemdistance=1;groupoffset=-1");
menu=new Menu("style=menu_groupstyle1;offsetx=10;offsety=10");
I1=menu.newItem("style=menu_itemstyle1;text0=PRINCIPAL");
S20=I1.newGroup("style=menu_groupstyle2");
I21=S20.newItem("style=menu_itemstyle1;text0=Bienvenido");
I22=menu.newItem("style=menu_itemstyle1;text0=Item");
I2=menu.newItem("style=menu_itemstyle1;text0=Main Item 2");
S4=I2.newGroup("style=menu_groupstyle2");
I5=S4.newItem("style=menu_itemstyle1;text0=Sub Item 1");
I6=S4.newItem("style=menu_itemstyle1;text0=Sub Item 2");
S8=I6.newGroup("style=menu_groupstyle2");
I9=S8.newItem("style=menu_itemstyle1;text0=Sub Item 4");
I10=S8.newItem("style=menu_itemstyle1;text0=Sub Item 5");
I11=S8.newItem("style=menu_itemstyle1;text0=Sub Item 6");
I7=S4.newItem("style=menu_itemstyle1;text0=Sub Item 3");
I3=menu.newItem("style=menu_itemstyle1;text0=Main Item 3");
}
