var $j = jQuery.noConflict();

$j(document).ready(function(){ 
	$j(document).pngFix();	

	//csc-frame-frame2 ausblenden
	$j('#main .content .csc-frame-frame2').hide();
	
	//versteckter Text vorhanden?
	if($j('#main .content .csc-frame-frame2').length > 0) {
		//... hinzuf�gen
		$j('#main .content .csc-frame-frame2:first').prev('p').append('<span id="dots" class="togpbtn">[...]</span>');
		$j('#main #more').show();
	}
	$j('.togpbtn').click(function(){
		//... ausblenden und Text anzeigen
		$j('#dots').hide();
		$j('#more').hide();
		$j('#main .content .csc-frame-frame2').slideDown("slow");
		$j('#less').show();
	});
	$j('.togmbtn').click(function(){
		//... einblenden und Text ausblenden
		$j('#dots').show();
		$j('#more').show();
		$j('#main .content .csc-frame-frame2').slideUp("slow");
		$j('#less').hide();
	});

//IE6 fix
if ( $j.browser.msie &&  $j.browser.version < 7) {
  $j('body').css('visibility','hidden');
  window.setTimeout("$j('body').css('visibility','visible')", 1000);
}
	// Load dialog on click
	$j('.mitarbeiter .basic').click(function (e) {
		$j(this).siblings(".jTip-content").modal();
		return false;
	});	
});
