function myOpenWin(html){
Popup = window.open(html,'Popup','width=740,height=450,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=no');
	Popup.focus();
}

function myOpenWin2(html){
Popup = window.open(html,'Popup','width=580,height=400,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=yes,resizable=no,copyhistory=no');
	Popup.focus();
}

function myOpenWin3(html){
Popup = window.open(html,'Popup','width=600,height=400');
	Popup.focus();
}
function openWindowPercent(newURL, percentX,percentY) {
        // Declare and initialize top and left variables
  // Update properties if comp. browser
  	newHeight = 5*percentY;
	newWidth = 5*percentX;
	
    if (parseInt(navigator.appVersion) >= 4){
          newHeight = parseInt((screen.availHeight * percentY) /100);
          newWidth = parseInt((screen.availWidth * percentX) /100);
	}

  // Open the new window using top and left properties
  var newwin = window.open(newURL, 'remote', 'status=yes,toolbar=yes,menubar=no,location=no,scrollbars=yes,width=' + newWidth + ',height=' + newHeight  + ',resizable=yes');
	newwin.focus();
}

function closeWindow(){
	close()
}

function mydate() {
	jetzt = new Date();
	Tag = jetzt.getDate();
	Monat = jetzt.getMonth()+1;
	Jahr = jetzt.getYear();
	if(Jahr < 100) Jahr+=1900;
	var TagAusgabe =  ((Tag < 10) ? "0" + Tag : Tag);
	var MonatAusgabe =  ((Monat < 10) ? "0" + Monat : Monat);
	Std = jetzt.getHours(); Min = jetzt.getMinutes();
	var StdAusgabe  = ((Std < 10) ? "0" + Std : Std);
	var MinAusgabe  = ((Min < 10) ? "0" + Min : Min);
	
	if (navigator.appName != "Netscape") {
	    document.write("<p>!~!DATE!~!: " + TagAusgabe + "." + MonatAusgabe + "." + Jahr + "&nbsp;" + StdAusgabe + "." + MinAusgabe + " !~!HOUR!~!</p>&nbsp;");
	}
	else {
		Jahr = jetzt.getYear(); 
		Jahr+=1900;
		document.write("<p>!~!DATE!~!: " + TagAusgabe + "." + MonatAusgabe + "." + Jahr + "&nbsp;" + StdAusgabe + "." + MinAusgabe + " !~!HOUR!~!</p>&nbsp;");
	}
}



