<!--

// in diesem Script wird eine eMail fuer die Robotter verstuemmelt
function noSpam(user,domain,subject)
	{
	locationstring = "mailto:" + user + "@" + domain + "?subject=" + subject;
	window.location = locationstring;
	}







// in diesem Script habe ich die rollover function
function roll(img_name, img_src)
			{
			document[img_name].src = img_src;
			}






// in diesem Script wird ein neues Fenster mit bestimmten eigenschaften
// zB: Scroll, Groesse, Tollbar, ... geoeffnet

function CSClickReturn () 
	{
	var bAgent = window.navigator.userAgent; 
	var bAppName = window.navigator.appName;
	if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
		return true; // dont follow link
	else return false; // dont follow link
	}

function CSAction(array) 
	{ 
	return CSAction2(CSAct, array);
	}

function CSAction2(fct, array) 
	{ 
	var result;
	for (var i=0;i<array.length;i++) 
		{
		if(CSStopExecution) return false; 
		var actArray = fct[array[i]];
		if (actArray == null) return false;
		var tempArray = new Array;
		for(var j=1;j<actArray.length;j++) 
			{
			if((actArray[j] != null) && (typeof(actArray[j]) == "object") && (actArray[j].length == 2)) 
				{
				if(actArray[j][0] == "VAR") 
					{
					tempArray[j] = CSStateArray[actArray[j][1]];
					}
				else 
					{
					if(actArray[j][0] == "ACT") 
						{
						tempArray[j] = CSAction(new Array(new String(actArray[j][1])));
						}
					else
						tempArray[j] = actArray[j];
					}
				}
			else
				tempArray[j] = actArray[j];
			}			
		result = actArray[0](tempArray);
		}
	return result;
	}

function CSOpenWindow(action) 
	{
	var wf = "";
	wf = wf + "width=" + action[3];
	wf = wf + ",height=" + action[4];
	wf = wf + ",resizable=" + (action[5] ? "yes" : "no");
	wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");
	wf = wf + ",menubar=" + (action[7] ? "yes" : "no");
	wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");
	wf = wf + ",directories=" + (action[9] ? "yes" : "no");
	wf = wf + ",location=" + (action[10] ? "yes" : "no");
	wf = wf + ",status=" + (action[11] ? "yes" : "no");
	window.open(action[1],action[2],wf);
	}

CSStopExecution = false;
CSAct = new Object;


CSAct[/*CMP*/ 'news'] = new Array(CSOpenWindow,/*URL*/ 'news.php?id=','',710,510,false,false,false,false,false,false,false);

//-->
