
/**
	Pruefung Suchform.
*/
function checkSearchForm(){
	return $('#strSuche').val()=='' || $('#strSuche').val()==start_topSearch ? false : true
}

/**
	SLIDESHOW
	
	<div id="headSlideShow">  
		<a href="#" class="show"><img src="images/....jpg" alt="Text" title="" width="580" height="360" rel="<h3>Beschrg.Ueberschrift</h3>Fliesstext" /></a>  
		<a href="#"><img src="images/....jpg" alt="Grass Blades" title="" width="580" height="360" rel="<h3>Uber</h3>text" /></a>  
		<div class="caption"><div class="content"></div></div>  
	</div>  
	<div class="clearer"></div>
*/
function headSlideShow() {  
	//Set the opacity of all images to 0  
	$('#headSlideShow a').css({opacity: 0.0});  
	//Get the first image and display it (set it to full opacity)  
	$('#headSlideShow a:first').css({opacity: 1.0});  
	//Set the caption background to semi-transparent  
	$('#headSlideShow .caption').css({opacity: 0.7});  
	//Resize the width of the caption according to the image width  
	$('#headSlideShow .caption').css({width: $('#headSlideShow a').find('img').css('width')});  
	//Get the caption of the first image from REL attribute and display it  
	//$('#headSlideShow .content').html($('#headSlideShow a:first').find('img').attr('rel')).animate({opacity: 0.7}, 400);  
	//Call the gallery function to run the slideshow, 6000 = change to next image after 6 seconds  
	setInterval('headGallery()',7000);  
}  
   
function headGallery() {  
	//if no IMGs have the show class, grab the first image  
	var current = ($('#headSlideShow a.show')?  $('#headSlideShow a.show') : $('#headSlideShow a:first'));  
	//Get next image, if it reached the end of the slideshow, rotate it back to the first image  
	var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#headSlideShow a:first') :current.next()) : $('#headSlideShow a:first'));     
	//Get next image caption  
	var caption = '';//next.find('img').attr('rel');   
	//Set the fade in effect for the next image, show class has higher z-index  
	next.css({opacity: 0.0}).addClass('show').animate({opacity: 1.0}, 2000);  
	//Hide the current image  
	current.animate({opacity: 0.0}, 1000).removeClass('show');  
	//Set the opacity to 0 and height to 1px  
	//$('#headSlideShow .caption').animate({opacity: 0.0}, { queue:false, duration:0 }).animate({height: '1px'}, { queue:true, duration:300 });   
	//Animate the caption, opacity to 0.7 and heigth to 100px, a slide up effect  
	//$('#headSlideShow .caption').animate({opacity: 0.7},100 ).animate({height: '100px'},500 );  
	//Display the content  
	//$('#headSlideShow .content').html(caption);  
}

/**
	STAT

var id="bsz-grh";
var pphPath="http://www.bsz-grossenhain.de/pp/";
if(showme==null)var showme='n';if(st==null)var st='js';var v=navigator.appName;var c=0;if(v!="Netscape")c=screen.colorDepth;else c=screen.pixelDepth;var s=screen.width+"x"+screen.height;var t=escape(document.title);var f="";if(typeof(pp_frames)!="undefined")if(pp_frames)f=top.document.referrer;if((f=="")||(f=="[unknown origin]")||(f=="unknown")||(f=="undefined"))if(document["parent"]!=null)if(parent["document"]!=null)if(parent.document["referrer"]!=null)if(typeof(parent.document)=="object")f=parent.document.referrer;if((f=="")||(f=="[unknown origin]")||(f=="unknown")||(f=="undefined"))if(document["referrer"]!=null)f=document.referrer;if((f=="")||(f=="[unknown origin]")||(f=="unknown")||(f=="undefined"))f="";f=escape(f);var r="?id="+id+"&referer="+f+"&r="+s+"&c="+c+"&showme="+showme+"&st="+st+"&title="+t;if(jslogid==null)var jslogid=0;else r=r+"&jslogid="+jslogid;if(st=='js'){if(v!="Microsoft Internet Explorer")r=r+"&url="+document.URL;document.open();document.write("<script language=\"JavaScript\" type=\"text/javascript\" src=\""+pphPath+"pphlogger.php"+r+"\"></script>");document.close()}else{rand=Math.round(1000*Math.random());r=r+"&b="+rand;document.open();document.write("<img src=\""+pphPath+"pphlogger.php"+r+"\" alt=\"\" border=\"0\">");document.close()}
*/


