/*
x = new Date()
function cal(){
   y = new Date()
   diff = y.getTime() - x.getTime()
   newstatus = "freshSingle.de - kostenlos Daten, Flirten, Freunde treffen und vielleicht auch mehr ... Ladezeit: " + diff/1000 + " sec.";
   window.defaultStatus = newstatus;
}

function winandpop (pfad) {
	var breite = screen.width/2-400;
	var hoehe = screen.height/2-300;
	if (window.offen && !offen.closed){
		offen.focus();
	}
	else {
		offen = window.open(pfad+"html/puzzle.htm", "Umfrage", "toolbar=0,status=0,menubar=0,left="+breite+",top="+hoehe+",width=800,height=600" );
	}
}
*/

function agb () {
	var breite = screen.width/2-212;
	var hoehe = screen.height/2-212;
	if (window.offen2 && !offen2.closed){
		offen2.focus();
	}
	else {
		offen2 = window.open("agbpopup.html", "AGB", "toolbar=0,status=0,menubar=0,scrollbars=1,left="+breite+",top="+hoehe+",width=450,height=425" );
	}
}

function flyer (bildname, pfad) {
	var breite = screen.width/2-250;
	var hoehe = screen.height/2-250;
	if (window.offen3 && !offen3.closed){
		offen3.focus();
	}
	else {
		offen3 = window.open(pfad+"html/flyeranz.php?pic="+bildname, "Flyer", "toolbar=0,status=0,menubar=0,scrollbars=0,left="+breite+",top="+hoehe+",width=500,height=500" );
	}
}

function Go(x) {
 if(x == "nothing") {
 	document.multiauswahl.reset();
    return;
 }
 else if(x == "end")
   top.location.href = parent.frames[1].location;
 else {
   window.location.href = x;
 }
}