rendered paste body<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Sans Titre</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="testing" content="html">
<script type="text/javascript">
window.onload=function(){
var sel = document.getElementById("referredby");
sel.onchange=referralchoice;
hideEl(document.getElementById("advertQ1"));
hideEl(document.getElementById("rbQ1"));
}
function referralchoice() {
var o = this.options[this.selectedIndex].value;
var trShow;
var trHide;
switch (o) {
case "OTHER REFERRAL":
showEl(document.getElementById("rbQ1"));
hideEl(document.getElementById("advertQ1"));
break;
case "ADVERTISEMENT":
showEl(document.getElementById("advertQ1"));
hideEl(document.getElementById("rbQ1"));
break;
default:
hideEl(document.getElementById("advertQ1"));
hideEl(document.getElementById("rbQ1"));
break;
}
}
function showEl(el) {
if (document.all) el.style.display="block";
el.style.display="table-row";
}
function hideEl(el) {
el.style.display="none";
}
function render(c, t) {
document.getElementById(t).style.display="none";
if(document.all) {
if (c.checked)
document.getElementById(t).style.display="block";
} else {
if (c.checked)
document.getElementById(t).style.display="table-row";
}
}
function showit(c, t) {
document.getElementById(t).style.display="none";
if(document.all) {
if (c.selected)
document.getElementById(t).style.display="block";
} else {
if (c.selected)
document.getElementById(t).style.display="table-row";
}
}
</script>
</head>
<body bgcolor="#FFFFFF">
<?php
if ($_SERVER['REQUEST_METHOD'] != 'POST'){
$me = $_SERVER['PHP_SELF'];
?>
<tr id="style_gamechoice">
<td width="50%" height="5" bgcolor="#EFF3F7">
<font color="#FF0000"><b>* </b></font>
<font face="Verdana" size="3">What Game You Are Here For:</font>
<font color="#FF0000"><b>*</b></font>
</td>
<td width="50%" height="4" bgcolor="#EFF3F7">
<table width="100%" align="left" border="1">
<tr>
<td height="5" width="24%" bgcolor="#EFF3F7" align="left">
<input type="radio" id="gamechoice" name="gamechoice" value="Age Of Empires III" onClick="document.getElementById('foo2').style.display='none'; render(this, 'aoeIIIQ1'); render(this, 'foo1');">foo1
<br>
<input type="radio" id="gamechoice" name="gamechoice" value="Other Game" onClick="document.getElementById('foo1').style.display='none'; render(this, 'foo2');">foo2
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="50%" height="5" bgcolor="#EFF3F7">
<font color="#FF0000"><b>* </b></font>
<font face="Verdana" size="3">Who Referred You?</font>
<font color="#FF0000"><b>*</b></font>
</td>
<td height="5" width="30%" bgcolor="#EFF3F7" align="left">
<select name='referredby' id="referredby" onClick="document.getElementById('exadvert1').value=''; document.getElementById('exadvert2').value='';">
<option value="john">john</option>
<option value="bob">bob</option>
<option value="frank">frank</option>
<option value="OTHER REFERRAL">Not In The List</option>
<option value="ADVERTISEMENT">Advertisement</option>
</select>
</td>
</tr>
<tr>
<td width="50%" height="5" bgcolor="#EFF3F7">
<font color="#FF0000"><b>* </b></font>
<font face="Verdana" size="3">Have you ever been in a clan before? </font>
<font color="#FF0000"><b>*</b></font>
</td>
<td width="50%" height="5" bgcolor="#EFF3F7" align="left">
<font face="Verdana">
<select name='previousclan' id="previousclan">
<option disabled="disabled" selected onSelect="document.getElementById('prevclanQ1').style.display='none';">Please Select One</option>
<option disabled="disabled" onSelect="document.getElementById('prevclanQ1').style.display='none';">--------</option>
<option value='Yes' showit(this, 'prevclanQ1');">Yes</option>
<option disabled="disabled" onSelect="document.getElementById('prevclanQ1').style.display='none';">--------</option>
<option value='No' onSelect="document.getElementById('prevclanQ1').style.display='none';">No</option>
<option disabled="disabled" onSelect="document.getElementById('prevclanQ1').style.display='none';">--------</option>
</select>
</font>
</td>
</tr>
<tr id="prevclanQ1" style="display: none;">
<td width="50%" height="5" bgcolor="#EFF3F7">
<font color="#FF0000"><b>* </b></font>
<font face="Verdana" size="3">Are you presently in a clan? </font>
<font color="#FF0000"><b>*</b></font>
</td>
<td width="50%" height="5" bgcolor="#EFF3F7" align="left">
<font face="Verdana">
<select name='currentclan' id="currentclan">
<option disabled="disabled" selected>Please Select One</option>
<option disabled="disabled">--------</option>
<option value='Yes'>Yes</option>
<option disabled="disabled">--------</option>
<option value='No'>No</option>
<option disabled="disabled">--------</option>
</select>
</font>
</td>
</tr>
</body>
</html>