<!--
document.writeln('<HTML>');
document.writeln('<HEAD>');
document.writeln('  <META NAME="GENERATOR" CONTENT="Adobe PageMill 3.0 Win">');
document.writeln('<HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">');
document.writeln('  <!-- Head Include Start -->');
document.writeln('  <TITLE>MAR Request Dedication</TITLE>');
document.writeln('<SCRIPT LANGUAGE="JavaScript" type="text/JavaScript">');
document.writeln('<!--');
document.writeln('window.moveTo(0,0)');
document.writeln('window.resizeTo(700,450)');
document.writeln('//-->');
document.writeln('</' + 'SCRIPT>');
document.writeln('</HEAD>');
document.writeln('<BODY BGCOLOR="Brown">');
document.writeln('<SCRIPT SRC="formretain.js" language="JavaScript"></' + 'script>');
document.writeln('<FORM NAME="Request" METHOD="POST" ACTION="process3.php" style="margin: 2px"  ENCTYPE="x-www-form-urlencoded"  onsubmit="return processthis();">');
document.writeln('<CENTER>');
document.writeln('<INPUT TYPE="hidden" NAME="cid" VALUE="7615"> ');
document.writeln('<INPUT TYPE="hidden" NAME="ct" VALUE="10"> ');
document.writeln('<INPUT TYPE="hidden" NAME="cwdid" VALUE="4167">');
document.writeln('<INPUT TYPE="HIDDEN" NAME="box10" VALUE="ScreenSize"> ');
document.writeln('<INPUT TYPE="HIDDEN" NAME="box11" VALUE="ScreenColours"> ');
document.writeln('<INPUT TYPE="HIDDEN" NAME="box12" VALUE="Program ID"> ');
document.writeln('<FONT SIZE="+1" FACE="Arial" color="YELLOW"><BLOCKQUOTE>Thanks for clicking the MAR 1386am Request/Dedication box!');
document.writeln('  Please let us know your name, request, dedication, then click \'SEND\'.</FONT>');
document.writeln('<BR><small><FONT SIZE ="-1" COLOR="SILVER">We will read the message out straight away.</FONT></small></td></CENTER>');
document.writeln('</BLOCKQUOTE>');
document.writeln('<FONT SIZE="+1" FACE="Arial" color="BEIGE">');
document.writeln('<P><CENTER>Name: ');
document.writeln('<INPUT NAME="vn" TYPE="text" SIZE="24" MAXLENGTH="64" CLASS="memorize">');
document.writeln('</CENTER></P>');
document.writeln('<P><CENTER>Request/Dedication: (max 600 characters)');
document.writeln('</FONT>');
document.writeln('<TEXTAREA COLS="68" ROWS="5" NAME="iq" onKeyDown="textCounter(this.form.iq);"></TEXTAREA>');
document.writeln('<BR></CENTER>');
document.writeln('<INPUT TYPE="text" name="counter" value="600" size="5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
document.writeln('<INPUT TYPE="submit" NAME="button_next_1" VALUE="SEND">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
document.writeln('<A HREF = "Javascript:Clear()"><small>Clear</small></A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
document.writeln('<A HREF = "history.php" TARGET="_BLANK"><small>.</small></A>');
document.writeln('<HR></FORM>');
document.writeln('<SCRIPT LANGUAGE="JavaScript" type="text/javascript">');
document.writeln('<!--');
document.writeln('function processthis() {');
document.writeln('document.Request.box10.value = ("Screen Size is " + screen.availWidth + " x " + screen.availHeight  );');
document.writeln('document.Request.box11.value = ("Colours being used are " + screen.colorDepth ) ;');
document.writeln('document.Request.box12.value = "MAR DEDICATIONS";');
document.writeln('if (document.Request.vn.value =="") {alert("Please Enter any name"); return false};');
document.writeln('if (document.Request.iq.value =="") {alert("Please Enter something in messenger box"); return false};');
document.writeln('if (document.Request.iq.value.length > 600) {alert("Max of 600 characters - do you dont need more than that do you");');
document.writeln('return false};');
document.writeln('// lets check for a long line with no spaces if message longer than 65 characters');
document.writeln('var msg = document.Request.iq.value;');
document.writeln('// var i = msg.indexOf(" ",0);   // look for space  -1 if not found');
document.writeln('var i = msg.search(" ");           // look for space -1 if not found');
document.writeln('if (i == -1 && msg.length >65) {');
document.writeln('alert ("No spaces found in this message - please wait - adding spaces");');
document.writeln('temp$=""');
document.writeln('for (var s=0; s<msg.length; s++) {');
document.writeln('temp$ = temp$ + msg.substr(s,1);');
document.writeln('if (s/65 == Math.round(s/65) ) {               // Math.floor() also works');
document.writeln('temp$ = temp$ + " ";');
document.writeln('}');
document.writeln('}');
document.writeln('msg = temp$;');
document.writeln('}');
document.writeln('document.Request.iq.value = msg;    // do any mods to textarea here before submitting');
document.writeln('document.Request.iq.focus();');
document.writeln('return;');
document.writeln('}');
document.writeln('var mus="Mar Request Dedication [105fm]!";');
document.writeln('document.oncontextmenu=new Function("alert(mus);return false ");');
document.writeln('document.Request.iq.focus();');
document.writeln('function Clear() {');
document.writeln('document.Request.iq.value = ">";');
document.writeln('document.Request.iq.focus();');
document.writeln('document.Request.counter.value = 599;');
document.writeln('}');
document.writeln('function textCounter(field) {');
document.writeln('document.Request.counter.value = 599 -(field.value.length);');
document.writeln('}');
document.writeln('//-->');
document.writeln('</' + 'script>');
document.writeln('</BODY>');
document.writeln('</HTML>');
//-->


