﻿$(document).ready(function() {
	$('#amortisationsrechner').html($('<iframe src="http://rebarczyk.amortisationsrechner.de" width="940" height="1000" marginwidth="0" marginheight="0" border="0" frameborder="0" scrolling="auto"></iframe>'));
	$('#kfzversicherung').html($('<iframe src="http://a.partner-versicherung.de/click.php?partner_id=47464&ad_id=81&style=custom_green" width="620" height="2500" name="KFZ" marginwidth="0" marginheight="0" border="0" frameborder="0" scrolling="auto"></iframe>'));
	$('#mp_kfzversicherung').html($('<iframe src="http://a.partner-versicherung.de/click.php?partner_id=47464&ad_id=81&style=custom_green&OKZ='+$('#mp_kp').text()+'" width="620" height="2500" name="KFZ" marginwidth="0" marginheight="0" border="0" frameborder="0" scrolling="auto"></iframe>'));
	$('#routenplaner').html($('<iframe src="http://www.gas24.de/erdgas-tankstellen/altmotion/eis.php?place='+$('#place').text()+'&fuel='+$('#fuel').text()+'" width="960" height="600" marginwidth="0" marginheight="0" border="0" frameborder="0" scrolling="auto"></iframe>'));
	$('#kfzfinanzierung').html('<iframe src="http://a.partner-versicherung.de/click.php?partner_id=47464&ad_id=16&insurance_id=24&style=green" width="940" height="2500" name="vergleich" marginwidth=0 marginheight=0 border="0" frameborder="0" scrolling="no"></iframe>');
	$('#mp_kfzfinanzierung').html('<iframe src="https://www.check24.de/einsurance/credit/doCrossEntry.do?cpref=47464_16_&vz=8&cpid=tarifcheck24_wl5&pid=credit&b2bid=51&style=green&kp='+$('#mp_kp').text()+'&az='+$('#mp_az').text()+'&lz='+$('#mp_lz').text()+'" width="940" height="2500" name="vergleich" marginwidth=0 marginheight=0 border="0" frameborder="0" scrolling="no"></iframe>');
	$('#route').html('<iframe class="c4" src="/emiglia.iframe.php" style="overflow:hidden;border:none;height:420px;padding:0;margin:0;"></iframe>');
	if(anchor = $(window.location.hash).get(0)) {
		$.scrollTo('#'+anchor.id);
	}
});
