function togglePhoneNumber(statusChecked) {
  if (statusChecked == true) {
	document.getElementById('einsundeins_dsl_content').style.backgroundImage = 'url(http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/478x180/478x180_2.jpg)';
	document.getElementById('connection.number').style.display = 'none';
	document.getElementById('connection.onkz').style.display = 'inline';
  } else {
	document.getElementById('einsundeins_dsl_content').style.backgroundImage = 'url(http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/478x180/478x180.jpg)';
	document.getElementById('connection.number').style.display = 'inline';
	document.getElementById('connection.onkz').style.display = 'inline';
  }
}

function fx_1und1_dsl_check(zanox_tracking_dll, zanox_tracking_param)
{
var zanoxlink = zanox_tracking_dll + '?' + zanox_tracking_param + '=';

function togglePhoneNumber(statusChecked) {
  if (statusChecked == true) {
	document.getElementById('einsundeins_dsl_content').style.backgroundImage = 'url(http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/478x180/478x180_2.jpg)';
	document.getElementById('connection.number').style.display = 'none';
	document.getElementById('connection.onkz').style.display = 'inline';
  } else {
	document.getElementById('einsundeins_dsl_content').style.backgroundImage = 'url(http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/478x180/478x180.jpg)';
	document.getElementById('connection.number').style.display = 'inline';
	document.getElementById('connection.onkz').style.display = 'inline';
  }
}

document.write('<form style="padding:0px !important;" name="einsundeins_dsl_formtag" id="einsundeins_dsl_formtag" action="' + zanox_tracking_dll + '" accept-charset="utf-8" method="get" target="_blank">');
document.write('<input type="hidden" name="' + zanox_tracking_param + '" value="http://dsl.1und1.de/DslChecker?">');
document.write('<input type="hidden" name="ac" value="OM.AD.AD087K13441T7073a">');
document.write('<input type="hidden" name="__sendingdata" value="1">');
document.write('<input type="hidden" name="__lf" value="DslChecker">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="478" height="180" style="background:url(http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/478x180/478x180.jpg) 0px 0px no-repeat;" id="einsundeins_dsl_content">');
document.write('<tr>');
document.write('<td colspan="2" valign="top"><img src="http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/478x180/transparent.gif" width="1" height="56" alt="" name="" border="0" /></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="164" height="124"><img src="http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/478x180/transparent.gif" width="164" height="124" alt="" name="" border="0" /></td>');
document.write('<td valign="top" height="124">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="314" height="124">');
document.write('<tr>');
document.write('<td valign="top">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="314">');
document.write('<tr>');
document.write('<td width="75" height="32"><input type="text" value="" name="connection.zip" id="connection.zip" style="width:75px; height:16px; padding=0; font-size:10px; font-family:Arial, Helvetica, sans serif; margin-right: 6px;" maxlength="5" size="3"></td>');
document.write('<td width="240" height="32"><input type="text" value="" name="connection.city" id="connection.city" style="width:160px; height:16px; padding=0; font-size:10px; font-family:Arial, Helvetica, sans serif; margin: 0;" maxlength="200" size="13" autocomplete="off"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td valign="top">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="314">');
document.write('<tr>');
document.write('<td width="203" height="25"><input type="text" value="" name="connection.street" id="connection.street" style="width:203px; height:16px; padding=0; font-size:10px; font-family:Arial, Helvetica, sans serif; margin-right: 8px;" maxlength="200" size="13" autocomplete="off"></td>');
document.write('<td width="109" height="25" align="left"><input type="text" value="" name="connection.streetNumber" id="connection.streetNumber" style="width:30px; height:16px; padding=0; font-size:10px; font-family:Arial, Helvetica, sans serif; margin: 0;" maxlength="200" size="1"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td valign="top">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="314">');
document.write('<tr>');
document.write('<td width="93" height="30"><input type="text" value="" name="connection.onkz" id="connection.onkz" style="width:93px; height:16px; padding=0; font-size:10px; font-family:Arial, Helvetica, sans serif; margin-top: 2px;margin-right: 6px;" maxlength="200" size="40"></td>');
document.write('<td width="205" height="30" align="left"><input type="text" value="" name="connection.number" id="connection.number" style="width:140px; height:16px; padding=0; font-size:10px; font-family:Arial, Helvetica, sans serif; margin: 2px 0 0 0;" maxlength="200" size="40"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td valign="top">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="314">');
document.write('<tr>');
document.write('<td valign="top" height="12"><input type="checkbox" value="true" name="connection.noline" id="onkz.noline" style="width:11px; height:11px; font-size:10px; margin: -1px 0 0 0; padding: 0;" onclick="javascript: togglePhoneNumber(this.checked);"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td valign="top">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="314"">');
document.write('<tr>');
document.write('<td><input style="margin: -8px 0 0 210px;" src="http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/478x180/transparent.gif" width="75" height="25" id="complete_check" alt="pr&uuml;fen" name="__SBMT:d1e3927d1:" type="image" /></td>');
document.write('<td><input type="hidden" value="complete_check" name="__action"></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</form>');
}

