function writeJS() {
var str='';
str+='<h1>Page Checker<\/h1>';
str+='<form name="oneurl" id="oneurl" action="#">';
str+='<label title="Address of page to Validate">Address: <input class="uri" id="uri" value="http:\/\/" size="40" \/><\/label><br \/>';
str+='<input class="button" type="submit" value="All Three"';
str+='onclick="';
str+='document.vhtml.uri.value=document.oneurl.uri.value;';
str+='document.vhtml.submit();';
str+='document.vcss.uri.value=document.oneurl.uri.value;';
str+='document.vcss.submit();';
str+='document.checklinks.uri.value=document.oneurl.uri.value;';
str+='document.checklinks.submit();';
str+='return false" \/>';
str+='<input class="button" type="submit" value="Validate HTML"';
str+='onclick="';
str+='document.vhtml.uri.value=document.oneurl.uri.value;';
str+='document.vhtml.submit();';
str+='return false" \/>';
str+='<input class="button" type="submit" value="Validate CSS"';
str+='onclick="';
str+='document.vcss.uri.value=document.oneurl.uri.value;';
str+='document.vcss.submit();';
str+='return false" \/>';
str+='<input class="button" type="submit" value="Check links"';
str+='onclick="';
str+='document.checklinks.uri.value=document.oneurl.uri.value;';
str+='document.checklinks.submit();';
str+='return false" \/>';
str+='<\/form>';
str+='';
str+='<form style="display:none" name="vhtml" method="get" action="http:\/\/validator.w3.org\/check" target="html_frame">';
str+='<fieldset>';
str+='<legend>Validate URL<\/legend>';
str+='<label title="Address of page to Validate">Address: <input name="uri" value="http:\/\/" size="40" \/><\/label>';
str+='<input class="button" value="Validate URL" type="submit" \/>';
str+='<\/fieldset>';
str+='<\/form>';
str+='';
str+='<form style="display:none" name="vcss" method="get" action="http:\/\/jigsaw.w3.org\/css-validator\/validator" target="css_frame">';
str+='<fieldset>';
str+='<legend>Validate CSS<\/legend>';
str+='<label title="Address of page to Validate">Address: <input name="uri" size="40" value="http:\/\/" type="text" \/><\/label>';
str+='<input name="usermedium" value="all" type="hidden" \/>';
str+='<input class="button" value="Validate CSS" type="submit" \/>';
str+='<\/fieldset>';
str+='<\/form>';
str+='';
str+='<form style="display:none" name="checklinks" action="http:\/\/validator.w3.org\/checklink" method="get" target="link_frame">';
str+='<fieldset>';
str+='<legend>Check Links<\/legend>';
str+='<label title="Address of page to link check">Address: <input size="40" name="uri" value="http:\/\/" type="text" \/><\/label>';
str+='<input class="button" name="check" value="Check links" type="submit" \/>';
str+='<\/fieldset>';
str+='<\/form>';
str+='';
document.write(str);
}
writeJS();
