function changeMenu(obj,mClass)
{
	if (document.getElementById)
	{
		obj.parentNode.parentNode.className=mClass;
	}
}

function expobild(bld,titletxt)
{	
	expo = new Image();
	expo.src = null;
	expo.src = bld;
	s = open("","Fenster","width=70,height=70,scrollbars=no,resizable=no,status=no");
	s.document.open();
	s.document.write("<html><head><title>BIG5</title></head><body topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' bgcolor='#FFFFFF'>");
	s.document.write("<center><table cellspacing='0' cellpadding='0'><tr><td height='35' align='center'>&nbsp;<font face='sans-serif' size='2' color='#21377B'><b>"+titletxt+"<b></font></td></tr><tr><td><a href='#1' onclick='self.close()'><img src='"+expo.src+"' name='dummy' border='0'></a></td></tr></table></center>");
	s.document.write("</body></html>");
	s.document.close();
	checkbild(s,expo);
	s.focus();
}

function checkbild()
{
	if (expo.complete)
	{
		s.resizeTo(expo.width+30,expo.height+100)
	}
	else
	{
		setTimeout("checkbild()",200)
	}
}

function werbung(a,b)
{
	bild=new Image();
	opi = a+Math.round(Math.random()*(b-a));
	bild.src = "werbung/banner"+opi+".gif";
	teas = "<img border='0' src='"+bild.src+"'>";
	return teas;
}