function print(href){
	openCenterScroll(href,"printMedia","600","490");
}

function foto(href){
	openCenterScroll(href,"fotostrecke","500","375");
}

// ---------------------------------------------------------------------------

// Open a link in a new window. Uses target property to 
// be most compatible - window.open opens strange windows in some browsers
// NOTE: pass (this) as the argument instead of this.href
function openNewWindow(link) {
	link.target = '_blank';
}

// Open a link in the window.opener, and optionally close the current window
function targetWindowOpener(href, closeWindow) {
	// set closeWindow = true to close the current window
	if (closeWindow != false) window.close();
	window.opener.location = href;
}