function MM_openBrWindow(theURL,winName,features) { //v2.0
	// wenn das fenster bereits offe ist dann window.location ausfuehren
	window.open(theURL,winName,features);
}
var fenster = null;
function popUpPollForm() {
 if ( fenster == null ) {
 fenster = window.open("", "Poll", "width=500,height=300" );
 } else {
 if ( fenster.closed )
 fenster = window.open("", "Poll", "width=500,height=300" );
 else
 fenster.focus();
 }

 document.poll.target="Poll";
 document.poll.action="viewer.php?page=poll&mod=answerPoll";
 document.poll.submit();
 document.poll.action="javascript:popUpPollForm()";
 document.poll.target="_self";
}
function popUpVoteForm() {
 if ( fenster == null ) {
 fenster = window.open("", "Voting", "width=500,height=300" );
 } else {
 if ( fenster.closed )
 fenster = window.open("", "Voting", "width=500,height=300" );
 else
 fenster.focus();
 }

 document.voting.target="Voting";
 document.voting.action="php/voteContent.php";
 document.voting.submit();
 document.voting.action="javascript:popUpVoteForm()";
 document.voting.target="_self";
}
function submitQuickSearch () {
	var actionUrl = "index.php?mod=quicksearch&page=" + document.quicksearch.page.value;
	document.quicksearch.action = actionUrl;
	document.quicksearch.submit();
}

function goMsg() {
	alert("index.php?page=" + document.quicksearch.page.value);
}