/* cached (type 2) @ Sun, 01 Aug 2010 07:44:52 GMT, sid=13  */
			//JS object: objectid=21562568 datasource=mailseries method=javascript_default
document.write('\r\n\t\t\t<script type=\"text/javascript\">\r\n\t\t\t//<![CDATA[\r\n\t\t\tfunction validateUpload()\r\n\t\t\t{\tvar errorMessage = \"There were problems with your form submission. Please rectify these problems:\\n\"\r\n\t\t\t\tvar b_error = 0;\r\n\t\t\t\tvar elError;\r\n\t\t\t\tfunction _sanitize(val) \r\n\t\t\t\t{\t\r\n\t\t\t\t\t{\treturn val.replace(/(^[\\s\\t]*)|([\\s\\t]*$)/g, \"\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t//reqd:true \nif (!/^[a-zA-Z0-9_\\.\\+-]+@([a-zA-Z0-9_-]+\\.)+[a-zA-Z]{2,6}$/.test(_sanitize(this.document.forms.w_upl_21562568.email.value)))\n{\terrorMessage = errorMessage + \'Please enter a valid email address.\\n\';\n\n\tif (!b_error)\n\t{\twindow.document.forms.w_upl_21562568.email.focus();\n\t}\n\tb_error = 1;\n} \nif (_sanitize(this.document.forms.w_upl_21562568.name.value).length < 1)\n{\terrorMessage = errorMessage + \'Please enter your name.\\n\';\n\n\tif (!b_error)\n\t{\twindow.document.forms.w_upl_21562568.name.focus();\n\t}\n\tb_error = 1;\n} //reqd:1 \nif (!/^[0-9\\-\\(\\) ]*[0-9 ]{4,15}$/.test(_sanitize(this.document.forms.w_upl_21562568.phone.value)))\n{\terrorMessage = errorMessage + \'Please enter a valid UK phone number.\\n\';\n\n\tif (!b_error)\n\t{\twindow.document.forms.w_upl_21562568.phone.focus();\n\t}\n\tb_error = 1;\n} \nif (!this.document.forms.w_upl_21562568.ts_cs.checked)\n{\terrorMessage = errorMessage + \'Please confirm your acceptance of our terms.\\n\';\n\n\tif (!b_error)\n\t{\twindow.document.forms.w_upl_21562568.ts_cs.focus();\n\t}\n\tb_error = 1;\n} //reqd:true \nif (!b_error && !/^(file:\\/\\/)?([a-zA-Z]:)?[\\/\\\\a-zA-Z0-9_\\. &~-]*[a-zA-Z0-9_\\. &~-]+\\.[a-zA-Z0-9]+$/.test(_sanitize(this.document.forms.w_upl_21562568.file.value)))\n{\terrorMessage = errorMessage + \'Please use the browse button to select your video.\\n\';\n\n\tif (!b_error)\n\t{\twindow.document.forms.w_upl_21562568.file.focus();\n\t}\n\tb_error = 1;\n} \r\n\t\t\t\t\tif (b_error) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\talert(errorMessage);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t} else {\r\n\t\t\tformw_upl_21562568isValid(); \r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t//]]>\r\n\t\t\t</script>\r\n\t\t\r\n\t<script type=\"text/javascript\" src=\"http://images.icnetwork.co.uk/js/email_valid.js\"></script>\r\n\t<script type=\"text/javascript\">\r\n\t//<![CDATA[\r\n\t\t/* If the form is valid... */\r\n\t\tfunction formw_upl_21562568isValid()\r\n\t\t{\tvar aForm = document.forms.w_upl_21562568;\r\n\t\t\t\r\n\t\t\t\r\n\t\t\taForm.submit.value = \'Uploading, please wait...\';\r\n\t\t\taForm.submit.disabled = true;\r\n\t\t}\r\n\r\n\t\t/*\r\n\t\tPrevent overfilling textareas\r\n\t\t*/\r\n\t\tfunction limitText(limitField, limitCountEl, limitNum)\r\n\t\t{\tif (limitField.value.length > limitNum)\r\n\t\t\t{\tlimitField.value = limitField.value.substring(0, limitNum);\r\n\t\t\t} else\r\n\t\t\t{\t//update msg\r\n\t\t\t\tdocument.getElementById(limitCountEl).innerHTML = limitNum + \' characters max - (\' + (limitNum - limitField.value.length) + \' left)\';\r\n\t\t\t}\r\n\t\t}\r\n\t//]]>\r\n\t</script>\r\n\r\n\t\t<div class=\"your-paper-form w-upload-user-top w-upl-video\">\r\n\t\t\t<form\r\n\t\t\t\tname=\"w_upl_21562568\"\r\n\t\t\t\tclass=\"w-upload-user-f competitionForm\"\r\n\t\t\t\taction=\"http://www.theonlinemail.co.uk/page.cfm?doupload=1&amp;siteid=66580&amp;objectid=21562568&amp;method=javascript_default\"\r\n\t\t\t\tenctype=\"multipart/form-data\"\r\n\t\t\t\tmethod=\"post\"\r\n\t\t\t\tonsubmit=\"return validateUpload();\">\r\n\t\t\t\t<input type=\"hidden\" name=\"hashref\" value=\"06EDD6C0B565CA61B8AC006FF9507C2671E43543\"/>\r\n\t\t\t\t<h4>Send your video</h4>\r\n\t\t\t\t<p><label for=\"name\">Your name</label><em>&nbsp;(*mandatory)</em></p>\r\n\t\t\t\t<p><input class=\"tab_textbox\" name=\"name\" size=\"1\" style=\"width: 50%;\" value=\"\" type=\"text\" /></p>\r\n\t\t\t\t<p><label for=\"email\">Your email</label><em>&nbsp;(*mandatory)</em></p>\r\n\t\t\t\t<p><input class=\"tab_textbox\" name=\"email\" size=\"1\" style=\"width: 50%;\" value=\"\" type=\"text\" /></p>\r\n\t\t\t\t<p><label for=\"phone\">Your phone number</label><em>&nbsp;(*mandatory)</em></p>\r\n\t\t\t\t<p><input class=\"tab_textbox\" name=\"phone\" size=\"1\" style=\"width: 50%;\" value=\"\" type=\"text\" /></p>\r\n\t\r\n\t\t\t\t<p><label>Headline</label></p>\r\n\t\t\t\t\r\n\t\t\t\t<p><textarea \r\n\t\t\t\t\t\tclass=\"tab_textbox\" \r\n\t\t\t\t\t\tname=\"title\" \r\n\t\t\t\t\t\trows=\"1\" \r\n\t\t\t\t\t\tcols=\"47\" \r\n\t\t\t\t\t\tonKeyDown=\"limitText(this.form.title,\'title_info\',50);\" \r\n\t\t\t\t\t\tonKeyUp=\"limitText(this.form.title,\'title_info\',50);\"></textarea>\r\n\t\t\t\t</p>\t\r\n\t\t\t\t<p class=\"info-text\" id=\"title_info\">50 characters max - (50 left)</p>\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t<p><label>Attach your video</label></p>\r\n\t\t\t\t<p><input id=\"id_photo_file\" class=\"vImageUploadField\" name=\"file\" type=\"file\"></p>\r\n\t\t\t\t\r\n\t\r\n\t\t\t\t<p class=\"info-text\">29Mb limit</p>\r\n\t\r\n\t\t\t\t<p><label>Is there a story to go with the video?</label></p>  \r\n\t\t\t\t<p><textarea class=\"tab_textbox\" rows=\"15\" name=\"description\" cols=\"47\"></textarea></p>\r\n\t\t\t\t\r\n\t\t<script language=\"javascript\" type=\"text/javascript\">\r\n\t\t\t<!--//\t\t\r\n\t\t\t\t\r\n\t\t\t\tlimitText(document.forms.w_upl_21562568.title,\'title_info\',50);\r\n\t\t\t\t\r\n\t\t\t//-->\r\n\t\t</script>\r\n\t\t\r\n\t\r\n\t\t\t\t<p><label for=\"ts_cs\">Confirmation</label></p>\r\n\t\t\t\t<p class=\"compLongQ\"><input class=\"tab_cb\" name=\"ts_cs\" value=\"1\" type=\"checkbox\"  />&nbsp;Ticking this box confirms that you hold the copyright in your video and by submitting it you give us licence to publish it on our websites. Also, that you have the consent of any person(s) portrayed in your video to submit it to us.\r\n\t\t\t\t</p>\r\n\t\t\t\r\n\t\t\t\t<p class=\"captchaImage\"><label style=\"margin-right:78px;\">Verification number:</label>\r\n\t\t\t   \t\t<img\r\n\t\t\t\t\t\tsrc=\"/_services/captcha.cfm?hashReference=06EDD6C0B565CA61B8AC006FF9507C2671E43543&amp;ns=captcha\" \r\n\t\t\t\t\t\twidth=\"90\" height=\"35\"/>\r\n\t\t\t\t</p>\r\n\r\n\t\t\t\t<p class=\"captchaInput\"><label>* Enter verification number: </label><input name=\"captcha\" id=\"captcha\" value=\"\" type=\"text\" class=\"textfield\" /></p>\r\n\t\t\t\t<p class=\"w-upl-sub\"><input value=\"Submit your video\" type=\"submit\" name=\"submit\" /></p>\r\n\t\t\t\t\r\n\t\t\t\t<p></p>\r\n\t\t\t\t<h4>PLEASE NOTE:</h4>\r\n\t\t<p class=\"info-text\">Submissions may be edited before publication. Inappropriate text, images or video will be rejected without notice. Submission does not guarantee publication.</p>\r\n\t\t<p class=\"info-text\">You retain complete ownership and copyright of your text, images and video, but by submitting them you agree that we may feature them on our websites and/or newspapers as long as we provide you with a credit.</p>\r\n\t\t<p class=\"info-text\">We may, at our discretion, crop and/or resize images to fit the format of our web page or newspaper.</p>\r\n\t\t<p class=\"info-text\">Please read our <a href=\"/terms-conditions/\">terms and conditions</a>.</p>\r\n\t\t\t</form>\r\n\t\t</div>\r\n\t');