// JavaScript Document


// to Top Anchor wird hier angesprungen
function jumpto(anchor) {
	link = window.location.href
	window.location.href = "#"+anchor;
	link;
}


//hier wird der Printlink erstellt - Parameter type 123 wird angehängt
function printlink() {
//	link = window.location.href;
//	if link.lastindexof(#) > 0 {
//		link.substring(0, link.length-4);
//		window.location.href=link;
//	}
	window.location.href =  document.location + "&type=123";
}

// popup fuer das letterheinz spiel: neu am 4.1.2007
function winOpen(url, name, breite, hoehe) {
  // Errechnet Koordinaten, um das Popup zentriert zu platzieren
  links = (screen.width/2)-(breite/2);
  oben = (screen.height/2)-(hoehe/2);
  window.open(url,name,"height="+hoehe+",width="+breite+",status = no,toolbar = no,menubar = no,location = no,resizable = no,titlebar = no,scrollbars = no,fullscreen = no,top ="+oben+",left ="+links);
}


