// (c)2009, www.netwoar.net, thomas jungwirth 


function change_color(m, id, mm)
	{
		if(m=='0')
			{
			document.getElementById(id).style.color = "#000000";
			}
		if(m=='1')
			{
			document.getElementById(id).style.color = "#990000";
			}
		if(mm=='0')
			{
			document.getElementById(id).style.color = "#7b4247";
			}
		if(mm=='1')
			{
			document.getElementById(id).style.color = "#FFFFFF";
			}
	}

function load_get(file, id) 
	{
	var http = false;
		if(navigator.appName == "Microsoft Internet Explorer") 
			{
  			http = new ActiveXObject("Microsoft.XMLHTTP");
			} 
			else 
			{
  			http = new XMLHttpRequest();
			} 

  	http.open("GET", file, true);
  	http.onreadystatechange=function() 
		{
    	if(http.readyState == 4) 
			{
      		document.getElementById(id).innerHTML = http.responseText;
    		}
  		}
  	http.send(null);
	}




