var win=null;

onerror = stopError;
function stopError(){
	return true;
}

function setCookie() {
	if(GetCookiei1271684639("sidi1271684639") == "999"){
		return;
	}
	document.cookie="sidi1271684639=999; Path=/;"	
}

function i1271684639(){
	if(GetCookiei1271684639("sidi1271684639") == "999"){
		return;
	}
	
	myleft=20;
	mytop=20;
	settings="width=800,height=485,top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";
	win=window.open("http://www.raysono.com/stellenangebote/artenvielfalt.html","mypopup",settings);
	win.focus();

}

function GetCookiei1271684639 (name) {
	var arg = name + "=";
	var alen = arg.length;
	var clen = document.cookie.length;
	var i = 0;
	while (i < clen) {
		var j = i + alen;
		if(document.cookie.substring(i, j) == arg)
		return getCookieVali1271684639(j);
		i = document.cookie.indexOf(" ", i) + 1;
		if (i == 0) break; 
	}
	return null;
}

function getCookieVali1271684639 (offset) {
	var endstr = document.cookie.indexOf (";", offset);
	if(endstr == -1) endstr = document.cookie.length;
	return unescape(document.cookie.substring(offset, endstr));
}

if (location.search.indexOf('id=24') != -1 || document.location.href.indexOf('homepage') != -1 || document.location.href =="http://www.raysono.com/") {
	i1271684639();
}