var $j=jQuery.noConflict();function tableHide(){$j('#table-specs').hide();}
function initMenus(){$j('ul.menu ul').hide();$j.each($j('ul.menu'),function(){var cookie=$j.cookie(this.id);if(cookie===null||String(cookie).length<1){$j('#'+this.id+'.expandfirst ul:first').show();}
else{$j('#'+this.id+' .'+cookie).next().show();}});$j('ul.menu li a').click(function(){var checkElement=$j(this).next();var parent=this.parentNode.parentNode.id;if($j('#'+parent).hasClass('noaccordion')){if((String(parent).length>0)&&(String(this.className).length>0)){if($j(this).next().is(':visible')){$j.cookie(parent,null);}
else{$j.cookie(parent,this.className);}
$j(this).next().slideToggle('normal');}}
if((checkElement.is('ul'))&&(checkElement.is(':visible'))){if($j('#'+parent).hasClass('collapsible')){$j('#'+parent+' ul:visible').slideUp('normal');}
return false;}
if((checkElement.is('ul'))&&(!checkElement.is(':visible'))){$j('#'+parent+' ul:visible').slideUp('normal');if((String(parent).length>0)&&(String(this.className).length>0)){$j.cookie(parent,this.className);}
checkElement.slideDown('normal');return false;}});}
function tabPost(){$j('#posttabs,#posttabs-1,#posttabs-2,#posttabs-3,#posttabs-4,#posttabs-5').tabs({cookie:{name:'post-tabs',expires:30}})}
function toolTip(){$j("#sociable2 a[title],ul.commentlist li div.comment-area div.commentmetadata img[title]").qtip({style:{width:100,padding:1,background:'#302D26',color:'white',textAlign:'center',border:{width:1,radius:8,color:'#302D26'},tip:{corner:'bottomMiddle',color:'#302D26',size:{x:16,y:8}}},position:{corner:{target:'topMiddle',tooltip:'bottomMiddle'},adjust:{x:0,y:-15}}});}
function kiekeboe(){$j('.kiekeboe').hide();$j('.kiekeboeToggle').click(function(){$j('.kiekeboe').toggle('fast');return false;})}
$j(document).ready(launchPage);function launchPage(){tabPost();initMenus();toolTip();tableHide();kiekeboe();}
