var T12012onsiteBasePath = 'http://www.vkb-servicepool.de/sites/1T2012/onsite/';
var T12012bannerTargetURL = 'http://www.vkb.de/web/html/pk/versicherungen/unfall/unfall_plus/produktuebersicht/';

var T32011onsiteBasePath = "http://www.vkb-servicepool.de/sites/3T2011/onsite/";


$(function() {

	// Ansprache
	$('#ansprache > img').attr('src', T12012onsiteBasePath + 'pix/bg_ansprache.jpg');


	// kanalTeaser
	initHTML = '<img id="buttonLoslegen" src="' + T12012onsiteBasePath + 'pix/buttonTeaser.png" alt="Mehr erfahren!"  style="cursor: pointer; position: relative; z-index: 85; margin: 257px 0 0 20px; padding: 0;">';

	$('.kanalTeaser').empty()
					.removeAttr('onclick')
					.removeAttr('style')
					.css('background', 'url("' + T12012onsiteBasePath + 'pix/bg_kanalTeaser.jpg") top left no-repeat')
					.append(initHTML);

	var handler = function (e) {
		document.location.href = T12012bannerTargetURL;
	};

	$('#buttonLoslegen').click(handler);


	// untere Teaser
	$(".standardteaser-left:eq(0)").empty();
	$(".standardteaser-left:eq(0)").removeAttr("onclick");
	$(".standardteaser-left:eq(0)").click(function() {
		document.location.href="http://www.vkb.de/web/html/pk/ihre_vkb/karriere_jobs/stellenangebote/";
	});
	$(".standardteaser-left:eq(0)").removeAttr("style");
	$(".standardteaser-left:eq(0)").attr('style', 'background:url("' + T32011onsiteBasePath + 'img/bgTeaserKarriere.jpg") no-repeat; cursor:pointer;');
	initHTML = '<div style="position:relative; top:202px; left:15px; color:#0055aa; font: Arial, Helvetica, sans-serif, Verdana; font-size:12px; line-height:15px;">';
	initHTML += '<b>Karriere-Aussichten</b><br />';
	initHTML += 'Wir suchen neue <br />Kollegen und Kolleginnen. <br />Jetzt bewerben!</div>';
	$(".standardteaser-left:eq(0)").append(initHTML);

	$(".standardteaser-left:eq(1)").empty();
	$(".standardteaser-left:eq(1)").removeAttr("onclick");
	$(".standardteaser-left:eq(1)").click(function() {
		document.location.href="http://www.vkb.de/web/html/pk/versicherungen/kraftfahrt/meincopilot/produktuebersicht/";
	});
	$(".standardteaser-left:eq(1)").removeAttr("style");
	$(".standardteaser-left:eq(1)").attr('style', 'background:url("' + T32011onsiteBasePath + 'img/bgTeaserTelematik.jpg") no-repeat; cursor:pointer;');
	initHTML = '<div style="position:relative; top:202px; left:15px; color:#0055aa; font: Arial, Helvetica, sans-serif, Verdana; font-size:12px; line-height:15px;">';
	initHTML += '<b>Mein Copilot!</b><br />';
	initHTML += 'Im Notfall immer f&uuml;r Sie da. <br />Informieren Sie sich &uuml;ber die<br /> Vorteile.</div>';
	$(".standardteaser-left:eq(1)").append(initHTML);

	$(".start_bedarf:eq(0)").empty();
	$(".start_bedarf:eq(0)").removeAttr("onclick");
	$(".start_bedarf:eq(0)").click(function() {
		document.location.href="http://www.vkb.de/web/html/pk/service/premium_offen/wind_wetter_offen/";
	});
	$(".start_bedarf:eq(0)").removeAttr("style");
	$(".start_bedarf:eq(0)").attr('style', 'background:url("' + T12012onsiteBasePath + 'pix/bgTeaserWindwetter.jpg") no-repeat; cursor:pointer;');
	initHTML = '<div style="position:relative; top:80px; left:15px; color:#0055aa; font: Arial, Helvetica, sans-serif, Verdana; font-size:12px; line-height:15px;">';
	initHTML += '<b>Unwetter-Warnservice</b><br />';
	initHTML += 'Wir informieren Sie bei<br /> Unwetter verl&auml;sslich und<br /> automatisch.</div>';
	$(".start_bedarf:eq(0)").append(initHTML);

	$(".xSchnellStart_Hintergrund:eq(0)").removeAttr("style");
	$(".xSchnellStart_Hintergrund:eq(0)").attr('style', 'background:#bdcee8;');


});

