<!-- 
 
function showBranch(id)	{
	var theImg = document.getElementById('img_'+id);
	var theBox = document.getElementById('id_'+id);
	if(theBox.style.display == "none")	{
		theImg.src = "images/node-minimize.gif";
		theBox.style.display = "";
	}
	else	{
		theImg.src = "images/node-maximize.gif";
		theBox.style.display = "none";
	}
}

function setLogType(id)	{
	for(var i=0;i<=1;i++)	{
		if(i == id)	{
			document.getElementById('id_logtype_'+i).style.display = "";
		}
		else	{
			document.getElementById('id_logtype_'+i).style.display = "none";
		}
	}
}

function showDetail(type,profid)	{
	var ctrow = document.getElementById('id_'+type+'_'+profid);
	if(ctrow.style.display == '')	{
		ctrow.style.display = 'none';
	}
	else	{
		ctrow.style.display = '';
	}
}	

function printDoc(evid,pin)	{
	document.getElementById('frameDoc').src = 'http://www.colada.biz/custom/emex/printdoc.cfm?evid='+evid+'&pin='+pin;

}

function addExchange(to)	{
	document.location.href='index.cfm?menu=g&nav=5&cmd=add&cnt='+to;
	//window.open('popups/request.cfm?cmd=add&to='+to,'req','width=640,height=600,top=100,left=200,resizable=1,scrollbars=1');
}

function remExchange(to)	{
	document.location.href='index.cfm?menu=g&nav=5&cmd=rem&cnt='+to;
	//window.open('popups/request.cfm?cmd=rem&to='+to,'req','width=640,height=600,top=100,left=200,resizable=1,scrollbars=1');
}

function acceptExchange(to)	{
	document.location.href='index.cfm?menu=g&nav=5&cmd=accept&cnt='+to;
	//window.open('popups/request.cfm?cmd=accept&to='+to,'req','width=640,height=600,top=100,left=200,resizable=1,scrollbars=1');
}

function rejectExchange(to)	{
	document.location.href='index.cfm?menu=g&nav=5&cmd=reject&cnt='+to;
	//window.open('popups/request.cfm?cmd=reject&to='+to,'req','width=640,height=600,top=100,left=200,resizable=1,scrollbars=1');
}


function addMessage(to)	{
	document.location.href='index.cfm?menu=g&nav=6&cmd=add&cnt='+to;
	//window.open('popups/message.cfm?cmd=add&to='+to,'msg','width=640,height=600,top=100,left=200,resizable=1,scrollbars=1');
}

function readMessage(msg)	{
	window.open('popups/message.cfm?cmd=read&msg='+msg,'msg','width=640,height=600,top=100,left=200,resizable=1,scrollbars=1');
}

function remMessage(to,msg)	{
	if(confirm('Soll diese Nachricht wirklich entfernt werden?\n\nDie Nachricht wird dabei nur bei Ihnen entfernt und bleibt beim Konversationspartner bestehen.') == true)	{
		document.location.href='index.cfm?menu=g&nav=6&cmd=rem&cnt='+to+'&msg='+msg;
	}
}

function remContact(to,ret)	{
	if(confirm('Soll dieser Kontakt wirklich aus Ihrem Netzwerk entfernt werden?') == true)	{
		document.location.href = 'controllers/networking.cfc?method=removeContact&to='+to+'&returnto='+ret;	
	}
}

function addMeeting(to)	{
	document.location.href='index.cfm?menu=g&nav=7&cmd=add&cnt='+to;
}

function acceptMeeting(mkey)	{
	document.location.href='index.cfm?menu=g&nav=7&cmd=accept&mkey='+mkey;
}

function rejectMeeting(mkey)	{
	document.location.href='index.cfm?menu=g&nav=7&cmd=reject&mkey='+mkey;
}

function remMeeting(mkey)	{
	document.location.href='index.cfm?menu=g&nav=7&cmd=rem&mkey='+mkey;
}

function setPagesize(ps,link)	{
	if(confirm('Anzahl Kontakte pro Seite = '+ps+'?') == true)	{
		document.location.href = link+'&page=1&pagesize='+ps;
	}
}

-->
 