// JavaScript Document

function zufall(max){
	var zahl = Math.round(Math.random() * max);
	return zahl;
}

$(document).ready(function() {
	$("#sp_single_right_Lists img[title]").tooltip({ predelay:500, position: 'bottom center'});

	$("#afterbasketoverlay").overlay({
		top:260,
		closeOnClick: true,
		load: true
	});

	$(window).bind("load", function() {
			$(".skim-me").skim();
	});

	// initialize scrollable for thumbs in single article
	$(".scrollable").scrollable();
	
	$(function() {
		$("div#sp_single_desc_outer ul.tabs").tabs("div#sp_single_desc_outer div.panes > div");
	});
	
	$(function() {
		$("div#faqs ul.tabs").tabs("div#faqs div.panes > div");
	});
	
	
	

});
