// JavaScript Document


//Wenn Website eingebette, dann Frame loswerden
if (top.frames.length!==0) { top.location=self.document.location }

// jQuery AJAX

$(document).ready(function(){
	// Inhalt der Textfelder anzeigen
	$('#SearchForm_SearchForm_Search').each(function() {
		var attrTitle = 'Suchbegriff';
		
		if($(this).val() == '' || $(this).val() == attrTitle) {
			$(this).val(attrTitle).css({'color' : '#666'});
		}
		
		$(this).focus(function() {
			if($(this).val() == attrTitle) {
				$(this).val('').css({'color' : '#333'});
			}
		}).blur(function() {
			if($(this).val() == '') {
				$(this).css({'color' : '#666'}).val(attrTitle)
			}
		});
	});

});
