jq(document).ready(function() {
		    //initialize all DIVs named "tc" as an easytab-block
		    jq('div[class="tc"]').easytabs({
		      animate:true,
		      animationSpeed:"slow"
		    });

		    //tab-links must be named "#tc-X-tab-Y" where X stands for the container-index and Y for the tab-index
		    //container-index starts at zero.
		    jq('a[href*="-tab-"]').click(function() {
		      myTabChooser(jq(this).attr("href"));
		    });

		    //if someone links to our page and has selected a specific tab, re-click it so we have the correct one selected and it's visible
		    anchor = window.location.hash;
		    if (anchor.length>1) {
		      jq('a[href="'+anchor+'"]').click();
		    }
		  });

		  //iterates though all tcs and click on the given tab
		  //@attr string the anchor/href-attribute of the tab-link which has been clicked, e.g."#tc-0-tab-2"
		  function myTabChooser(href) {
		      t = href.substring(href.length-1, href.length-0);

		      jq('div[class="tc"]').each(function(i) {
			jq(this).easytabs('select', '#tc-'+i+'-tab-'+t);
		      });
		  }
