function PrintEmail(Recipient,AsLink){
			if(AsLink==1){
				document.write('<a onclick="T2ClickTracker(\'Email, ' + Recipient + '@' + 'trafo2.de\');" href="mailto:' + Recipient + '@' + 'trafo2.de">' + Recipient + '@' + 'trafo2.de</a>');
			}
			else{
				document.write(Recipient + '@' + 'trafo2.de');
			}
		}
		function PrintEmail_Ext(Recipient,Domain,AsLink){
			if(AsLink==1){
				document.write('<a onclick="T2ClickTracker(\'Email, ' + Recipient + '@' + Domain + '\');" href="mailto:' + Recipient + '@' + Domain + '">' + Recipient + '@' + Domain + '</a>');
			}
			else{
				document.write(Recipient + '@' + Domain);
			}
		}
		function T2ClickTracker(Key){
			var eURI = encodeURI("tc3_eTrackerAPI.php?eTrackerKey=" + Key + " (<{eTrackerName}>)");
			http_request = false;
		//	alert(eURI);
		//	Check = prompt("Geben Sie Ihr Passwort fuer diese Seite ein", eURI)
			 if (window.XMLHttpRequest) { // Mozilla, Safari,...
			     http_request = new XMLHttpRequest();
			 } else if (window.ActiveXObject) { // IE
			     try {
			         http_request = new ActiveXObject("Msxml2.XMLHTTP");
			     } 
			     catch (e) {
			         try {
			         	http_request = new ActiveXObject("Microsoft.XMLHTTP");
			         } 
			         catch (e) {}
			     }
			 }
			
			 if (!http_request) {
		//    	alert('Giving up :( Cannot create an XMLHTTP instance');
			     return false;
			 }
			 http_request.onreadystatechange = alertContents;
			 http_request.open('GET', eURI, true);
			 http_request.send(null);
		}
		function T2ClickTracker_FormField(Praefix,Area,FieldID){
			var Key = Praefix + ': ' + document.getElementById(FieldID).value; 
			//var eURI = encodeURI("http://www.trafo2.de/tc3_eTrackerAPI.php?eTrackerKey=" + Key);
			var eURI = encodeURI("tc3_eTrackerAPI.php?eTrackerKey=" + Key);
			http_request = false;
			 if (window.XMLHttpRequest) { // Mozilla, Safari,...
			     http_request = new XMLHttpRequest();
			 } else if (window.ActiveXObject) { // IE
			     try {
			         http_request = new ActiveXObject("Msxml2.XMLHTTP");
			     } 
			     catch (e) {
			         try {
			         	http_request = new ActiveXObject("Microsoft.XMLHTTP");
			         } 
			         catch (e) {}
			     }
			 }
			
			 if (!http_request) {
			     return false;
			 }
			 http_request.onreadystatechange = alertContents;
			 http_request.open('GET', eURI, true);
			 http_request.send(null);
		}
		function alertContents() {
			if (http_request.readyState == 4) {
				if (http_request.status == 200) {
					//return true;
				}
				else {
					//return false;
				}
			}
			else{
				//return true;
			}	
		}
		function imgaug(path, imgwidth, imgheight) {
			var time = new Date();
		 	var ms = time.getMilliseconds();
		
			imgwindow =	window.open( "", ms , "height=" + imgheight + ",width=" + imgwidth + ",scrollbars=no,hotkeys=yes,locationbar=no,menubar=no,resizable=no,status=no,scrolling=no,innerwidth=" + imgwidth + ",innerheight=" + imgheight + ",marginwidth=0,marginheight=0" );
			imgwindow.document.write( "<html><head><title>" + path + "</title></head>");
			imgwindow.document.write( "<body style='background:#fff;margin:0px'>" );
			imgwindow.document.write( "<a href='javascript:window.close();'><img src='" + path + "' width='" + imgwidth + "' height='" + imgheight + "' alt='Fenster schlie&szlig;en' border='0'></a>" );
			imgwindow.document.write( "</body></html>" );
		}
		function PopupHiRes(obj){
			imgTag = obj.innerHTML;
			if(imgTag.indexOf(".jpg")){
				// JPEG
			}
			else{
				if(imgTag.indexOf(".gif")){
					// GIF
				}
				else{
					return;
				}
			}
		}
