eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('(4($){a={2g:"1.2h",1s:J,14:"2i",15:4(8){3 k=$(8).1t("16");6 k?k:\'\'},17:"18.L",1u:J,S:"",1v:J,T:"",1w:\'<1x 16="$0">$$</1x>\',M:"&#F;",19:"&#F;&#F;&#F;&#F;",1a:"&#F;<1y/>",1b:{},A:{},1c:B.1d&&B.1d.1z,N:"",U:1A};$.1B=4(l){l=$.V({1e:B,1C:J,1f:\'18.2j\'},l);4 1g(y){2k(\'y = \'+y+";");6 y}6 $(l.1f,l.1e).O(4(){3 s={1D:f.2l};$(\'> 1E[@P=1F]\',f).O(4(){$.V(s,1g(f.y))});$(\'> 1E\',f).1G(\'[@P=1F]\').O(4(){3 P=f.P,y=1g(f.y);$(s.1D).O(4(){f[P]=y})});5(l.1C){$(f).2m()}})};$.2n.L=4(l){3 7=$.V({},a,l||{});4 1H(x,9){4 1I(C,p){3 o=(1J p.o=="2o")?p.o:p.o.1h;z.1i({C:C,o:"("+o+")",u:1+(o.c(/\\\\./g,"%").c(/\\[.*?\\]/g,"%").2p(/\\((?!\\?)/g)||[]).u,D:(p.D)?p.D:7.1w})}4 1K(){3 1j=0;3 1k=G 1L;W(3 i=0;i<z.u;i++){3 o=z[i].o;o=o.c(/\\\\\\\\|\\\\(\\d+)/g,4(m,1l){6!1l?m:"\\\\"+(1j+1+1M(1l,10))});1k.1i(o);1j+=z[i].u}3 1h=1k.2q("|");6 G 1m(1h,(9.2r)?"1N":"g")}4 1O(v){6 v.c(/&/g,"&2s;").c(/</g,"&2t;")}4 1P(v){6 v.c(/ +/g,4(1Q){6 1Q.c(/ /g,M)})}4 H(v){v=1O(v);5(M){v=1P(v)}6 v}4 1R(1S){3 i=0;3 j=1;3 p;1T(p=z[i++]){3 X=Q;5(X[j]){3 1U=/(\\\\\\$)|(?:\\$\\$)|(?:\\$(\\d+))/g;3 D=p.D.c(1U,4(m,1V,K){3 2u=\'\';5(1V){6"$"}E 5(!K){6 H(X[j])}E 5(K=="0"){6 p.C}E{6 H(X[j+1M(K,10)])}});3 1n=Q[Q.u-2];3 1W=Q[Q.u-1];3 1X=1W.1Y(Y,1n);Y=1n+1S.u;Z+=H(1X)+D;6 D}E{j+=p.u}}}3 M=7.M;3 z=G 1L;W(3 C 1Z 9.z){1I(C,9.z[C])}3 Z="";3 Y=0;x.c(1K(),1R);3 20=x.1Y(Y,x.u);Z+=H(20);6 Z}4 21(11){5(!7.A[11]){3 e=B.22("2v");e.2w="1o";e.2x="w/23";e.2y=11;B.2z("2A")[0].2B(e);7.A[11]=J}}4 12(8,24){3 9=7.1b[24];5(!9){6}$8=$(8);3 x=$8.w();5(!x){6}x=x.c(/\\r\\n?/g,"\\n");3 I=1H(x,9);5(7.19){I=I.c(/\\t/g,7.19)}5(7.1a){I=I.c(/\\n/g,7.1a)}$8.2C(I);5(a.1c){$8.2D().H("25").R("26",4(){a.U=f}).R("27",4(){5(a.U==f){a.N=B.1d.1z().2E}})}}4 28(k,l){3 1p={S:7.S,29:k+".2F",T:7.T,2a:k+".23"};3 s;5(l&&1J l=="18"){s=$.V(1p,l)}E{s=1p}6{9:s.S+s.29,1o:s.T+s.2a}}5(7.17){$.1B({1e:f,1f:7.17})}f.O(4(){3 8=f;3 k=7.15(8);5(\'\'!=k){3 h=28(k,8.L);5(7.1u||8.L){5(!7.A[h.9]){2G{7.A[h.9]=[8];$.2H(h.9,4(1q){1q.h=h.9;7.1b[h.9]=1q;5(7.1v){21(h.1o)}3 q=7.A[h.9];W(3 i=0,2b=q.u;i<2b;i++){12(q[i],h.9)}})}2I(2J){2K("2L 9 W \'"+k+"\' 2M 1G 2N 1Z \'"+h.9+"\'")}}E{7.A[h.9].1i(8)}12(8,h.9)}E{12(8,h.9)}}});6 f};$(4(){5(a.1s){5(a.2c){a.14=a.2c;5(a.2d){a.15=4(8){3 2e=G 1m("\\\\b"+a.2d+"\\\\b","1N");3 1r=$(8).1t("16");5(!1r){6\'\'}3 k=$.2O(1r.c(2e,""));6 k}}}$(a.14).L()}5(a.1c){4 2f(w){5(\'\'==w){6""}2P{3 13=(G 2Q()).2R()}1T(w.2S(13)>-1);w=w.c(/\\<1y[^>]*?\\>/2T,13);3 8=B.22(\'<25>\');8.2U=w;w=8.2V.c(G 1m(13,"g"),\'\\r\\n\');6 w}$("2W").R("2X",4(){5(\'\'!=a.N){2Y.2Z.30(\'31\',2f(a.N));32.33=34}}).R("26",4(){a.N=""}).R("27",4(){a.U=1A})}})})(35);',62,192,'|||var|function|if|return|book|el|recipe|ChiliBook||replace|||this||path|||recipeName|options|||exp|step|||settings||length|str|text|ingredients|value|steps|queue|document|stepName|replacement|else|160|new|filter|dish|true||chili|replaceSpace|preContent|each|name|arguments|bind|recipeFolder|stylesheetFolder|preElement|extend|for|aux|lastIndex|perfect||stylesheetPath|makeDish|newline_flag|automaticSelector|codeLanguage|class|metadataSelector|object|replaceTab|replaceNewLine|recipes|preFixCopy|selection|context|selector|jsValue|source|push|prevLength|exps|aNum|RegExp|offset|stylesheet|settingsDef|recipeLoaded|elClass|automatic|attr|recipeLoading|stylesheetLoading|defaultReplacement|span|br|createRange|null|metaobjects|clean|target|param|metaparam|not|cook|prepareStep|typeof|knowHow|Array|parseInt|gi|escapeHTML|replaceSpaces|spaces|chef|matched|while|pattern|escaped|input|unmatched|substring|in|lastUnmatched|checkCSS|createElement|css|recipePath|pre|mousedown|mouseup|getPath|recipeFile|stylesheetFile|iTop|elementPath|elementClass|selectClass|preformatted|version|8c|code|metaobject|eval|parentNode|remove|fn|string|match|join|ignoreCase|amp|lt|bit|link|rel|type|href|getElementsByTagName|head|appendChild|html|parents|htmlText|js|try|getJSON|catch|recipeNotAvailable|alert|the|was|found|trim|do|Date|valueOf|indexOf|ig|innerHTML|innerText|body|copy|window|clipboardData|setData|Text|event|returnValue|false|jQuery'.split('|'),0,{}))

$(function(){
	
	$('#categories.hidable').hover(
		function(){
			$('#product_images').hide();
			$('#left_refine_boxes').hide();
			$('#categories .menu').show();
		},
		function(){
			$('#product_images').show();
			$('#left_refine_boxes').show();
			$('#categories .menu').hide()
		}
	);
	

	$("a:first", ".menuv li.submenu", ".menuh li.submenu").addClass("seta");

	$(".menuv li.submenu, .menuh li.subv").hover(
		function(){$(this).addClass('hover');},
		function(){$(this).removeClass('hover');}
	);
	
	/* DEMO TOUR */
	$('#link_demo').click(function(){
		if ($('#demo').css('display') != 'none') {
			$('#demo').slideUp();
			$.ajax({
			   type: 'POST',
			   url: 'hide-demo.php',
			   data: 'hide=1'
			 });
		} else {
			$('#demo').slideDown();
			$.ajax({
			   type: 'POST',
			   url: 'hide-demo.php',
			   data: 'hide=0'
			 });
		}
	});
	
	$('#demo_close').click(function(){
		$('#demo').slideUp();
		$.ajax({
		   type: 'POST',
		   url: 'hide-demo.php',
		   data: 'hide=1'
		 });
	});
	
});