var newWindow = null;
function openWindow(contentURL,windowName,windowWidth,windowHeight) { 
	widthHeight = 'resizable=no,scrollbars=no, height=' + windowHeight + ',width=' + windowWidth;
	newWindow = window.open(contentURL,windowName,widthHeight);
	newWindow.focus();
}

function openText(contentURL,windowName) {
   newWindow = window.open(contentURL,windowName, 'width=640,height=480,resizable=yes,scrollbars=yes');
   newWindow.focus();
}

function openChat(contentURL,windowName) {
   newWindow = window.open(contentURL,windowName, 'width=720,height=480,resizable=yes,scrollbars=yes');
   newWindow.focus();
}

function closeWindow() {
	self.close();
}


function dynWindow(contentURL,ImgName,Breite,Hoehe)
{
if (ImgName == "") ImgName = contentURL;
	Fensteroptionen="toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0";

   Grafikfenster=window.open("", "", Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe);
	Grafikfenster.focus();
	Grafikfenster.document.open();
	with(Grafikfenster)
	{
	   document.write("<html><head>");
	   document.write("<title>"+contentURL+"<\/title>");
	   document.write("<\/head>");
	   document.write("<body leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\">");
	   document.write("<img border=\"0\" onclick=\"window.close();\" src=\""+ contentURL +"\" title=\"click to close the popup\">");
	   document.write("<\/body><\/html>");
	}
}
function openFlashPaper(contentURL,windowName) {
   newWindow = window.open(contentURL,windowName, 'width=800,height=640,resizable=yes,scrollbars=yes');
   newWindow.focus();
}

var user;
var domain;
var suffix;

function jemail(user, domain, suffix){
document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + user + '@' + domain + '.' + suffix + '</a>');
}