document.write("\n"); document.write("\n"); document.write("function TAMax( ta, countspan, maxlength ) {\n"); document.write(" if (ta.value.length > maxlength){\n"); document.write(" ta.value = ta.value.substring( 0, maxlength );\n"); document.write(" ta.blur();\n"); document.write(" ta.focus();\n"); document.write(" return false;\n"); document.write(" }\n"); document.write(" else {\n"); document.write(" countspan.innerHTML = maxlength - ta.value.length;\n"); document.write(" }\n"); document.write("}\n"); document.write("\n"); document.write("
\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("
\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("
To upload your cartoon(s) please
\n"); document.write("\n"); document.write("\n"); document.write("
\n"); document.write("\n"); document.write("\n"); document.write("Select a file and click 'Add':
\n"); document.write(" \n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("File(s) selected for upload:\n"); document.write("\n"); document.write(" \n"); document.write(" \n"); document.write(" \n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("\n"); document.write(" \n"); document.write(" \n"); document.write(" \n"); document.write("
\n"); document.write(" \n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("\n"); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("\n"); document.write("var nid_84=1;\n"); document.write("var m_84=0;\n"); document.write("var udone_84=0;\n"); document.write("var msgelem_84;\n"); document.write("function AddFile_84(){\n"); document.write("var cup = document.getElementById('cup_84');\n"); document.write("var au = document.getElementById('au_84');\n"); document.write("var fn = au.value;\n"); document.write("if(!fn){\n"); document.write(" alert(\"Please select a file\");\n"); document.write(" return false;\n"); document.write(" }\n"); document.write("//check to see if we already have\n"); document.write("if(nid_84 > 1){\n"); document.write(" for(var x=2;x<=nid_84;x=x+1){\n"); document.write(" var elem2 = document.getElementById(x);\n"); document.write(" if(elem2 != null){\n"); document.write(" if(elem2.value == fn){\n"); document.write(" alert(\"File already selected for upload\");\n"); document.write(" return false;\n"); document.write(" }\n"); document.write(" }\n"); document.write(" }\n"); document.write("}\n"); document.write("nid_84 = nid_84+1;\n"); document.write("var fuploads = document.getElementById('fuploads_84');\n"); document.write("var tmpf = document.getElementById('tmpf_84');\n"); document.write("var tmpfs = document.getElementById('tmpfs_84');\n"); document.write("var tmpfc = tmpf.cloneNode(true);\n"); document.write("tmpfs.appendChild(tmpfc);\n"); document.write("tmpfc.swapNode(au);\n"); document.write("tmpfc.id = 'au_84';\n"); document.write("au.id = nid_84;\n"); document.write("au.name = \"cartoon_\"+nid_84;\n"); document.write("fuploads.innerHTML = fuploads.innerHTML + \"\"+fn + \"
\";\n"); document.write("document.getElementById(\"cartoon_84\").value=nid_84;\n"); document.write("}\n"); document.write("function RmSel_84(){\n"); document.write("for(var x=1;x<=nid_84;x=x+1){\n"); document.write("var elem;\n"); document.write("var mycb = \"cb_84_\"+x;\n"); document.write("if(elem = document.getElementById(mycb)){\n"); document.write(" if(elem.checked){\n"); document.write(" var elem2 = document.getElementById(x);\n"); document.write(" var elem3 = document.getElementById('ds_84_'+x);\n"); document.write(" if(elem2 != null){\n"); document.write(" elem2.removeNode(true);\n"); document.write(" }\n"); document.write(" if(elem3 != null){\n"); document.write(" elem3.removeNode(true);\n"); document.write(" }\n"); document.write(" }\n"); document.write("}\n"); document.write("}\n"); document.write("document.getElementById(\"cartoon_84\").value=nid_84;\n"); document.write("}\n"); document.write("function DoUpload_84(){\n"); document.write(" document.form_84.cartoon.value=nid_84;\n"); document.write(" var elem2 = document.getElementById('uploadfld_84');\n"); document.write(" if(elem2 != null){\n"); document.write(" elem2.removeNode(true);\n"); document.write(" }\n"); document.write(" var elem2 = document.getElementById('tmpf_84');\n"); document.write(" if(elem2 != null){\n"); document.write(" elem2.removeNode(true);\n"); document.write(" }\n"); document.write(" var elem2 = document.getElementById('msg1_84');\n"); document.write(" if(elem2 != null){\n"); document.write(" elem2.innerHTML = \"Please wait while files are being upload\";\n"); document.write(" }\n"); document.write("}\n"); document.write("
\n"); document.write("
\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("
Your first name:
\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("
Your last name:
\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("
A little bit about you: (optional)
\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("
*Your e-mail address:
Are you the cartoonist and do you grant Inspiration Peak
permission to publish your cartoon(s)?
\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("
\n"); document.write("\n"); document.write("
Yes No
\n"); document.write("
\n"); document.write("
\n");