<?php
	$domain = $this->GetVar('domain');
	if ($domain === false) {
		$domain = 1;
	}
?>
<tr class="table-color2">
	<td colspan="2" class="text">
		<input type="radio" name="domain" id="domain_1" value="1"<?php if ($domain == 1) echo ' checked';?>> <label for="domain_1"><?php echo $_SERVER['HTTP_HOST']; ?></label>
	</td>
</tr>

<tr class="table-color2">
	<td colspan="2" class="text">
		<input type="radio" name="domain" value="2" id="domain_2"<?php if ($domain == 2) echo ' checked';?>> <label for="domain_2">Other:</label>
		<input type="text" name="other" onclick="document.getElementById('domain_2').checked = true;" value="<?php echo $this->GetVar('other'); ?>">
	</td>
</tr>