function togglePhoneNumber(statusChecked) {
  if (statusChecked == true) {
	document.getElementById('einsundeins_dsl_content').style.backgroundImage = 'url(http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/270x220/270x220_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/270x220/270x220.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/270x220/270x220_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/270x220/270x220.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="270" height="220" style="background:url(http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/270x220/270x220.jpg) 0px 0px no-repeat;" id="einsundeins_dsl_content">');
document.write('<tr>');
document.write('<td valign="top" width="220" height="72" colspan="2"><img src="http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/270x220/images/transparent.gif" width="1" height="72" alt="" name="" border="0" /></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td valign="top" width="5" height="1"><img src="http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/270x220/images/transparent.gif" width="5" height="1" alt="" name="" border="0" /></td>');
document.write('<td valign="top" style="width: 265px; height: 150px;">');
document.write('<table border="0" cellpadding="0" cellspacing="0" height="150">');
document.write('<tr>');
document.write('<td valign="top">');
document.write('<table border="0" cellpadding="0" cellspacing="0">');
document.write('<tr>');
document.write('<td valign="top" width="70" height="36"><input type="text" value="" name="connection.zip" id="connection.zip" style="width:70px; height:16px; font-size:12px; font-family:Arial, Helvetica, sans serif; margin-right: 12px;" maxlength="5" size="3"></td>');
document.write('<td valign="top" width="160" height="36"><input type="text" value="" name="connection.city" id="connection.city" style="width:160px; height:16px; font-size:12px; 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">');
document.write('<tr>');
document.write('<td valign="top" width="200" height="36"><input type="text" value="" name="connection.street" id="connection.street" style="width:200px; height:16px; font-size:12px; font-family:Arial, Helvetica, sans serif; margin-right: 12px;" maxlength="200" size="13" autocomplete="off"></td>');
document.write('<td valign="top" width="30" height="36"><input type="text" value="" name="connection.streetNumber" id="connection.streetNumber" style="width:30px; height:16px; font-size:12px; 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">');
document.write('<tr>');
document.write('<td valign="top" width="90" height="28"><input type="text" value="" name="connection.onkz" id="connection.onkz" style="width:90px; height:16px; font-size:12px; font-family:Arial, Helvetica, sans serif; margin-right: 12px;" maxlength="200" size="40"></td>');
document.write('<td valign="top" width="140" height="28"><input type="text" value="" name="connection.number" id="connection.number" style="width:140px; height:16px; font-size:12px; font-family:Arial, Helvetica, sans serif; margin: 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" height="20">');
document.write('<table border="0" cellpadding="0" cellspacing="0">');
document.write('<tr>');
document.write('<td><input type="checkbox" value="true" name="connection.noline" id="onkz.noline" style="width:11px; height:11px; font-size:12px; margin: 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" height="25">');
document.write('<table border="0" cellpadding="0" cellspacing="0">');
document.write('<tr>');
document.write('<td><input style="margin: 7px 0 0 160px;" src="http://adimg.uimserv.net/1und1/Werbemittel/affiliate/dslcheck/270x220/images/transparent.gif" width="75" height="25" id="complete_check" alt="pr&uuml;fen" name="__SBMT:d1e3927d1:" type="image" />');
document.write('<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>');
}

