$('.box-faq').hide();

$(document).ready(function(){
	$('.tx-timtabsociable-pi1 img').eq(8).css("border-left","1px solid #ccc").css("padding-left","8px").css("opacity","1");											
	$('object').parent().prepend("<div style='color:#999;font-size:10px;'>Anzeige</div>");	
	$('.banner a img').each(function() {
            if ( $(this).width() > 1 ) {				
                $(this).parents('.banner').prepend("<div style='color:#999;font-size:10px;'>Anzeige</div>");
            }else{
				//$('.banner').hide();				
			}
    }); 	
});

$('.twtr-hd h3').text("Best offers, Tipps und Infos") ;	


$(".link-faq").hover(
		  function () {
		    //$(this).append($("<span>Klick mich!</span>"));
		    $(this).css({cursor:'pointer'});
		  } 
		  /*function () {
		    $(this).find("span:last").fadeOut().remove();
		  }*/
);

$('.link-faq').click(function() {
	$(this).nextUntil('.link-faq, h1, h3').slideToggle('fast');
	
});
//setTimeout(function(){
	//$('.hint').fadeOut(1500);
//}, 10000);
$("textarea#tx_exinitjobexchange_pi2_products_")
		.dodosTextCounter(240, {counterDisplayClass: "textcounter-products",addLineBreak:true});
$("textarea#tx_exinitjobexchange_pi2_locations_")
		.dodosTextCounter(240, {counterDisplayClass: "textcounter-locations",addLineBreak:true});
$("textarea#tx_exinitjobexchange_pi2_description_")
		.dodosTextCounter(500, {counterDisplayClass: "textcounter-description",addLineBreak:true});
$("textarea#tx_exinitjobexchange_pi2_lookingfor_")
		.dodosTextCounter(400, {counterDisplayClass: "textcounter-lookingfor",addLineBreak:true});

$(".textcounter-products,.textcounter-locations,.textcounter-description,.textcounter-lookingfor")
	.after(" Zeichen verbleiben")
	.css({'font-weight' : 'bold', 'font-style' : 'italic', 'padding-left' : '5px', 'font-family' : 'Arial'});

//$('.job_detail_table a[target=_blank]').text("Link");

$('.job_detail_table a[target=_blank]').each(function (i,Option) {				
				
				if($(this).val()<30){
					//$(this).text("zur Website") ;
				}else{
					$(this).text("Link") ;
				}				
});		