	function Captchair (elem, _fontsize) {
	
		var cid = _getCaptchaID ();
	
		document.getElementById(elem).innerHTML = "<div style='width:100%' align='center'><table width='66%' border='0' cellspacing='0' cellpadding='0'><tr><td colspan='2' align='center'><img src='http://www.captchair.com/image?id=" + cid + "' /></td></tr><tr><td width='50%'><span style='font-size:" + _fontsize + "px'>Bitte geben Sie die oben angezeigten Zeichen ein:</span></td><td width='50%'><label><input type='text' name='code' id='code' /></label><input type='hidden' name='captcha_id' id='captcha_id' value='" + cid + "' /></td></tr></table></div>";
		
	}
	
	function _getCaptchaID () {
	
		if (window.XMLHttpRequest)
		  {
		  xmlHttp=new XMLHttpRequest();
		  }
		else // for older IE 5/6
		  {
		  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		  }
		var url="/captchair_proxy.php?action=new_key";
		url=url+"&amp;sid="+Math.random();
		xmlHttp.open("GET",url,false);
		xmlHttp.send();
		return xmlHttp.responseText;
		
	}
