/**
 * @author mad@Max
 * jQuery Loader
 */
function jq_check(b,c){if(!fetch_object("jqslideid")){var d=b.getElementsByTagName("div")[0];var a=document.createElement("span");a.id="jqslideid";a.innerHTML=" Loading...";d.appendChild(a);YAHOO.util.Get.script("http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js",{onSuccess:function(){console.log("jQuery is loaded");$(document).ready(function(){$("div.spoiler-head").live("click",function(){$(this).toggleClass("unfolded");var e=$(this).parent().children("div.spoiler-body");e.is(":visible")?e.hide("fast"):e.show("fast")});$("div.info-head").live("click",function(){$(this).toggleClass("unfoldedinfo");var e=$(this).parent().children("div.info-body");e.is(":visible")?e.hide("fast"):e.show("fast")})});wtf=(c)?"div.spoiler-body":"div.info-body";$(b).children(wtf).show("fast");jQuery.ready();a.style.display="none"},onFailure:function(e){YAHOO.log("transaction failed")},data:"foo",timeout:10000,scope:this,autopurge:true})}};
