function AddGlyphs(Path){ cmn.RegWbFnt('MG_Icons','MG_Icons',Path+'MG_Icons','r720994889',true); }; function AddCss_MyMenu1(Path,HostURL){ var Css='.A1A5AMainMenuDIV *, .A1A5ASubMenuDIV * {-webkit-box-sizing: content-box !important;-moz-box-sizing: content-box !important;box-sizing: content-box !important;}.A1A5AMainMenuDIV TD, .A1A5ASubMenuDIV TD {vertical-align: middle;border: none;padding: 0px;}.A1A5ADefaults {color: #51729A;OverlapVertical: -4px;OverlapHorizontal: 7px;}.A1A5AIconTD, .A1A5ATitleTD, .A1A5AArrowTD, .A1A5AHeaderTD, .A1A5ATitleTD * {text-shadow: none;font-size: 16px;font-family: Trebuchet MS;white-space: nowrap;padding: 0px;line-height: normal;vertical-align: middle;}.A1A5ATitleTD {text-align: left;}.A1A5AIconTD font, .A1A5AArrowTD font {margin: 0 !important;display: block !important;padding: 0px;line-height: 16px;}.A1A5AMainMenuDIV {border: solid 1px !important;border-color: #D8D8D8 !important;padding: 4px;padding-left: 12px;padding-right: 12px;background-color: #EAEAEA;background: -moz-linear-gradient(top, #F8F8F8 0%, #E3E3E3 100%); background: -webkit-linear-gradient(top, #F8F8F8 0%, #E3E3E3 100%); background: linear-gradient(to bottom, #F8F8F8 0%, #E3E3E3 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#F8F8F8\', endColorstr=\'#E3E3E3\', GradientType=0);;cursor: default;}.A1A5AMainMenuDIV .A1A5AHeaderTD {text-align: left;padding-left: 6px !important;padding-right: 6px !important;color: #959595;}.A1A5AMainMenuDIV TABLE {width: auto;border: none;border-collapse: separate;margin: 0px;padding: 0px;}.A1A5AMainMenuDIV{display:-moz-inline-stack;display:inline-block;zoom:1;*display:inline;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}.A1A5AMainMenuItemTD {padding: 6px !important;padding-left: 6px !important;padding-right: 6px !important;}.A1A5AMainMenuItemTD .A1A5ATitleTD, .A1A5AMainMenuItemTD .A1A5AIconTD, .A1A5AMainMenuItemTD .A1A5AArrowTD {color: #3A536E;text-shadow: 1px 1px 1px #FFFFFF;}.A1A5AMainMenuItemHoveredTD {padding: 6px !important;padding-left: 6px !important;padding-right: 6px !important;background-color: #51729A;cursor: default;cursor: hand;cursor: pointer;}.A1A5AMainMenuItemHoveredTD .A1A5ATitleTD, .A1A5AMainMenuItemHoveredTD .A1A5AIconTD, .A1A5AMainMenuItemHoveredTD .A1A5AArrowTD {color: #FFFFFF;text-shadow: 1px 1px 1px #3B5471;}.A1A5AMainMenuItemSelectedTD {padding: 6px !important;padding-left: 6px !important;padding-right: 6px !important;background-color: #D9D9D9;}.A1A5AMainMenuItemSelectedTD .A1A5ATitleTD, .A1A5AMainMenuItemSelectedTD .A1A5AIconTD, .A1A5AMainMenuItemSelectedTD .A1A5AArrowTD {color: #3A536E;}.A1A5ASubMenuDIV {-moz-box-sizing: content-box;-webkit-box-sizing: content-box;box-sizing: content-box;padding: 6px;background-color: #51729A;cursor: default;}.A1A5ASubMenuDIV .A1A5AHeaderTD {text-align: left;padding: 5px !important;padding-left: 6px !important;padding-right: 6px !important;color: #91A8C4;}.A1A5ASubMenuDIV TABLE {border: none;border-collapse: separate;width: auto !important;margin: 0px;padding: 0px;}.A1A5ASubMenuItemTD, .A1A5ASubResDIV {padding: 6px !important;padding-left: 7px !important;padding-right: 7px !important;}.A1A5ASubMenuItemTD .A1A5ATitleTD, .A1A5ASubMenuItemTD .A1A5AIconTD, .A1A5ASubMenuItemTD .A1A5AArrowTD, .A1A5ASubResDIV {color: #FFFFFF;text-shadow: 1px 1px 1px #3B5471;}.A1A5ASubMenuItemHoveredTD, .A1A5ASubResDIV:hover {padding: 6px !important;padding-left: 7px !important;padding-right: 7px !important;background-color: #EBEBEB;cursor: default;cursor: hand;cursor: pointer;}.A1A5ASubMenuItemHoveredTD .A1A5ATitleTD, .A1A5ASubMenuItemHoveredTD .A1A5AIconTD, .A1A5ASubMenuItemHoveredTD .A1A5AArrowTD, .A1A5ASubResDIV:hover {color: #3A536E;text-shadow: 1px 1px 1px #FFFFFF;}.A1A5ASubMenuItemSelectedTD {padding: 6px !important;padding-left: 7px !important;padding-right: 7px !important;background-color: #7190B4;}.A1A5ASubMenuItemSelectedTD .A1A5ATitleTD, .A1A5ASubMenuItemSelectedTD .A1A5AIconTD, .A1A5ASubMenuItemSelectedTD .A1A5AArrowTD {color: #FFFFFF;text-shadow: 1px 1px 1px #3B5471;}.A1A5ASeparatorVerticalTD {padding: 0px !important;background-color: #FFFFFF !important;border-left-style: solid !important;border-left-width: 1px !important;border-left-color: #DEDEDE !important;}.A1A5ASeparatorVerticalTD TABLE {width: 1px !important;}.A1A5ASeparatorHorizontalTD {padding: 0px !important;background-color: #698AB0 !important;border-top-style: solid !important;border-top-width: 1px !important;border-top-color: #3E5876 !important;}.A1A5AMltClmnSepar1TD {padding-left: 4px !important;}.A1A5AMltClmnSepar1AddTD {border-left-style: solid !important;border-left-width: 1px !important;border-left-color: #698AB0 !important;}.A1A5AMltClmnSepar2TD {padding-right: 4px !important;border-right-style: solid !important;border-right-width: 1px !important;border-right-color: #3E5876 !important;}.A1A5ASepVertHorSubmTD {border-left-color: #3E5876 !important;background-color: #698AB0 !important;}.A1A5ATooltipDIV {font-family: Trebuchet MS;font-size: 12px;color: #555555;padding: 3px;padding-left: 5px;padding-right: 5px;background-color: #F8F8F8;border: solid 1px #888888;}.A1A5ASubMenuDIV, .A1A5ATooltipDIV {-webkit-box-shadow: 3px 3px 7px 0px rgba(50, 50, 50, 0.20); -moz-box-shadow: 3px 3px 7px 0px rgba(50, 50, 50, 0.20); box-shadow: 3px 3px 7px 0px rgba(50, 50, 50, 0.20);}.A1A5AMainMenuDIV, .A1A5ASubMenuDIV {border-radius: 4px; -webkit-border-radius:4px; -khtml-border-radius:4px; -moz-border-radius:4px;}.A1A5AMainMenuItemHoveredTD, .A1A5AMainMenuItemSelectedTD, .A1A5ASubMenuItemHoveredTD, .A1A5ASubResDIV:hover, .A1A5ASubMenuItemSelectedTD, .A1A5ATooltipDIV {border-radius: 3px; -webkit-border-radius:3px; -khtml-border-radius:3px; -moz-border-radius:3px;}.A1A5AIconTD {color: #000000;vertical-align: middle;text-align: center;}.A1A5AIconTD font {font-size: 16px;padding-left: 2px;padding-right: 8px;width: 16px;}.A1A5AArrowNotitleTD font {padding-left: 0px !important;}'; cmn.RegPageCss('Style_Menu_A1A5A',Css,true);}; var gbd4Hirq0nTydMyMenu1='mnFE0BBC45'; var mnFE0BBC45i=function(){dm.i('mnFE0BBC45',0);}; var mnFE0BBC45L = null; function mnFE0BBC45LCn(Path){ this.id='MyMenu1'; this.uid='MyMenu1'; this.sfu=Path; this.ccp='A1A5A'; this.EmpHtm=Path+'Empty.htm'; this.PngShdCnt=0; this.ClClk='MnuItmClk(\'$ItemID$\');'; this.o=1; this.ed=1; this.TrEff=true; this.TrSpd=5; this.ho=7; this.vo=-4; this.zi=999998; this.smo='1'; this.smc='1'; this.hpth='false'; this.ocDth=20; this.ocDt=250; this.HovIts=null; this.SelIts=null; this.SMH='10000'; this.nids=''; this.PosVertTyp='1'; this.ttt_mnFE0BBC45_i1='Go to Home Page'; }; var MyMenu1={ _path:'', _div:'', _SbMnu:false, Mnu:'', Plcd:false, ItmsCnt:13,CCP:'A1A5A', Prepare:function(){ var Ident='MyMenu1'; var Path=MyMenu1._path; var HostURL=''; if(Path==''||Path==null||Path==undefined){ Path='./'+Ident+'/'; var e=document.getElementsByTagName('script'); var src=null; var attr=null; var IdentLw=Ident.toLowerCase(); var Ind=-1; var attrLw=''; for(var i=0;i-1){ Path=attr.substring(0,Ind); break; } Ind=attrLw.lastIndexOf('/'+IdentLw+'_short.js'); if(Ind>-1){ Path=attr.substring(0,Ind); break; } Ind=attrLw.indexOf(IdentLw+'/script.js'); if(Ind>-1){ Path=attr.substring(0,Ind)+Ident; break; } } } } var PrmInd=0; PrmInd=Path.indexOf('?'); if(PrmInd>0)Path=Path.substring(0,PrmInd); Path=Path.replace(/(\r\n|\n|\r)/gm,''); } var lst=Path.substring(Path.length-1); if(lst!='/')Path=Path+'/'; var gl=function(h){var l=document.createElement('a');l.href=h;return l;}; var l=gl(Path); HostURL='//'+l.hostname; if(l.protocol!=':')HostURL=l.protocol+HostURL; AddGlyphs('./Glyphs/'); AddCss_MyMenu1(Path,HostURL); mnFE0BBC45L=new mnFE0BBC45LCn(Path);MyMenu1.Mnu='
Home 
About Us
Support
Contact Us 
';MyMenu1.SubMnu='
';MyMenu1.SubMnu=cmn.DeCompact(MyMenu1.SubMnu,'A1A5A','mnFE0BBC45','MG_Icons', '0'); }, addEvent:function(el,evnt,func){ try{ if(el.addEventListener){ el.addEventListener(evnt, func, false); }else if(el.attachEvent){ el.attachEvent('on'+evnt, func); } }catch(e){} }, GetDst:function(){ var DstID=MyMenu1._div; if(DstID=='')DstID='MyMenu1'; var Dst=cmn.Mko(DstID); return Dst; }, PlaceAuto:function(p,d,sb){ MyMenu1.Plcd=false; MyMenu1._path=''; MyMenu1._div=''; MyMenu1._SbMnu=false; if(p!=null&&p!=undefined&&p!=''){MyMenu1._path=p;} if(d!=null&&d!=undefined&&d!=''){MyMenu1._div=d;} if(sb==true){MyMenu1._SbMnu=true;} MyMenu1.Prepare(); MyMenu1.addEvent(window,'load',MyMenu1.PutInDIV); MyMenu1.PutInDIV_TO(0); }, PutInDIV_TO:function(t){ var Dst=MyMenu1.GetDst(); if(Dst==null||Dst==undefined){ if(t<50){ t++; setTimeout('MyMenu1.PutInDIV_TO('+t+');',50); return; } }else{ MyMenu1.PutInDIV(); } }, PutInDIV:function(){ if(MyMenu1.Plcd==true)return; var Dst=MyMenu1.GetDst(); if(Dst==null||Dst==undefined){ return; } if(MyMenu1._SbMnu==true){ Dst.innerHTML=MyMenu1.Mnu+MyMenu1.SubMnu; }else{ Dst.innerHTML=MyMenu1.Mnu; var Dv=document.createElement('DIV'); Dv.innerHTML=MyMenu1.SubMnu; document.body.appendChild(Dv); } setTimeout('mnFE0BBC45i()',10); MyMenu1.Plcd=true; var Mnu=cmn.Mko('mnFE0BBC45_-0p'); if(Mnu!=null){ var ShMn=function(){ Mnu.childNodes[0].style.visibility='visible'; }; setTimeout(ShMn,20); } }, Show:function(){ MyMenu1.Plcd=false; MyMenu1.Prepare(); document.write(MyMenu1.Mnu+MyMenu1.SubMnu); setTimeout('mnFE0BBC45i()',10); MyMenu1.Plcd=true; } }; function DisplMnu(t){ var dst=cmn.Mko('MenuPrvwBg'); if(dst==null&&t<100){ t++; setTimeout('DisplMnu('+t+');',100); return; } if(dst!=null){ if(MyMenu1.ItmsCnt==0){ dst.innerHTML='
Your menu is empty or all of the elements are hidden.

Use the corresponding button under the  Structure  tab on the left to add elements to your menu. Next, click the  Refresh  button below.
'; }else{ cmn.HrfEnb=false;//Disable hrefs in structure MyMenu1.PlaceAuto('./U_Demo/F3B3FD73/1','MenuPrvwBg',true); } PrcsHd();//Hide progress //Min Width for menu container in Design Window try{ var MnuWdth=$(dst).find('table:first').width(); $(dst).css({'min-width': MnuWdth+'px'}); }catch(e){} }else{} return; }; DisplMnu(0);