/*****Dave Witassek start to web GmbH 2009********/
/*****jQuery**************************************/


$(document).ready(function() {

$("#teaser .news-latest-container").wrap("<div class='newsbox_outer'><div class='newsbox_inner'></div></div>");
$("#teaser2").wrapInner("<div class='newsbox_outer'><div class='newsbox_inner'><div class='teaser2box'></div></div></div>");

$(".startseite .sp2_2 h2").after("<a href='/swisscare/switzerland/private.html' style='display:block; height:120px;'></a>");

$(".startseite .sp2_3 h2").after("<a href='/swisscare/international/private.html' style='display:block; height:120px;'></a>");


$("#header").append("<a href='http://www.swisscare-intl.com' class='logo'></a>");

$(".continuebutton_content").html("<img src='fileadmin/templates/images/button_continue.gif' alt='continuebutton'/>");
$("#contentbutton h2").after("<div style='height:10px;'></div>");
$(".tx-irfaq-pi1 p:first-child").after("<div style='height:10px;'></div>");
$(".sp1_1 h2:first, .sp1_2 h2:first, .sp1_3 h2:first").after("<div style='height:10px;'></div>");
$(".footernavibox1 h2, .footernavibox2 h2, .footernavibox3 h2, .footernavibox4 h2").after("<div style='height:10px;'></div>");

$("a.morelink_with_pointer").append("&nbsp;<span class='linkpointer'>&#x9B;</span>");

$(".contenttable tbody tr:even").css("background","#9eafb9");
$(".contenttable thead th").css("border-right","solid 1px #fff");
$(".contenttable thead th:last").css("border-right","none");
$(".contenttable tbody tr td").css("border-right","solid 1px #000");
$(".contenttable tbody tr td:last-child").css("border-right","none");

	//$("#cselect").bind("change keyup", function(){
	$("#cselect").change( function(){
		var option = $(this).val();
		if (!isNaN(option))
		{
			var base = $("base").attr("href");
			window.location = base + "index.php?id=" + option;
		}
	});

});

