var formctrl_path="http://leadsystem.geld.de/werbemittel/"
var formctrl_branch="pkv"
var formctrl_folder="01"
var formctrl_formname="form_pkv_500x650_geld_1ep_iframe"
var formctrl_redirect="http%3A%2F%2Fleadsystem.geld.de%2Fdanke_0_0.html"
function layerclose() { 
	document.getElementById('pkv1_box0').style.display = "none"; 
	if (document.getElementById('google_slider')) {
		document.getElementById('google_slider').style.display = 'none';
	}
}

function Get_Cookie(name)
{
	var start = document.cookie.indexOf(name+"=");
	var len = start+name.length+1;
	if ((!start) && (name != document.cookie.substring(0,name.length))) return null;
	if (start == -1) return null;
	var end = document.cookie.indexOf(";",len);
	if (end == -1) end = document.cookie.length;
	return unescape(document.cookie.substring(len,end));
}

function Set_Cookie(name,value,expires,path,domain,secure)
{
	var cookieString = name + "=" +escape(value) +
		( (expires) ? ";expires=" + expires.toGMTString() : "") +
		( (path) ? ";path=" + path : "") +
		( (domain) ? ";domain=" + domain : "") +
		( (secure) ? ";secure" : "");
	document.cookie = cookieString;
}

function Delete_Cookie(name,path,domain)
{
	if (Get_Cookie(name)) document.cookie = name + "=" +
		( (path) ? ";path=" + path : "") +
		( (domain) ? ";domain=" + domain : "") +
		";expires=Thu, 01-Jan-70 00:00:01 GMT";
}

function not_shown_yet(cookiename)
{
	if (Get_Cookie(cookiename) == 'already_shown') {
		return false;
	} else {
		Set_Cookie(cookiename,'already_shown');
		return true;
	}
}

function wm_geld_de_show(inline) {
	if (typeof(formctrl_show_only_once) != 'undefined') { 
		check_for_cookie = (formctrl_show_only_once == 1) ? true : false; 
	}else{
		check_for_cookie = false;
	}
if (not_shown_yet('form_pkv_01') || typeof inline != 'undefined' || !check_for_cookie) {
	if (document.getElementById('google_slider')) {
		document.getElementById('google_slider').innerHTML = '<img src="bilder/spacer.gif" widht="1" height="250" alt="">';
		document.getElementById('google_slider').style.display = 'block';
	}
document.write('<style type="text/css">');
document.write('#pkv1_box0 {');
if (typeof inline == 'undefined') {
	document.write('position:absolute;');
}
document.write('visibility:visible;');
if (typeof(formctrl_posx) != 'undefined') { document.write('left: ' + formctrl_posx + 'px;'); } else { document.write('left:0;'); }
if (typeof(formctrl_posy) != 'undefined') { document.write('top: ' + formctrl_posy + 'px;'); } else { document.write('top:0'); }
document.write('width:662px;');
document.write('z-index:100000000;');
document.write('}');
document.write('#pkv1_boxIF {');
document.write('border:6px solid #fff;');
document.write('height:500px;');
document.write('}');
document.write('</style>');
document.write('<div id="pkv1_box0">');
document.write('<div style="padding-left:588px;margin-top:0;"><a href="javascript:layerclose()"><img src="'+formctrl_path+'/images/close_neutral.gif" style="margin-top:0px;" border="0" /></img></a></div>');
document.write('<div id="pkv1_boxIF">');
if (typeof(formctrl_paid) != 'undefined') { var formctrl_paid2 = formctrl_paid } else { var formctrl_paid2 = 0; }
document.write('<iframe src="'+formctrl_path+formctrl_branch+'/'+formctrl_folder+'/'+formctrl_formname+'.htm?paid='+formctrl_paid2+'&formtarget='+formctrl_formtarget+'&redirect='+formctrl_redirect+'" width="650px" height="500px" align="left" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" name="Formular">');
document.write('</iframe>');
document.write('</div>');
document.write('</div>');
}else {}
}