onload = function() {

$(document).ready(function() {
	$().piroBox({
		my_speed: 400, 
		bg_alpha: 0.1, 
		slideShow : true, 
		slideSpeed : 4, 
		close_all : '.piro_close,.piro_overlay'
	});

	$.cluetip.setup({
		width:            275,      // The width of the clueTip
		height:           'auto',   // The height of the clueTip
		cluezIndex:       97,       // Sets the z-index style property of the clueTip
		positionBy:       'auto',   // Sets the type of positioning
		topOffset:        15,       // Number of px to offset clueTip from top of invoking element
		leftOffset:       15,       // Number of px to offset clueTip from left of invoking element
		local:            true,    // Whether to use content from the same page for the clueTip's body (treats the attribute used for accessing the tip as a jQuery selector, but only selects the first element if the selector matches more than one)
		hideLocal:        true,     // If local option is set to true, this determines whether local content to be shown in clueTip should be hidden at its original location
		attribute:        'rel',    // the attribute to be used for fetching the clueTip's body content
		titleAttribute:   'title',  // the attribute to be used for fetching the clueTip's title
		splitTitle:       '|',       // A character used to split the title attribute into the clueTip title and divs within the clueTip body
		showTitle:        true,     // show title bar of the clueTip, even if title attribute not set
		cluetipClass:     'default',// class added to outermost clueTip div in the form of 'cluetip-' + clueTipClass
		hoverClass:       '',       // class applied to the invoking element onmouseover and removed onmouseout
		waitImage:        true,     // whether to show a "loading" img, which is set in jquery.cluetip.css
		arrows:           false,    // if true, displays arrow on appropriate side of clueTip
		dropShadow:       true,     // set to false if you don't want the drop-shadow effect on the clueTip
		dropShadowSteps:  6,        // adjusts the size of the drop shadow
		sticky:           false,    // keep visible until manually closed
		mouseOutClose:    false,    // close when clueTip is moused out
		activation:       'hover',  // set to 'click' to force user to click to show clueTip
		clickThrough:     false,    // if true, and activation is not 'click', then clicking on a clueTipped link will take user to the link's href, even if href and tipAttribute are equal
		tracking:         false,    // if true, clueTip will track mouse movement (experimental)
		delayedClose:     0,        // close clueTip on a timed delay (experimental)
		closePosition:    'top',    // location of close text for sticky cluetips; can be 'top' or 'bottom' or 'title'
		closeText:        'Close',  // text (or HTML) to to be clicked to close sticky clueTips
		truncate:         0,        // number of characters to truncate clueTip's contents. if 0, no truncation occurs
	});
  $('#tipp').cluetip({
		splitTitle: '|',
		arrows: true
  });
	
});	

function cleansearch() {
	content = document.getElementById('suchen');
	if (content.value == "Volltextsuche...") {
		content.value = '';
	} else { 
		if (content.value == "") {
			content.value = "Volltextsuche...";
		}	
	}	
}	
	
}

