function undzuis(){ 
	window.close();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function open_Window(theURL,winName,features,x,y) { //v2.0
 	winName = window.open(theURL,winName,'scrollbars=yes,resizable=yes',x,y);
	winName.resizeTo(x,y)
	winName.focus();
}

function open_infoWindow(theURL,winName,features,x,y) { //v2.0
 	winName = window.open("infopopups/"+theURL,winName,'scrollbars=yes,resizable=yes',x,y);
	winName.resizeTo(x,y)
	winName.focus();
}

function open_Musik(theURL,winName,features,x,y) { //v2.0
 	winName = window.open("../musikbsp/"+theURL,winName,'scrollbars=no,resizable=no',x,y);
	winName.resizeTo(x,y)
	winName.focus();
}

function open_Musik_e(theURL,winName,features,x,y) { //v2.0
 	winName = window.open("../../musikbsp/"+theURL,winName,'scrollbars=no,resizable=no',x,y);
	winName.resizeTo(x,y)
	winName.focus();
}

function open_Gebraucht(theURL,winName,features,x,y) { //v2.0
 	winName = window.open("gebrauchtinfo/"+theURL,winName,'scrollbars=yes,resizable=yes',x,y);
	winName.resizeTo(x,y)
	winName.focus();
}

function open_Gebraucht_e(theURL,winName,features,x,y) { //v2.0
 	winName = window.open("../gebrauchtinfo/"+theURL,winName,'scrollbars=yes,resizable=yes',x,y);
	winName.resizeTo(x,y)
	winName.focus();
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

function popup(theURL,winName,features) {
	winName = window.open('popupimg/'+theURL+'.html','Foto','scrollbars=no,resizable=no,width=600,height=480,status=no,toolbar=no');
	winName.resizeTo(600,480);
	winName.focus();
}

function popup_e(theURL,winName,features) {
	winName = window.open('../popupimg/'+theURL+'.html','Foto','scrollbars=no,resizable=no,width=600,height=480,status=no,toolbar=no');
	winName.resizeTo(600,480);
	winName.focus();
}

MM_reloadPage(true);

function epost(v1, v2, v3, mailstring)
	{
	
	poststring = v1 + '&#064' + v2 + '.' + v3;
	mailstring = v1 + '<span class=secr>&nbsp;</span>' + '&#064' + v2 + '&#46;' + v3;
	
	document.write('<a href="' + 'mai' + 'lto:' + poststring + '">')
	document.write( mailstring + '</a>');
	}
