function Kontaktsenden(n){
var Kontaktform='<html><head>'
+'<title>Kontakt Wunsch</title>'
+'<meta http-equiv="Content-Type" content="text/html;CHARSET=iso-8859-1">'
+'<link rel="STYLESHEET" type="text/css" href="/style/default.css">'
+'</head>'
+'<body bgcolor="#abcdef" onunload="//self.close()">'
+'<table border="0" cellspacing="0" cellpadding="0" class=t>'
+'<form action="/default.asp" method="post">'
+'<input type="hidden" name="typ" value="Kontakt">'
+'<input type="hidden" name="kid" value="'+n+'">'
+'<tr><td colspan=5><h1>Kontakt Wunsch senden</h1></td></tr>'
+'<tr>'
+'<td>Ihr Name:</td>'
+'<td>&nbsp;</td>'
+'<td><input type=text size=40 name="von"></td>'
+'<td>&nbsp;</td>'
+'<td id=b_name><b>erforderlich</b></td></tr>'
+'<tr>'
+'<td>Ihre Email:</td>'
+'<td>&nbsp;</td>'
+'<td><input type=text size=40 name="mail"></td>'
+'<td>&nbsp;</td>'
+'<td id=b_info><b id=b_name>erforderlich</b></td></tr>'
+'<tr><td colspan=5>Ihr Kontakt Wunsch, ohne geht nicht:</td></tr>'
+'<tr><td colspan=5><textarea name="inhalt" cols="25" rows="8" wrap="virtual" style="width:500px"></textarea></td></tr>'
+'<tr><td height=40 colspan=5 align=right>'
+'<input type="button" name="exit" onclick="self.close()" value="Abbruch">&nbsp;'
+'<input type="submit" name="kontakt" value="Kontakt senden"></td></tr>'
+'</form>'
+'</table></body></html>';

new_open = window.open("","kontakt","scrollbars=no,toolbar=no,location=no,status=no,menubar=no,resizable=no,width=550,height=300");
new_open.focus()
new_open.document.write(Kontaktform);
new_open.document.close();
}

function ZensBlog(id){
 var element = document.getElementById(id);
 var style = element;
 if (element){
	if(element.style.display=='none'){
	element.style.visibility='visible';
	element.style.display='block';
	}else{
	element.style.visibility='hidden';
	element.style.display='none';
	}
 }
}

function RefreshImage(valImageId) {
	var objImage = document.images[valImageId];
	if (objImage == undefined) {
		return;
	}
	var now = new Date();
	objImage.src = objImage.src.split('?')[0] + '?x=' + now.toUTCString();
}

function URLTest(){
 dName=document.URLreg.nick.value;
 dURL =document.URLreg.TheURL.value;
 dSuch=document.URLreg.c.value;
 if(dName=='' || dURL=='' || dSuch==''){
	alert('Bitte geben Sie Name, Adresse und eine Suchbegriff ein!');
 }else{
	test_open = window.open(dURL+escape(dSuch),dName);
	test_open.focus()
 }
}

function OptionValue(Object) {
 if(Object.selectedIndex < 0){
  return( Object.options[0].value )
 }
 return Object.options[Object.selectedIndex].value;
}

