<!--
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();
}
MM_reloadPage(true);

//Headline, Suche
//========================================================================
function headline(language)
{
var textSuchen = 'Search:';
var textSprache = 'Select language:';
if (language == 'de')
	{
	textSuchen = 'Suchen:';
	textSprache = 'Sprache ausw&auml;hlen:';
	}
	
document.write('<table cellspacing="0" cellpadding="0" border="0" width="996" height="62">');
document.write('<tr>');
document.write('<td width="443"></td>');
document.write('<td width="110" align="center"><img src="../../common/pix/star.gif" width=95 height=50 alt="" border="0"></td>');
document.write('<td width="443"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td><table cellspacing="0" cellpadding="0" border="0">');
document.write('<form action="/suche/perlfect/search/search.pl" name="suche" method="get" target="_blank">');
document.write('<input type="hidden" name="p" value="1" />');
document.write('<input type="hidden" name="lang" value="' +language+ '" />');
document.write('<input type="hidden" name="include" value="" />');
document.write('<input type="hidden" name="exclude" value="" />');
document.write('<input type="hidden" name="penalty" value="0" />');
document.write('<input type="hidden" name="mode" value="all" />');
document.write('<tr>');
document.write('<td></td>');
document.write('<td><p class="s">&nbsp;' +textSuchen+ '&nbsp;</p></td>');
document.write('<td valign="bottom"><input stype="width:150" size="20" class="s" type="text" name="q" /></td>');
document.write('<td><a href="javascript:document.suche.submit();"><img src="../../common/pix_menu/suche.gif" width=20 height=20 alt="" border="0"></a></td>');
document.write('</tr>');
document.write('</form>');
document.write('</table></td>');
document.write('<td><img src="../../common/pix/dot.gif" width=1 height=20 border="0"></td><td align="right" valign="middle">');
document.write('<p class="s">' +textSprache+ '');
	for (var i=(spracheLink.length - 1); i>=0; i--)
	{
	 	document.write('<img src="../../common/pix/dot.gif" width=4 height=1 border="0"><a href="' +spracheLink[i]+ '"><img src="../../common/pix_sprache/' +sprachePix[i]+ '" width=18 height=12 alt="' +spracheAlt[i]+ '" border="0"></a>');
	}
document.write('</p>');
document.write('</td></tr>');
document.write('<tr>');
document.write('<td height="10"></td>');
document.write('<td height="10"><img src="../../common/pix/dot.gif" width=1 height=10 border="0"></td>');
document.write('<td height="10"></td>');
document.write('</tr>');
document.write('</table>');
}


function language(textSprache)
{
}

function makeSubmenu(submenu, active, submenu2, active2)
{
	if(active != "x")
	{
		active = active * 3;
	}
	if(active2 != "x")
	{
		active2 = active2 * 3;
	}
	
	for ( i=0; i<(submenu.length); i++)
	{
		setMenuAktive = "Off";
		if (i == active) {
			setMenuAktive = "On";
		}
		var titleSubmenu = submenu[i++];
		var linkSubmenu = submenu[i];
		i = i + 1;
		document.write('<img src="../../common/pix/dot.gif" width=1 height=5 border="0"><br>');

 		if (setMenuAktive == "On") {
			if(active2 == "x") {
			document.write('<img src="../../common/pix/dot.gif" width=10 height=1 border="0"><a href="' +linkSubmenu+ '" class="subnavigation"><font color="#AA0028">' +titleSubmenu +'</font></a><br>');

			}
			else {
			document.write('<img src="../../common/pix/dot.gif" width=10 height=1 border="0"><a href="' +linkSubmenu+ '" class="subnavigation">' +titleSubmenu +'</a><br>');
			}
			document.write('<img src="../../common/pix/dot.gif" width=1 height=5 border="0"><br>');

			// submenu2 erzeugen
			// laenge des submenu2 ermitteln
			if(submenu2) {
				for ( j=0; j<(submenu2.length); j++)
				{
					setMenuAktive2 = "Off";
					// aktives menu setzen
					if (j == active2) {
						setMenuAktive2 = "On";
					}
					// titel und link setzen
					var titleSubmenu2 = submenu2[j++];
					var linkSubmenu2 = submenu2[j];
					j = j + 1;
			
			 		if (setMenuAktive2 == "On") {
						document.write('<img src="../../common/pix/dot.gif" width=20 height=1 border="0"><a href="' +linkSubmenu2+ '" class="subnavigation"><font color="#AA0028">' +titleSubmenu2 +'</font></a><br>');
					}
					else {
						document.write('<img src="../../common/pix/dot.gif" width=20 height=1 border="0"><a href="' +linkSubmenu2+ '" class="subnavigation">' +titleSubmenu2+ '</a><br>');
					}
					document.write('<img src="../../common/pix/dot.gif" width=1 height=5 border="0"><br>');
				}
			}
			// ende submenu2			
			
		}
		else {
			document.write('<img src="../../common/pix/dot.gif" width=10 height=1 border="0"><a href="' +linkSubmenu+ '" class="subnavigation">' +titleSubmenu +'</a><br>');
			document.write('<img src="../../common/pix/dot.gif" width=1 height=5 border="0"><br>');
		}
	}
}
//-->

<!--
function fenster(anzeige){
self.name = "beschreibung";
info = window.open ('','fenster','scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,WIDTH=640,HEIGHT=450,left=0,top=0')
/*diese lange Anweisung muss in einer Zeile stehen*/
if(info != null){
if(info.opener == null){
info.opener = self;
}

} 
info.focus()
info.document.clear()
info.document.open()
info.document.write("<HTML><HEAD><TITLE>STAR Hungary</TITLE>");
info.document.write("<link rel='STYLESHEET' type='text/css' href='../coolstyle.css'>");
info.document.write("<BODY BGCOLOR=#FFFFFF TEXT=#000000 >")
info.document.write("<Left><FONT SIZE=1>")
info.document.write("<span class='normal'>")
info.document.write(anzeige)
info.document.write("<img src='../picts/hirdetes.jpg' height='400' width='624' border='0'>")
info.document.write("<a href='javascript:window.close()'><span class='normal'> close window</span></a></p>")
info.document.write("</BODY></HTML>")
}

function fensterzu(){
info.close()
return true;
}

function detailsWindow() 
{
var details=window.open("","details","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
details.focus();
}

function kontaktWindow() 
{
var kontakt=window.open("","kontakt","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=470,height=500");
kontakt.focus();
}


// emailomat von marcel bolli, 040727
function jemail(user, dom, suf) { // Crypt E-Mail address from SPAM Crawlers
	document.write('<a class="normallink" href="' + 'mailto:' + user + '@' + dom + '.' + suf + '">' + user + '@' + dom + '.' + suf + '</a>');
}




//-->