// Copyright(C)2009-2010 CSSMenuTools All rights reserved.
// www.cssmenutools.com
//ProductID:AcrdMenu
// Registered to:CarlosCardoso
var PCCQaKC={dummy:0,
version:'1.0.7.7',
seo_links:2,
menu_width:225,
layer:false,
x:0,
y:0,
valign:0,
is_floating:false,
show_selected:true,
expand_selected:true,
expandSelAnimated:false,
one_opened:true,
animation_type:0,
open_speed:10,
OpenByMouseOver:false,
DelayOpenByMouseOver:1000,
wrapText:false,
rtl:false,
PREVIEW_BACKGROUND_COLOR:'#ffffff',
MENU_NAME:'Shadows Gray',
stream:[0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"ACESS\u00D3RIOS","",'','','PCCQaKC__Level-1-arrow',40,0,false,5,0,"Acess\u00F3rios&nbsp;Diversos","",'&../../shopdisplayproducts.asp?id=37','','PCCQaKC__Level-2',18,0,false,0,0,"Acess\u00F3rios&nbsp;Oakley","",'&../../shopdisplayproducts.asp?id=38','','PCCQaKC__Level-2',18,0,false,0,0,"Lentes&nbsp;Oakley","",'&../../shopdisplayproducts.asp?id=45','','PCCQaKC__Level-2',18,0,false,0,0,"Lentes&nbsp;Outras&nbsp;Marcas","",'&../../shopdisplayproducts.asp?id=40','','PCCQaKC__Level-2',18,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"LENTES&nbsp;DE&nbsp;CONTACTO","",'','','PCCQaKC__Level-1-arrow',40,0,false,15,0,"Lentes&nbsp;Di\u00E1rias","",'&../../shopdisplayproducts.asp?id=53','','PCCQaKC__Level-2',18,0,false,0,0,"Lentes&nbsp;Semanais&nbsp;/&nbsp;Quinzenais","",'&../../shopdisplayproducts.asp?id=54','','PCCQaKC__Level-2',18,0,false,0,0,"Lentes&nbsp;Mensais","",'&../../shopdisplayproducts.asp?id=55','','PCCQaKC__Level-2',18,0,false,0,0,"Lentes&nbsp;Trimestrais&nbsp;/&nbsp;Anuais","",'&../../shopdisplayproducts.asp?id=56','','PCCQaKC__Level-2',18,0,false,0,0,"Lentes&nbsp;T\u00F3ricas","",'&../../shopdisplayproducts.asp?id=57','','PCCQaKC__Level-2',18,0,false,0,0,"Lentes&nbsp;Multifocais","",'&../../shopdisplayproducts.asp?id=58','','PCCQaKC__Level-2',18,0,false,0,0,"Lentes&nbsp;Coloridas","",'&../../shopdisplayproducts.asp?id=33','','PCCQaKC__Level-2',18,0,false,0,0,"","",'','','PCCQaKC__Bottom',18,0,false,0,0,"Produtos&nbsp;Limpeza","",'&../../shopdisplayproducts.asp?id=36','','PCCQaKC__Level-2',18,0,false,0,0,"","",'','','PCCQaKC__Bottom',18,0,false,0,0,"Bausch&nbsp;&amp;&nbsp;Lomb","",'&../../shopdisplayproducts.asp?id=31','','PCCQaKC__Level-2',18,0,false,0,0,"Ciba&nbsp;Vision","",'&../../shopdisplayproducts.asp?id=32','','PCCQaKC__Level-2',18,0,false,0,0,"Cooper&nbsp;Vision&nbsp;Hydron","",'&../../shopdisplayproducts.asp?id=34','','PCCQaKC__Level-2',18,0,false,0,0,"Johnson&nbsp;&amp;&nbsp;Johnson","",'&../../shopdisplayproducts.asp?id=35','','PCCQaKC__Level-2',18,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"\u00D3CULOS&nbsp;DE&nbsp;SOL","",'','','PCCQaKC__Level-1-arrow',40,0,false,19,0,"Arnette","",'&../../shopdisplayproducts.asp?id=7','','PCCQaKC__Level-2',18,0,false,0,0,"Blue&nbsp;Bay","",'&../../shopdisplayproducts.asp?id=46','','PCCQaKC__Level-2',18,0,false,0,0,"Carrera","",'&../../shopdisplayproducts.asp?id=9','','PCCQaKC__Level-2',18,0,false,0,0,"Carrera&nbsp;Sport","",'&../../shopdisplayproducts.asp?id=50','','PCCQaKC__Level-2',18,0,false,0,0,"Christian&nbsp;Dior","",'&../../shopdisplayproducts.asp?id=16','','PCCQaKC__Level-2',18,0,false,0,0,"Diesel","",'&../../shopdisplayproducts.asp?id=12','','PCCQaKC__Level-2',18,0,false,0,0,"Diesel&nbsp;55DSL","",'&../../shopdisplayproducts.asp?id=12','','PCCQaKC__Level-2',18,0,false,0,0,"Emporio&nbsp;Armani","",'&../../shopdisplayproducts.asp?id=11','','PCCQaKC__Level-2',18,0,false,0,0,"Giorgio&nbsp;Armani","",'&../../shopdisplayproducts.asp?id=13','','PCCQaKC__Level-2',18,0,false,0,0,"Marc&nbsp;by&nbsp;Marc&nbsp;Jacobs","",'&../../shopdisplayproducts.asp?id=59','','PCCQaKC__Level-2',18,0,false,0,0,"Oakley","",'&../../shopdisplayproducts.asp?id=14','','PCCQaKC__Level-2',18,0,false,0,0,"Oakley&nbsp;Women","",'&../../shopdisplayproducts.asp?id=52','','PCCQaKC__Level-2',18,0,false,0,0,"Oxydo","",'&../../shopdisplayproducts.asp?id=10','','PCCQaKC__Level-2',18,0,false,0,0,"Ray-Ban","",'&../../shopdisplayproducts.asp?id=15','','PCCQaKC__Level-2',18,0,false,0,0,"Tag&nbsp;Heuer","",'&../../shopdisplayproducts.asp?id=49','','PCCQaKC__Level-2',18,0,false,0,0,"Valentino","",'&../../shopdisplayproducts.asp?id=17','','PCCQaKC__Level-2',18,0,false,0,0,"Vogue","",'&../../shopdisplayproducts.asp?id=18','','PCCQaKC__Level-2',18,0,false,0,0,"Von&nbsp;Zipper","",'&../../shopdisplayproducts.asp?id=51','','PCCQaKC__Level-2',18,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"\u00D3CULOS&nbsp;PARA&nbsp;DESPORTO","",'','','PCCQaKC__Level-1-arrow',40,0,false,13,0,"Atletismo","",'&../../shopdisplayproducts.asp?id=19','','PCCQaKC__Level-2',18,0,false,0,0,"B.T.T.","",'&../../shopdisplayproducts.asp?id=20','','PCCQaKC__Level-2',18,0,false,0,0,"Ciclismo","",'&../../shopdisplayproducts.asp?id=21','','PCCQaKC__Level-2',18,0,false,0,0,"Golf","",'&../../shopdisplayproducts.asp?id=22','','PCCQaKC__Level-2',18,0,false,0,0,"Motocross","",'&../../shopdisplayproducts.asp?id=24','','PCCQaKC__Level-2',18,0,false,0,0,"Ski&nbsp;/&nbsp;Snowboard","",'&../../shopdisplayproducts.asp?id=26','','PCCQaKC__Level-2',18,0,false,0,0,"Pesca","",'&../../shopdisplayproducts.asp?id=27','','PCCQaKC__Level-2',18,0,false,0,0,"Tiro","",'&../../shopdisplayproducts.asp?id=28','','PCCQaKC__Level-2',18,0,false,0,0,"Voleibol&nbsp;de&nbsp;Praia","",'&../../shopdisplayproducts.asp?id=29','','PCCQaKC__Level-2',18,0,false,0,0,"","",'','','PCCQaKC__Bottom',18,0,false,0,0,"\u00AB&nbsp;Edi\u00E7\u00F5es&nbsp;Especiais&nbsp;\u00BB","",'&../../shopdisplayproducts.asp?id=30','','PCCQaKC__Level-2',18,0,false,0,0,"\u00AB&nbsp;Edi\u00E7\u00F5es&nbsp;Limitadas&nbsp;\u00BB","",'&../../shopdisplayproducts.asp?id=30','','PCCQaKC__Level-2',18,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"PROMO\u00C7\u00D5ES","",'','','PCCQaKC__Level-1-arrow',40,0,false,3,0,"Lentes&nbsp;de&nbsp;Contacto","",'&../../shopdisplayproducts.asp?id=43','','PCCQaKC__Level-2',18,0,false,0,0,"Outlet&nbsp;\u00D3culos&nbsp;de&nbsp;Sol","",'&../../shopdisplayproducts.asp?id=41','','PCCQaKC__Level-2',18,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0,0,"","",'','','PCCQaKC__Divider',1,0,false,0],
browser:function(){var ua=navigator.userAgent.toLowerCase()
this.opera=ua.indexOf('opera')>=0
this.safari=ua.indexOf('safari')>=0
this.ie=document.all&&!this.opera
this.macie=this.ie&&ua.indexOf('mac')>=0
this.winie=this.ie&&!this.macie
this.ieCanvas=(this.ie&&document.compatMode=="CSS1Compat")?document.documentElement:document.body
return this},
setPathAdjustment:function(ID){var sl=''
var sc=document.getElementsByTagName('script')
for(var i=0;i<sc.length;i++){if(sc[i].innerHTML.search(ID)>-1)sl=sc[i].src}this.SCRIPT_LOCATION=sl.substr(0, sl.lastIndexOf('/')+1)},
adjustPath:function(path){var idf=path.charAt(0)
if(idf=='*'||idf=='&')return this.SCRIPT_LOCATION+path.substr(1)
return path},
linkScripts:function(aNewScripts){var scripts=document.getElementsByTagName('script')
for(var i=0;i<aNewScripts.length;i++){var bScriptLinked=false
for(var j=0;j<scripts.length;j++){if(aNewScripts[i]==scripts[j].src){bScriptLinked=true;break}}if(!bScriptLinked)document.write("<script src='"+this.adjustPath(aNewScripts[i])+"' type='text/javascript'><\/script>")}},
isCurrent:function(r){if(!r)return false
var l=location.href.replace(/ /g,'%20')
if(r.search('//')==-1){if(r.charAt(0)=='/')
r=l.replace(/(.*\/\/[^\/]*).*/,'$1')+r
else
r=l.replace(/[^\/]*$/,'')+r}do{var r1=r
r=r1.replace(/[^\/]*\/\.\.\//,'')}while(r!=r1)
return r==l},
addLoadEvent:function(f){var done=0
function w(){if(!done){done=1
f()}}if(document.addEventListener){document.addEventListener('DOMContentLoaded', w, false)}if(this.br.ie&&window==top)(function(){try{document.documentElement.doScroll('left')}catch(e){setTimeout(arguments.callee, 0)
return}w()})()
var oldf=window.onload
if(typeof oldf!='function'){window.onload=w}else{window.onload=function(){try{oldf()}catch(e){}w()}}},
Preload:function(){var b=document.getElementsByTagName('body');if(b[0]){var bb=b[0];var d;d=document.createElement('div');d.className='PCCQaKC__Level-2-arrow PCCQaKC__Preload';bb.appendChild(d);d=document.createElement('div');d.className='PCCQaKC__Level-2-arrow_MO PCCQaKC__Preload';bb.appendChild(d);d=document.createElement('div');d.className='PCCQaKC__Level-2-arrow_SEL PCCQaKC__Preload';bb.appendChild(d);}},
init:function(){var m=this
m.ID=AcrdMenu_ID
m.br=new m.browser()
m.setPathAdjustment('AcrdMenuMenu script ID:'+m.ID+' ')
m.linkScripts(new Array())
m.addLoadEvent(m.onload)},
onload:function(){PCCQaKC.start()},
addItem:function(i, p, level, submenuIndex){if(i>=this.stream.length)return i;var li=document.createElement('li');li.bClosed=true;li.bAnimated=false;li.ItemType=this.stream[i++];li.ItemText=this.stream[i++];li.title=this.stream[i++];li.title=li.title.replace(/&quot;/gi, '"');li.ItemURL=this.adjustPath(this.stream[i++]);li.URLTarget=this.stream[i++];if(li.URLTarget.substr(0,3)=='_PL'){li.func=this.stream[i++];li.params=this.stream[i++];}li.classMain=this.stream[i++];li.h=this.stream[i++];var VertInterval=this.stream[i++];//-margin       css 
li.AlwaysStayOpen=this.stream[i++];var nCountChildren=this.stream[i++];li.ItemCountChildren=nCountChildren;li.level=level;li.style.width=this.menu_width+'px';li.sel=false;if(this.show_selected){li.sel=this.isCurrent(li.ItemURL);}li.onclick=this.onclick;var curLi=this.submenus[submenuIndex].lis.length;this.submenus[submenuIndex].lis[curLi]=li;if(nCountChildren>0){this.SubMenuId++;this.submenus[this.SubMenuId]=new this.submenu(this, li, this.SubMenuId, submenuIndex);li.ChildSubMenuId=this.SubMenuId;}else{li.ChildSubMenuId=-1;}var curSubMenuInd=this.SubMenuId;while(nCountChildren--){i=this.addItem(i, this.submenus[curSubMenuInd].ul, level+1, curSubMenuInd);}if(level==0){i=this.addItem(i, p, level, submenuIndex);}return i;},
SetAllLiHeight:function(){for(var i=0;i<this.submenus.length;i++){for(var j=0;j<this.submenus[i].lis.length;j++){this.submenus[i].lis[j].h=this.submenus[i].lis[j].offsetHeight;}}for(var i=0;i<this.submenus.length;i++){if(i>0){var d=this.submenus[i].div;d.style.height='0px';d.style.display='none';d.style.position='static';}}},
start:function(){var m=this;m.Preload();m.submenus=new Array;m.SubMenuId=0;m.submenus[m.SubMenuId]=new m.submenu(m, null, 0,-1);var streamImdex=0;m.addItem(streamImdex, m.submenus[m.SubMenuId].ul, 0, m.SubMenuId);var i=0;while(i<m.submenus.length){var ul=m.submenus[i].ul;var lis=m.submenus[i].lis;if(lis){for(var curLi=0;curLi<lis.length;curLi++){var li=lis[curLi];var h=document.createElement('div');if(li.sel){h.className=li.classMain+'_SEL';}else{h.className=li.classMain;h.classMain=li.classMain;h.classMO=li.classMain+'_MO';h.onmouseover=this.onmouseover;h.onmouseout=this.onmouseout;}h.innerHTML=li.ItemText;li.appendChild(h);if(li.ChildSubMenuId>=0){li.appendChild(m.submenus[li.ChildSubMenuId].div);}}}if(i==0){while(ul.firstChild)ul.removeChild(ul.firstChild);}for(var curLi=0;curLi<lis.length;curLi++){ul.appendChild(lis[curLi]);}i++;}m.SetAllLiHeight();this.ExpandAllAlwaysStayOpen();if(this.expand_selected==true){this.ExpandSelected();}},
arr:[],
save_open_speed:0,
DownAfterWait:function(ind){if(this.arr[ind].SMParent.bAnimated==true){window.setTimeout('PCCQaKC.DownAfterWait('+ind+')', 50);return;}this.arr[ind].SMParent.bClosed=false;ind--;if(ind>=0){eval('PCCQaKC.sm'+this.arr[ind].SMParent.ChildSubMenuId+'.slidedown(0, 0, 2, 0, 0,-2)');this.DownAfterWait(ind);}else{this.arr.length=0;this.open_speed=this.save_open_speed;}},
ExpandAllAlwaysStayOpen:function(){for(var j=0;j<this.submenus[0].lis.length;j++){//top level only
if(this.submenus[0].lis[j].AlwaysStayOpen==true&&this.submenus[0].lis[j].bClosed==true){this.save_open_speed=this.open_speed;this.open_speed=1000;eval('PCCQaKC.sm'+this.submenus[0].lis[j].ChildSubMenuId+'.slidedown(0, 0, 2, 0, 0,-2)');this.open_speed=this.save_open_speed;this.submenus[0].lis[j].bClosed=false;}}},
ExpandSelected:function(){for(var i=0;i<this.submenus.length;i++){for(var j=0;j<this.submenus[i].lis.length;j++){if(this.submenus[i].lis[j].sel==true&&
(i>0&&this.submenus[i].SMParent.bClosed==true||this.submenus[i].lis[j].ChildSubMenuId>=0)){if(this.submenus[i].lis[j].ChildSubMenuId>=0){this.arr.push(this.submenus[this.submenus[i].lis[j].ChildSubMenuId]);}if(this.submenus[i].lis[j].level>0){var parent=this.submenus[i];while(parent.parentSubMenuInd>-1){this.arr.push(parent);parent=this.submenus[parent.parentSubMenuInd];}}if(this.arr.length>0){this.save_open_speed=this.open_speed;if(this.expandSelAnimated==false){this.open_speed=1000;}eval('PCCQaKC.sm'+this.arr[this.arr.length-1].SMParent.ChildSubMenuId+'.slidedown(0, 0, 2, 0, 0,-2)');this.DownAfterWait(this.arr.length-1);return;}}}}},
CloseAllLevels:function(level, index){for(var j=0;j<this.submenus[index].lis.length;j++){if(this.submenus[index].lis[j].bClosed==false&&
 this.submenus[index].lis[j].level==level&&
 this.submenus[index].lis[j].AlwaysStayOpen==false){eval('PCCQaKC.sm'+this.submenus[index].lis[j].ChildSubMenuId+'.slideup(0, 0, 2)');this.submenus[index].lis[j].bClosed=true;}}},
GetOpened:function(level, index){for(var j=0;j<this.submenus[index].lis.length;j++){if(this.submenus[index].lis[j].bClosed==false&&
 this.submenus[index].lis[j].level==level&&
 this.submenus[index].lis[j].AlwaysStayOpen==false){return this.submenus[index].lis[j].ChildSubMenuId;}}return-1;},
IsOtherAnimated:function(SubMenuId){for(var i=0;i<this.submenus.length;i++){for(var j=0;j<this.submenus[i].lis.length;j++){if(this.submenus[i].lis[j].bAnimated==true&&this.submenus[i].lis[j].ChildSubMenuId!=SubMenuId){return true;}}}return false;},
CurLi:null,
DelayTimer:null,
OpenURL:function(){if(PCCQaKC.CurLi){if(!PCCQaKC.CurLi.ItemURL)return;if(PCCQaKC.CurLi.func)
eval(PCCQaKC.CurLi.func+'("AcrdMenuMenu script ID:"+PCCQaKC.ID,"'+PCCQaKC.CurLi.ItemURL+'",'+PCCQaKC.CurLi.params+')');else{if(PCCQaKC.CurLi.URLTarget)window.open(PCCQaKC.CurLi.ItemURL,PCCQaKC.CurLi.URLTarget);else location=PCCQaKC.CurLi.ItemURL;}}},
onclick:function(evt){var e=PCCQaKC.br.ie?event:evt;if(this.level&&this.level>0){if(PCCQaKC.br.ie)e.cancelBubble=true;else e.stopPropagation();}if(this.sel==true&&this.ChildSubMenuId<0)return;if(this.AlwaysStayOpen==true)return;if((this.sel==false)&&(this.ChildSubMenuId<0||(this.ChildSubMenuId>=0&&this.bClosed))){if(!PCCQaKC.OpenByMouseOver){PCCQaKC.CurLi=this;PCCQaKC.OpenURL();}}if(this.ChildSubMenuId>=0){if(PCCQaKC.IsOtherAnimated(-1)==false){if(this.bClosed){if(PCCQaKC.one_opened==true){if(PCCQaKC.animation_type==1){eval('SubMenuObj=PCCQaKC.sm'+this.ChildSubMenuId);if(SubMenuObj){PCCQaKC.CloseAllLevels(this.level, SubMenuObj.parentSubMenuInd);}}}eval('PCCQaKC.sm'+this.ChildSubMenuId+'.slidedown(0, 0, 2, 0, 0,-2)');this.bClosed=false;}else{eval('PCCQaKC.sm'+this.ChildSubMenuId+'.slideup(0, 0, 2)');this.bClosed=true;}}}},
onmouseover:function(evt){this.className+=' '+this.classMO;if(PCCQaKC.OpenByMouseOver){PCCQaKC.CurLi=this.parentNode;PCCQaKC.DelayTimer=setTimeout('PCCQaKC.OpenURL()', PCCQaKC.DelayOpenByMouseOver);}},
onmouseout:function(evt){this.className=this.classMain;if(PCCQaKC.DelayTimer){clearTimeout(PCCQaKC.DelayTimer);PCCQaKC.CurLi=null;}},
getSource:function(evt, CSSClass){var e=this.br.ie?event.srcElement:evt.target;if(e&&e.className&&e.className.substr(0,CSSClass.length)==CSSClass)
return e;return;}};PCCQaKC.submenu=function(m, p, index, parentSM){var f=this;f.lis=new Array;if(index==0){f.div=document.getElementById(m.ID+'Div');var uls=f.div.getElementsByTagName('ul');if(uls[0]){f.ul=uls[0];}}else{f.div=document.createElement('div');f.div.style.margin='0px';f.div.style.padding='0px';f.div.style.overflow='hidden';f.div.style.border='0px';f.div.style.position='absolute';f.div.style.top='-1000px';f.div.style.left='0px';p.Child=f;f.ul=document.createElement('ul');f.ul.style.margin='-10000px 0px 0px';f.ul.style.width=m.menu_width+'px';f.div.appendChild(f.ul);}f.parentSubMenuInd=parentSM;f.SubMenuInd=index;f.m=m;f.SMParent=p;f.obj='PCCQaKC.sm'+index;f.ParentNeedUp=0;eval(f.obj+'=f');};PCCQaKC.submenu.prototype={GetChildSize:function(iSize, iSubMenuId){with(this){for(var i=0;i<m.submenus.length;i++){if(m.submenus[i].parentSubMenuInd==iSubMenuId){if(m.submenus[i].SMParent&&m.submenus[i].SMParent.bClosed==false){for(j=0;j<m.submenus[i].lis.length;j++){iSize+=m.submenus[i].lis[j].h;}iSize=GetChildSize(iSize, m.submenus[i].SubMenuInd);}}}}return iSize;},
slidedown:function(b, endSize, bRecurs, bUp, endSizeUp, Id){with(this){if(m.one_opened==true&&m.animation_type==1){if(bRecurs==2&&m.IsOtherAnimated(SubMenuInd)){window.setTimeout(obj+'.slidedown(0, 0, 2, 0, 0,-1)', 20);return;}}if(bRecurs==2){SMParent.bAnimated=true;}if(m.one_opened==true){if(m.animation_type==0&&bUp>=0){if(Id==-2){Id=m.GetOpened(SMParent.level, parentSubMenuInd);}if(Id>=0&&bUp<=endSizeUp){eval('var valUp=m.sm'+Id+'.slideup(bUp, endSizeUp, 1)');bUp=valUp.b;endSizeUp=valUp.endSize;}}}if(endSize==0){for(i=0;i<lis.length;i++){endSize+=lis[i].h;}endSize=GetChildSize(endSize, SubMenuInd);}if(b<0)b=0;if(b==0){div.style.display='block';}var addb=m.open_speed;if(bRecurs==2){b+=m.open_speed;if((b>endSize)&&(b-endSize)<m.open_speed)b=endSize;}if(ul.style.marginTop!='0px'){ul.style.marginTop=b-endSize+'px';}if(b>0){if(b==endSize){var mod1=endSize % addb;if(mod1!=0)addb=mod1;}div.style.height=div.clientHeight+addb+'px';}if(parentSubMenuInd>0){eval(m.submenus[parentSubMenuInd].obj+'.slidedown('+ b+','+endSize+',0,-1,-1,-1)');}if(bRecurs==0&&bUp==-1&&endSizeUp==-1&&Id==-1&&b>=endSize)
ParentNeedUp++;if(bRecurs==2&&b>=endSize){ParentNeedUp++;SMParent.bAnimated=false;if(m.one_opened==true){if(m.animation_type==0&&bUp>=0){if(Id>=0&&bUp<endSizeUp){eval('m.sm'+Id+'.slideup(bUp, endSizeUp, 2)');}}}return;}if(bRecurs==2){if(b<endSize){window.setTimeout(obj+'.slidedown('+b+','+endSize+',2,'+bUp+','+endSizeUp+','+Id+')', 20);}}}},
slideup:function(b, endSize, bRecurs){with(this){if(bRecurs==2){SMParent.bAnimated=true;}if(endSize==0){endSize=div.clientHeight;}if(b<0)b=0;if(bRecurs>0){if(b<endSize)
b+=m.open_speed;if((b>endSize)&&(b-endSize)<=m.open_speed)b=endSize;}if(bRecurs>0){ul.style.marginTop=-b+'px';}var addb=m.open_speed;if(b>0){if(b==endSize){var mod1=endSize % addb;if(mod1!=0)addb=mod1;}var divh=div.clientHeight-addb;if(divh<0)divh=0;div.style.height=divh+'px';}if(bRecurs>0&&b==endSize){div.style.display='none';}if(parentSubMenuInd>0){if(b<=endSize){if(ParentNeedUp>0){eval(m.submenus[parentSubMenuInd].obj+'.slideup('+ b+','+endSize+',0)');if(b==endSize){ParentNeedUp--;}}}}if(b<endSize){if(bRecurs==2){window.setTimeout(obj+'.slideup('+b+','+endSize+',2)', 20);}}else{SMParent.bAnimated=false;if(bRecurs>0){SMParent.bClosed=true;}}}return{b:b, endSize:endSize};},
dummy:null};PCCQaKC.init();