var XTDCreativeMenusObj;var newSize;function buildMenu(){XTDCreativeMenusObj=new CreativeMenus();newSize=XTDCreativeMenusObj.newSize;if(this['swfobject']!=undefined&&this['swfobject']!=null&&(XTDCreativeMenusObj.a()=="IE8"||XTDCreativeMenusObj.a()=="IE7"||XTDCreativeMenusObj.a()=="IE6")){var ck="XTDCreativeMenusObj.buildMenu()";XTDCreativeMenusObj.c(ck);}else{XTDCreativeMenusObj.buildMenu();}}function CreativeMenus(){this.buildMenu=buildMenu;this.newSize=newSize;this.c=c;this.a=a;function c(ck){var d=window.onload;if(typeof window.onload!='function'){window.onload=function(){eval(ck);}}else{window.onload=function(){if(d){d();}eval(ck);}}}var cl=new Array();cl["H"]="Dropdown_Menu";cl["V"]="Vertical_Menu";cl["T"]="Tabbed_Menu";var f=new Array();var g=new Array();var cm=new Array();var cn=new Array();var co=-1;var cp=a();var l=m();function n(o){}function cq(){for(var q=0;q/g,'');var r=document.createElement('div');r.innerHTML=ck;var Z=L(r,"menu_options","");cs.appendChild(Z);var ba=L(cs,"menu_options");if(!I){I=ba.getAttribute("menu_type");}var width=ba.getAttribute("totalwidth");var height=ba.getAttribute("totalheight");var u=ba.getAttribute("fittopage");var bb=ba.getAttribute("menuzindex");var bc=ba.getAttribute("cutroundcorners");u=(u=="false")?false:true;bc=(bc=="false")?false:true;var bd=document.createElement('div');bd.setAttribute("height",height);bd.setAttribute("width",width);R(G,I,H,cs,K,u,width,height);H.style.zIndex=bb;H.style.position="absolute";H.style.overflow="hidden";H.align="left";H.style.top=M(K)+"px";H.style.left=v(K,u);H.style.width=(!u)?width+"px":(N()+O())+"px";H.style.height=height+"px";cs.style.position="absolute";cs.align="left";if(u)cs.style.left=x(g[G].index)+"px";cs.style.width="2000px";if(ct())z(G);var be=bf();var bg=be+cl[I]+"/creative_dw_menu_"+I.toLowerCase()+".swf";if(A()||ct()){var D=Number(H.style.width.replace('px',''))+Math.abs(Number(cs.style.left.replace('px','')));var E=H.style.height.replace('px','');var bh=new SWFObject(bg,"creative_menu_"+G+"_swf",D,E,"8","#336699");}else{var bh=new SWFObject(bg,"creative_menu_"+G+"_swf","100%","2000","8","#336699");}if(a().indexOf('IE')!=-1){bh.addParam("swLiveConnect","true");}bi(Y,bh,I);bh.addVariable("menu_type",I);bh.addVariable("fittopage",u);bh.addVariable("cutroundcorners",bc);bh.addVariable("lextraspace",g[G].T);bh.addVariable("rextraspace",g[G].V);bh.addVariable('page_id',bj(G));bh.addVariable('page_url',location.href);bh.addVariable('cm_name',G);bh.addVariable('opsys',l);bh.addVariable('browser',cp);bh.addParam("wmode","transparent");bh.addParam("allowScriptAccess","sameDomain");bh.addParam("scale","noscale");bh.write("menu_holder_"+G);}function bf(){var scripts=document.getElementsByTagName("SCRIPT");var bk;for(var bl=0;blN())?bN():N();var bO=(bP()>bQ())?bP():bQ();var D=width;if(g[bK].u){D=Number(r.style.width.replace('px',''));}else{if(bp(r)+O()+D>=bM){D=bM-bp(r)-O()-bJ();}}if(D=Number(bO)){E=bO-bR(r)+Number(bS())-1;}}if(E