jQuery(document).ready(function () {
	// mauszeiger ändern
	$(".news_latest_item").css("cursor", "pointer");
	// link-text ändern
	$(".news_latest_item").each(function(){
		var newlink = $(this).find("h3").html();
		$(this).find("a").html(newlink);
		var neu = $(this).find("a");
		$(this).find("span").html(neu);
		return;
	});	
	// onklick-event
	$(".news_latest_item").live("click", function(){
		location = $(this).find("a").attr("href");
	})
	$(".calendar ul li").live("click", function(){
		location = $(this).find("a").attr("href");
	})
	// Security-Wake-Up-Cover
	//$(".news_latest_item:first").before('<div style="cursor: pointer;" class="news_latest_item"><h2>01.-05.03.2010</h2><span class="news_pdf news_cover2"><a href="http://www.ispin.ch/fileadmin/pdf/Lead_Auditor.pdf">Lead Auditor, 5-Tages-Kurs mit BSI-Zertifikat</a></span></div>');
	$(".news_latest_item:first").before('<div style="cursor: pointer;" class="news_latest_item"><h2></h2><span class="news_pdf"><a href="http://www.ispin.ch/index.php?id=723">CISO-Image: Sicherheit im Blick von oben.</a></span>	</div>');
	$(".news_latest_item:first").before('<div style="cursor: pointer;" class="news_latest_item"><h2>22.01.2010</h2><span class="news_pdf"><a href="http://www.ispin.ch/fileadmin/pdf/Penetrations_Testing.pdf">KMU-Magazin: Penetrations Testing</a></span>	</div>');
});