///////////////////////////////////
// Scripts Copyright 2006 by Monday //
///////////////////////////////////


welcome = null;
function show_welcome(id) {
document.getElementById('welcome_friends').style.display = "none";
document.getElementById('welcome_eventlog').style.display = "none";

	welcome = document.getElementById(id);
	welcome.style.display = "block";

}
	



<!--


// Hover Popups 



var http_ajax = null;
var current_layer_load = null;

if (window.XMLHttpRequest) {
   http_ajax = new XMLHttpRequest();
} else if (window.ActiveXObject) {
   http_ajax = new ActiveXObject("Microsoft.XMLHTTP");
}

function load_ajax(url,layer)
{
if (http_ajax != null) {
   http_ajax.open("GET", url, true);
   http_ajax.overrideMimeType('text/xml; charset=ISO-8859-1');
   current_layer_load=layer;
   http_ajax.onreadystatechange = refresh_ajax;
   http_ajax.send(null);
   
}

}


function refresh_ajax() {

   if (http_ajax.readyState == 4) {

      document.getElementById(current_layer_load).innerHTML = http_ajax.responseText;

   }

}





wmtt = null;

document.onmousemove = updateWMTT;

function updateWMTT(e) {
	if (wmtt != null) {
	x = (document.all) ? window.event.x + document.documentElement.scrollLeft : e.pageX;
	y = (document.all) ? window.event.y + document.documentElement.scrollTop  : e.pageY;

	
	if (x > (document.body.clientWidth/2))   {
	
	
		wmtt.style.left = (x - wmtt.offsetWidth - 10) + "px";
		wmtt.style.top 	= (y + 10) + "px";  
		
	
	
	} else {
	
	
	
	
		wmtt.style.left = (x + 10) + "px";
		wmtt.style.top 	= (y + 10) + "px";
		
		}
		
	}
}

function showWMTT(id,url,notmove) {

	if(url != null && document.getElementById(id).innerHTML == "" && current_layer_load!=id) {
	document.getElementById(id).innerHTML = document.getElementById("loading").innerHTML;
	load_ajax(url,id);
	}

	
	document.getElementById(id).style.display = "block"
	

	
	if(notmove != null) {
	
	//
		
	}
	else {
		wmtt = document.getElementById(id);
		
	}
	
	
		if (document.images[id+"_pic"].src.indexOf("/images/loading.gif") != -1 ) {
		document.images[id+"_pic"].src =  document.images[id+"_pic"].alt;
	}
	
	
}

function hideWMTT(id) {
	if(id != null) {
		wmtt = document.getElementById(id);
	}
	
	wmtt.style.display = "none";
	wmtt = null;
}



function showhideWMTT(id,url) {
	wmtt = document.getElementById(id);

	if(wmtt.style.display == "none") {
		showWMTT(id,url);
			
	}
	else {
		hideWMTT(id);
	}
	
	
	
	
}







function createFlashMarkup(width,height,bgcolor,uri,replaceid){
width=width-2;height=height-2;
var embed ='<embed src="'+uri+'" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'" loop="true" quality="best"></embed>';
document.getElementById(replaceid).innerHTML=embed;
} 
function chkFormular()
  {
   if(document.getElementById("gsname").value == "")
    {
     alert("Bitte geben Sie einen Namen an !");
     document.getElementById("gsname").focus();
     return false;
    }
   }

var win=null;

function chat(){ 
        myleft=20;
        mytop=20;
        settings="width=822,height=522,top=" + mytop + ",left=" + myleft + ",scrollbars=auto,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes,dependent=no";
        win=window.open("/popup.php?path=chat/index.php","",settings);
        win.focus();
}
onerror = stopError;
function stopError(){
        return true;
}


var win=null;




var win=null;

function Q1127446792(){
        myleft=20;
        mytop=20;
        settings="width=500,height=330,top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no,dependent=no";
        win=window.open("/script/cam.php","",settings);
        win.focus();
}
onerror = stopError;
function stopError(){
        return true;
}



