/* - STARTSEITE SLIDER - */

$().ready(function() {
	$('#slideshow').kwicks({
		defaultKwick: 0,
		sticky: true,
		max : 756,
		spacing : 0
	});
});

/* - FONT REPLACE - */

Cufon.replace("ul#menu li", {hover: true,fontFamily : "NewsGothicMT"});
Cufon.replace("#startseite div#slider ul#slideshow li div.desc div span", {fontFamily : "NewsGothicMT"});
Cufon.replace("#startseite #split-page #home h1", {fontFamily : "Arial"});
Cufon.replace("div.text h1, div.text h2, div.text h3", {fontFamily : "Arial"});
Cufon.replace("#content table.hostingpakete tr.main td span", {fontFamily : "Arial"});
Cufon.replace("#content table.hostingpakete tr.price td span", {fontFamily : "Arial"});
Cufon.replace("#content table.hostingupgrade tr.main td span", {fontFamily : "Arial"});
Cufon.replace("#content table.hostingupgrade tr.bestellen td.right table tr td p.preis span", {fontFamily : "Arial"});
Cufon.replace("#content table.rackspace tr.main td span", {fontFamily : "Arial"});
Cufon.replace("#content table.rackspace tr.price td p.preis span", {fontFamily : "Arial"});
Cufon.replace("#content table.dedizierteserver tr.main td span", {fontFamily : "Arial"});
Cufon.replace("#content table.dedizierteserver tr.preis td p.preis span", {fontFamily : "Arial"});
Cufon.replace("#content table.servicepakete tr.main td span", {fontFamily : "Arial"});
Cufon.replace("#content table.servicepakete tr.bestellen td table tr td p.preis span", {fontFamily : "Arial"});

/* - REFERENZ SLIDER SHOW (block/none) - */

function getRef() {
	
	var refslider = document.getElementById('refslider');
	var ecklink = document.getElementById('ecklink');
	
	refslider.style.display = (refslider.style.display == 'block' ? 'none' : 'block');
	ecklink.className = (ecklink.className == 'open' ? 'close' : 'open');
	
}

/* - REFERENZ SLIDER (jQuery) - */

jQuery(document).ready(function() {

    jQuery('#mycarousel').jcarousel();

});


/* - REFERENZ SLIDER SHOW (block/none) - */

function showMore(id) {
	
	var myobjekt = document.getElementById('showmore_' + id);
	var mylink = document.getElementById('opener_' + id);
	
	myobjekt.style.display = (myobjekt.style.display == 'block' ? 'none' : 'block');
	mylink.className = (mylink.className == 'open' ? 'close' : 'open');
	
}

