//Prototype+
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('g.Q(g,{1V:b(m,f){6(I(f)=="15")f=f.1e();1s(d 1t m){6(!g.1q(f[d]))m[d]=f[d]};a m},1W:b(m,f){6(I(f)=="15")f=f.1e();1s(d 1t f){6(g.1q(m[d]))m[d]=f[d]};a m},1A:b(m,f,u){1s(d 1t f){6(g.1q(m[d]))m[d]=f[d];l 6(g.1o(m[d])&&g.1o(f[d]))m[d]=g.1A(m[d],f[d],u);l 6(u!=28)m[d]=f[d]};a m},1U:b(j,Y){6(I(Y)=="15")Y=Y.q(",");5 1n={};Y.1f(b(v){1n[v]=j[v]});a 1n},1o:b(j){a I j=="j"&&j!=17&&!g.1L(j)},25:b(j){a I j=="j"&&N(j)==\'17\'},1C:b(j){a j 26 L}});g.Q(L.W,{22:b(r){6(x(r.1O))9.1Y(9.1i()+r.1O);6(x(r.1F))9.1Z(9.20()+r.1F);a 9},21:b(h){5 1E=1r*1K*1K*24;5 1T=9.1S();5 1R=h.1S();a 19.1y((1R-1T)/1E)+1},23:b(h,1v){5 1h=9;6(!h)a 0;6(g.27(h))h=h.1z();6(1X(h)||!g.1C(h))a 0;5 1a=x(1h.1B()-h.1B());5 1k=x(1h.1M()-h.1M());5 F=x(h.1i()-h.1i());6((1k==0&&F<0)||1k<0)1a--;a(1a==0&&1v)?1:1a}});g.Q(N.W,{1e:b(r){6(r){5 t=r.j;5 e=(r.q)?9.q(r.q):9.q(",");e.1f(b(k,i){6(r.1H){5 Z=k.q(r.1H);5 18=(r.18)?Z[r.18]:i;t[18]=Z}l t[k]=17})}l{5 t={};9.q(",").1f(b(k){t[k]=17})}a t},1z:b(M){6(M)M=N(M).2w();l 6(9.1m(\'-\')==4)M="J-K-F";l M=\'F/K/J\';2s(M){12\'J-K-F\':5 13=[0,0,0];5 1c=9.q("T");5 h=1c[0].q("-");6(1c[1])13=1c[1].C(0,8).q(":");a w L(h[0],x(h[1])-1,h[2],13[0],13[1],13[2]);12\'K-F-J\':5 e=9.C(0,10).q(\'-\');a w L(e[2],x(e[0])-1,e[1]);12\'K/F/J\':5 e=9.C(0,10).q(\'/\');a w L(e[2],x(e[0])-1,e[1]);12\'F-K-J\':5 e=9.C(0,10).q(\'-\');a w L(e[2],x(e[1])-1,e[0]);12\'F/K/J\':5 e=9.C(0,10).q(\'/\');a w L(e[2],x(e[1])-1,e[0])}},2r:b(n,t){5 c=w 14(9);c.1P(n,t);a c.E},2q:b(j){a w 14(9).1d(j)}});g.Q(29.W,{2v:b(){a 9.z>1?9:9[0]}});g.Q(14.W,{2u:b(n){5 G=w 1j(\'<!--\'+n+\'-->([\\\\S\\\\s]*?)<!--/\'+n+\'-->\',\'1g\');9.E=9.E.u(G,\'\')},1U:b(n){5 G=w 1j(\'<!--\'+n+\'-->([\\\\S\\\\s]*?)<!--/\'+n+\'-->\',\'1g\');5 c=N(9.E.1N(G));6(c){c=c.u(\'<!--\'+n+\'-->\',\'\');c=c.u(\'<!--/\'+n+\'-->\',\'\')}9.E=9.E.u(G,\'#{\'+n+\'}\');a c},1P:b(n,t){5 G=w 1j(\'<!--\'+n+\'-->([\\\\S\\\\s]*?)<!--/\'+n+\'-->\',\'1g\');5 c=N(9.E.1N(G));6(c){c=c.u(\'<!--\'+n+\'-->\',\'\');c=c.u(\'<!--/\'+n+\'-->\',\'\');c=w 14(c).1d(t);9.E=9.E.u(G,c)}},1d:b(t){5 1u=9;6(g.1L(t))a t.2t(\'\',b(1l,Z){1l+=1u.1I(Z);a 1l});l a 1u.1I(t)}});2o.2e("1Q",{2f:b(O){O=$(O);6(O&&O.2p=="1Q"){5 i=O.2d(\'2c-2a\');6(i)O.2b=i.u(/2g\\(|"|\\)/2h,\'\')}}});g.Q(N.W,{2m:b(o){5 11=9;5 p,H,2n;5 y=D="";6(I(o)=="15"){5 16=o.1m("1");H=o.C(0,16);6(H=="1")H="";5 D=o.C(16+1,16+2);6(D==","){5 i=o.1b(".");6(i!=-1){p=o.z-i-1;y="."}l p=0}l 6(D=="."){5 i=o.1b(",");6(i!=-1){p=o.z-i-1;y=","}l p=0}l{D="";5 i=o.1b(".");6(i!=-1){p=o.z-i-1;y="."}l{5 i=o.1b(",");6(i!=-1){p=o.z-i;y=","}l{p=0;y=""}}}}l 6(I(o)=="2l"){p=o;y=".";D=",";H=""}l{y=".";D=",";p=2;H=""}5 1p=19.2k(10,p);11=2i(11);5 1x=19.2j((19.1y(11*1p)/1p));P=N(1x);5 A=P;5 B="";5 X=P.1m(\'.\');6(X==-1&&p>=0){B+=y;1w(B.z<=p){B+="0"}}l 6(X!=-1){A=P.1G(0,X);B=P.1G(X+1,P.z);B=y+B;1w(B.z<=p){B+="0"}}V=x(A);6(V>=1r){R=A.z;A=1D(""+(V/1r))+D+A.C(R-3,R)}6(V>=1J){R=A.z;A=1D(""+(V/1J))+D+A.C(R-7,R)}U=A+B;6(H)U=H+U;6(11<0){U="-"+U+""};a U}});',62,157,'|||||var|if|||this|return|function|st|property|arr|source|Object|date||object||else|destination|sub|formato|dec|split|options||obj|replace||new|Number|sep|length|dStr|pStr|substring|mil|template|dd|matchAll|signo|typeof|yyyy|mm|Date|format|String|element|workStr|extend|dLen|||retval|dNum|prototype|ipoint|values|value||anynum|case|time|Template|string|index|null|key|Math|age|lastIndexOf|dt|evaluates|toObject|each|img|today|getDate|RegExp|dm|str|indexOf|clone|isObject|div|isUndefined|1000|for|in|tpl|dob|while|workNum|round|toDate|amplify|getFullYear|isDate|parseInt|mili|minutes|substr|subsplit|evaluate|1000000|60|isArray|getMonth|match|days|subevaluate|IMG|end|valueOf|start|extract|copy|transfer|isNaN|setDate|setMinutes|getMinutes|diffDays|addTime|diffYear||isNull|instanceof|isString|false|Array|image|src|background|getStyle|addMethods|cssImage|url|gi|eval|abs|pow|number|toCurrency|param|Element|tagName|interpolates|subinterpolate|switch|inject|clear|reduce|toLowerCase'.split('|'),0,{}))

//Others
function initMenu(style,options){
	var ops=$$(style);
	var options=Object.extend({page:'productos'},options || {})
	ops.each( function(o,i){
		
		if(options.page!=o.id){			   
			o.setStyle({cursor:'pointer'});	
			/*o.observe('click',function(event){
				location=(o.id+".asp");
			})*/
		} else {
			o.href="javascript:;"
			o.addClassName(o.id);
		}
	})
}
function initSubMenu(style,options){
	var ops=$$(style);
	var options=Object.extend({page:'promociones'},options || {})
	ops.each( function(o,i){
		if(options.page!=o.id){			   
			o.setStyle({cursor:'pointer'});	
			/*o.observe('click',function(event){				   
				location.href=("productos.asp?type="+o.id)
			});*/
			o.observe('mouseover',function(event){
				this.addClassName('mark');
			}.bindAsEventListener(o));
			o.observe('mouseout',function(event){
				this.removeClassName('mark');
			}.bindAsEventListener(o));
		} else {
			o.href="javascript:;"
			o.addClassName(o.id); // o.addClassName('mark');//
		}
	})
}
