var sc_project=479933; 
var sc_partition=3; 
w = screen.availwidth+'px';
h = screen.availheight+'px';
showmoddialog = 'window.showModalDialog';
var outurl = 'http://www.dating-kontakte.de';

window.focus();

if ((document.referrer.length > 0) && (document.images) && (document.referrer.toLowerCase().indexOf('saugeil.net') < 0) && (document.referrer.toLowerCase().indexOf('ebesucher.de') < 0) && (document.referrer.toLowerCase().indexOf('hit-tausch.de') < 0) && (document.referrer.toLowerCase().indexOf('auto-surf.de') < 0))
{ 
refstat=new Image(1,1);
refstat.src="http://www.webhits.de/cgi/refstat?df=89621&ref="+escape(document.referrer);
}

var IE5 = (document.getElementById && document.all)? true : false;
if (navigator.appName.indexOf('Microsoft') != -1) 
{
	var Microsoft = true;
}

if (window.navigator.userAgent.indexOf('SV1') != -1)
{
	var XP = true;
}

function defaultexit(myURL)
{
	eval("var widisopen = window.open('"+myURL+"','popalapop','toolbar=1,menubar=1,status=1,location=1,directories=1,scrollbars=1,resizable=1')");
	if (!widisopen) 
	{
		showurl='("'+myURL+'","","dialogHeight: "+h+"; dialogWidth:"+w+"; dialogTop: 0px; dialogLeft: 0px; edge:aised;enter: Yes; help:Yes; resizable: No; status: No;")';
		eval(showmoddialog+showurl);
	}
}

function loadexit(myURL)
{
	if(myURL.length==0)
	{
		myURL = outurl;
	}
	if (con==1)
	{
		if (!XP || typeof(document.getElementById('iee'))!='object' || XP=='undefined') 
		{
			defaultexit(myURL);
		}
		else if(Microsoft && IE5)
		{
			check = false;	
			try
			{
				F1.close();	
				check = true;
			}
			catch (e)
			{ check = false; }
			if(check)
			{
				defaultexit(myURL);
				return true;
			}
			if(document.referrer.length>0)
			{
				try
				{
					iie.launchURL(document.referrer);
				}
				catch (e)
				{	}
			}
			try
			{
				iie.launchURL(myURL);
			}
			catch (e)
			{
				defaultexit(myURL);
			}
			self.focus();
			setTimeout('   myfocus()   ',20);
		}
		else defaultexit(myURL);
	}
}

function myfocus()
{
	self.focus();
}

