// JavaScript Document
function chance_csite()
{
	window.location.href = "&csite=" + document.sendsite.csite.value;
}
function popup (url, titel, width, height) {
 fenster = window.open(url, titel,  "width=" + width + " ,height=" + height + " ,location=0,statusbar=0,menubar=0,resizable=0");
 fenster.focus();
 return false;
}
function showwindow(scroller, url, height, width)
{
Fensteroptionen="toolbar=0,scrollbars=" + scroller + ",location=0,statusbar=0,menubar=0,resizable=0";
Grafikfenster=window.open(url, "", Fensteroptionen + ",width=" +width+ ",height=" +height);
Grafikfenster.focus();
}
function showimage(GrafikURL, Breite, Hoehe)
{
		Fensteroptionen="toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0";
	
		Grafikfenster=window.open("", "", Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe);
		Grafikfenster.focus();
		Grafikfenster.document.open();
		with(Grafikfenster)
		{
			document.write("<html><head>");
			document.write("<title>Party Guides</title>");
			document.write("</head>");
			document.write("<body leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\" bgcolor=\"#000000\">");
			document.write("<center><img border=\"0\" onclick=\"window.close();\" src=\""+ GrafikURL +"\"></center>");
			document.write("</body></html>");
		}
}
function fill_text(text)
{
 document.all.text.value += text;
}
function fill_comment(text)
{
 document.all.com_text.value += text;
}
function confirm_delpost(Message, path)
{	
entscheidung = confirm(Message)
		if(entscheidung)
		{
		 document.location = path
		}
		else
		{
		return
		}
}
