if (inputFieldSize == ''){
	alert('Notice to web developer: You have not specified the field size of the input areas!');
}
if (listID == ''){
	alert('Notice to web developer: You have not specified the list id!');
}
if (inputClass != ''){
	inputClass = 'class="' + inputClass + '"';
}
if (headerClass != ''){
	headerClass = 'class="' + headerClass + '"';
}
if (textClass != ''){
	textClass = 'class="' + textClass + '"';
}
if (inputStyle != ''){
	inputStyle = 'style="' + inputStyle + '"';
}

document.writeln("<scri" + "pt langu" + "age=\"j" + "avascript\">function validate(){if ((document.signupForm.n.value == '')||(document.signupForm.n.value == 'Enter Your Name')){alert('Please enter your name!');return false;}if ((document.signupForm.e.value == '')||(document.signupForm.e.value == 'Enter Your Email')){alert('Please enter your email address!');return false;}return true;}</s" + "cript>");
document.writeln('<scri' + 'pt langu' + 'age="javascr' + 'ipt">function doubleValidate(existingValue){if (existingValue){window.open("http://jobs-telecommuting.com/newsletter/signup/index.php?n="+signupForm.n.value+"&e="+signupForm.e.value+"&lid="+signupForm.lid.value+"&imgsrc="+signupForm.imgsrc.value+"&rurl="+signupForm.rurl.value+"","signupnlform","toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,width=700,height=300,left=10,top=10")}return false;}</scr' + 'ipt>');
document.writeln('<table border="' + tableBorder + '" width="' + tableWidth + '" ' + tableExtras + '>');
document.writeln('<form name="signupForm" method="GET" action="http://jobs-telecommuting.com/newsletter/signup/index.php" onSubmit="return doubleValidate(validate());">');
document.writeln('<tr><td ' + headerClass + '>' + header_start + headerText + header_end + '</td></tr>');
document.writeln('<tr><td align="center" ' + textClass + '>' + boxtext_start + boxText + boxtext_end + '</td></tr>');
document.writeln('<tr><td align="center"><input type="text" size="' + inputFieldSize + '" name="n" value="Enter Your Name" onClick="if(n.value == \'Enter Your Name\'){n.value=\'\'}" ' + inputClass + inputStyle + '></td></tr>');
document.writeln('<tr><td align="center"><input type="text" size="' + inputFieldSize + '" name="e" value="Enter Your Email" onClick="if(e.value == \'Enter Your Email\'){e.value=\'\'}" ' + inputClass + inputStyle + '></td></tr>');
document.writeln('<tr><td align="right"><input type="image" src="' + signupBtnImage + '" border="0" name="signup"></td></tr>');
document.writeln('<input type="hidden" name="lid" value="' + listID + '"><input type="hidden" name="imgsrc" value="' + imageURL + '"><input type="hidden" name="rurl" value="' + siteURL + '"></form>');
document.writeln('</table>');

