// Externer (X)HTML-Link

var textNewWindow = "(Externer Link)";

function titleAdjustment(linkObject) {
	if (linkObject.getAttribute) {
		textAlt = linkObject.getAttribute("title");
		if (textAlt && textAlt.indexOf(textNewWindow) == -1) {
			linkObject.setAttribute("title", textAlt + " " + textNewWindow);
		}
	}
}

// Popup
function popup(url, breite, hoehe) {
	links	= (screen.width/2)-(breite/2);
	oben	= (screen.height/2)-(hoehe/2);
	window.open(url,"Popup","height="+hoehe+",width="+breite+",status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar=no,scrollbars=no,top="+oben+",left="+links);
}

// Javascript Check
function js() {
	document.getElementById("js").style.display = "none";
}

// Flash-Video Data
function flash() {
	var so = new SWFObject("flash/videoplayer.swf", "flash_container", "444", "272", "8", "#ffffff");
	so.addParam("flashvars", "id=01");
	so.addParam("menu", "false");
	so.addParam("play", "true");
	so.addParam("quality", "high");
	so.write("flash_container");
}

