setReflections=function(){if(!(document.keiOptions.reflections.checked)){location="index.php?r=0";}else{location="index.php";}};init_menu=function(g){var _2="";var _3=menuItems.length;for(var i=0;i<_3;i++){_2+="<li class=\"nav\">";_2+="<a href=\"#\" title=\""+menuItems[i][0]+"\">"+menuItems[i][0]+"</a><br /><small>Updated: "+menuItems[i][1]+"</small>";_2+="</li>";}$("div#menuBox ul").append(_2);$("div#menuBox ul li:last").addClass("last");$("div#warning").hide("slow");$("div#wrapper").fadeIn("normal");$("div#menuBox li.nav a").each(function(){var _5=this;$(_5).parent().click(function(){try{var _6=images[_5.title];if(_6.length>0){g.init_gallery(_6);$("div#menuBox").animate({height:"toggle"},"slow");if($("div#navToggler").html()=="Open Menu"){$("div#navToggler").html("Close Menu");}else{$("div#navToggler").html("Open Menu");}}}catch(e){alert("SYSTEM ERROR: The selected category ("+_5.title+" | "+_5.title+") contains to images!");}return false;});$(_5).parent().hover(function(){$(_5).parent().Highlight(1000,"#fff",function(){$(_5).parent().css({background:"#222"});});$(_5).css({color:"#990000"});},function(){$(_5).css({color:"#729CD3"});});});};