// function libfunction setImg(src, path){	src.src = path;}function setImgByName(imgname, path){	document.images[imgname].src = path;}function mOvr(src,clrOver){ //	if (!src.contains(event.fromElement)){ 		src.style.cursor = 'hand'; 		src.style.bgColor = clrOver;		src.bgColor = clrOver; //	} }function mOut(src,clrIn){ //	if (!src.contains(event.toElement)){ 		src.style.cursor = 'default'; 		src.bgColor = clrIn; //	} } function mClk(src){ 	if(event.srcElement.tagName=='TD')		src.children.tags('A')[0].click();}function mClk2(buttonName, formname){	document.forms[formname].elements.nobody.value = buttonName;	document.forms[formname].elements.nobody.name = buttonName;	document.forms[formname].submit();}function checkMessages(){	document.all.banner.innerHTML = "";		var htmlString = '<object data="checkpost.php" type="text/html" width="0" height="0"></object>';	document.all.banner.innerHTML = htmlString;		setTimeout ("checkMessages()", 60 * 1000);}function openwindow(helpfile){	var helpfile;	window.open (helpfile,"Help","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width=600,height=400");}function showurl(url, boxwidth, boxheight, docenter){	var wwidth = boxwidth;	var wheight = boxheight;	var wleft = (screen.width - wwidth) / 2;	var wtop = (screen.height - wheight) / 3;		winprops = 'height='+wheight+',width='+wwidth;		if (docenter)		winprops = winprops+',top='+wtop+',left='+wleft;	window.open (url,"Box","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,"+winprops);}function show_single_profil(id, n){	showurl("freunde.php?op=single_profil&fn="+n+"&id="+id, 488, 288, true);}function show_single_profil_by_name(uname, n){	showurl("freunde.php?op=single_profil&fn="+n+"&post_uname="+uname, 488, 288, true);}function vivawindow(url, title, boxwidth, boxheight, docenter){	showurl('vivawindow.php?url='+escape(url)+'&title='+title, boxwidth, boxheight, docenter);}function vivawindow_ssl(url, title, boxwidth, boxheight, docenter){	showurl('vivawindow.php?ssl=1&url='+escape(url)+'&title='+title, boxwidth, boxheight, docenter);}function showhelpbox(boxname, boxwidth, boxheight){	var boxname;	var boxwidth;	var boxheight;	window.open ("boxwindow.php?boxname="+boxname,"Hilfe","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width="+boxwidth+",height="+boxheight);}function showevent(eventid){	var eventid;	window.open ("events.php?op=showevent&eventid="+eventid,"Event","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width=600,height=400");}function showvivamessage(url){	var wwidth = 550;	var wheight = 350;	var wleft = (screen.width - wwidth) / 2;	var wtop = (screen.height - wheight) / 3;		winprops = 'height='+wheight+',width='+wwidth+',top='+wtop+',left='+wleft;		window.open(url,"","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,"+winprops);}