page_loaded = false; // ROLLOVERS archive_button_up_off = new Image(); archive_button_up_off.src = "design/bar/browse_up.gif"; archive_button_up_on = new Image(); archive_button_up_on.src = "design/bar/browse_up_on.gif"; archive_button_down_off = new Image(); archive_button_down_off.src = "design/bar/browse_down.gif"; archive_button_down_on = new Image(); archive_button_down_on.src = "design/bar/browse_down_on.gif"; archive_button_go_off = new Image(); archive_button_go_off.src = "design/bar/go_icon.gif"; archive_button_go_on = new Image(); archive_button_go_on.src = "design/bar/go_icon_on.gif"; archive_button_reply_off = new Image(); archive_button_reply_off.src = "design/bar/reply_icon.gif"; archive_button_reply_on = new Image(); archive_button_reply_on.src = "design/bar/reply_icon_on.gif"; archive_button_delete_off = new Image(); archive_button_delete_off.src = "design/bar/delete_icon.gif"; archive_button_delete_on = new Image(); archive_button_delete_on.src = "design/bar/delete_icon_on.gif"; special_button_about_off = new Image(); special_button_about_off.src = "design/bar/about.gif"; special_button_about_on = new Image(); special_button_about_on.src = "design/bar/about_on.gif"; special_button_group_off = new Image(); special_button_group_off.src = "design/details/list_username_bt_group.gif"; special_button_group_on = new Image(); special_button_group_on.src = "design/details/list_username_bt_group_on.gif"; special_button_all_off = new Image(); special_button_all_off.src = "design/details/list_username_bt_all.gif"; special_button_all_on = new Image(); special_button_all_on.src = "design/details/list_username_bt_all_on.gif"; special_button_plus_off = new Image(); special_button_plus_off.src = "design/bar/plus_icon.gif"; special_button_plus_on = new Image(); special_button_plus_on.src = "design/bar/plus_icon_on.gif"; game_button_up_off = new Image(); game_button_up_off.src = "design/details/game_up_off.png"; game_button_up_on = new Image(); game_button_up_on.src = "design/details/game_up_on.png"; game_button_down_off = new Image(); game_button_down_off.src = "design/details/game_down_off.png"; game_button_down_on = new Image(); game_button_down_on.src = "design/details/game_down_on.png"; menu_main_off = new Image(); menu_main_off.src = "design/menu/menu_main.png"; menu_main_on = new Image(); menu_main_on.src = "design/menu/menu_main_on.png"; menu_forum_off = new Image(); menu_forum_off.src = "design/menu/menu_forum.png"; menu_forum_on = new Image(); menu_forum_on.src = "design/menu/menu_forum_on.png"; menu_create_off = new Image(); menu_create_off.src = "design/menu/menu_create.png"; menu_create_on = new Image(); menu_create_on.src = "design/menu/menu_create_on.png"; menu_join_off = new Image(); menu_join_off.src = "design/menu/menu_join.png"; menu_join_on = new Image(); menu_join_on.src = "design/menu/menu_join_on.png"; menu_users_off = new Image(); menu_users_off.src = "design/menu/menu_users.png"; menu_users_on = new Image(); menu_users_on.src = "design/menu/menu_users_on.png"; menu_games_off = new Image(); menu_games_off.src = "design/menu/menu_games.png"; menu_games_on = new Image(); menu_games_on.src = "design/menu/menu_games_on.png"; menu_more_off = new Image(); menu_more_off.src = "design/menu/menu_more.png"; menu_more_on = new Image(); menu_more_on.src = "design/menu/menu_more_on.png"; game_edit_form_off = new Image(); game_edit_form_off.src = "design/bar/show_post_form_message.gif"; game_edit_form_on = new Image(); game_edit_form_on.src = "design/bar/hide_post_form_message.gif"; for ($i=1;$i<=3;$i++) { eval('archive_button_rew_' + $i + '_off = new Image();'); eval('archive_button_rew_' + $i + '_off.src = "design/bar/browse_back_' + $i + '.gif";'); eval('archive_button_rew_' + $i + '_on = new Image();'); eval('archive_button_rew_' + $i + '_on.src = "design/bar/browse_back_' + $i + '_on.gif";'); eval('archive_button_fastf_' + $i + '_off = new Image();'); eval('archive_button_fastf_' + $i + '_off.src = "design/bar/browse_forward_' + $i + '.gif";'); eval('archive_button_fastf_' + $i + '_on = new Image();'); eval('archive_button_fastf_' + $i + '_on.src = "design/bar/browse_forward_' + $i + '_on.gif";'); } // END OF ROLLOVERS search_area_on=false; top_posting_on=false; bottom_posting_on=false; // POPUP about_popup=null; function POP_about(pop_address, pwidth, pheight) { if ((about_popup!=null)&&(!about_popup.closed)) about_popup.close(); about_popup=window.open(pop_address,'about','width=' + pwidth + ',height=' + pheight + ',channelmode=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,status=0,toolbar=0,left=50,top=50'); return true; } // FUNCTIONS function startList() { if (document.all&&document.getElementById) { navs = document.getElementsByTagName('a'); for (var i=0; i input.value.length) { pos = input.value.length; } var insText = prompt("Enter text"); input.value = input.value.substr(0, pos) + bbdebut + insText + bbfin + input.value.substr(pos); } setTimeout('document.bottom_post_area.message.focus()',5); return false; } function reference(ref_address, postusername) { // opens up posting area document.getElementById('bottom_post_div').style.display='block'; bottom_posting_on=true; document.form_display_bottom.src=form_display_on.src; input=document.bottom_post_area.message; // adds the reference input.focus(); bbdebut = '[ref=' + ref_address + ']'; bbfin = '[/ref]'; if(typeof document.selection != 'undefined') { var range = document.selection.createRange(); var insText = range.text; if (insText.length == 0) { range.text = bbdebut + postusername + bbfin; } else { range.text = bbdebut + insText + bbfin; } range = document.selection.createRange(); if (insText.length == 0) { range.move('character', 0); } else { range.moveStart('character', bbdebut.length + insText.length + bbfin.length); } range.select(); } else if(typeof input.selectionStart != 'undefined') { var start = input.selectionStart; var end = input.selectionEnd; var insText = input.value.substring(start, end); if (insText.length == 0) { input.value = input.value.substr(0, start) + bbdebut + postusername + bbfin + input.value.substr(end); var pos; pos = start + bbdebut.length + postusername.length + bbfin.length; } else { input.value = input.value.substr(0, start) + bbdebut + insText + bbfin + input.value.substr(end); var pos; pos = start + bbdebut.length + insText.length + bbfin.length; } input.selectionStart = pos; input.selectionEnd = pos; } else { var pos; var re = new RegExp('^[0-9]{0,3}$'); while(!re.test(pos)) { pos = prompt("insertion (0.." + input.value.length + "):", "0"); } if(pos > input.value.length) { pos = input.value.length; } var insText = prompt("Enter text"); input.value = input.value.substr(0, pos) + bbdebut + insText + bbfin + input.value.substr(pos); } setTimeout('document.bottom_post_area.message.focus()',5); return false; } function Trim(str) { while(str.charAt(0) == (" ")) { str = str.substring(1); } while(str.charAt(str.length-1) == " ") { str = str.substring(0,str.length-1); } return str; } function newpage(location) { var location = location; window.location=location; } function jump(form) { var myindex=form.boardtype.selectedIndex var linktopass linktopass = form.boardtype.options[myindex].value; location.href = linktopass; } function confirmdelete() { var choice=confirm("Are you sure you want to delete this?"); if (choice) return true; else return false; } function confirmban(ban) { var choice; if (ban) choice=confirm("Are you sure you want to ban this user?"); else choice=confirm("Are you sure you want to unban this user?"); if (choice) return true; else return false; } function gotyverification(thisform) { if ( (thisform.category0_1.value == '') && (thisform.category0_2.value == '') && (thisform.category0_3.value == '') && (thisform.category1_1.value == '') && (thisform.category1_2.value == '') && (thisform.category1_3.value == '') && (thisform.category2_1.value == '') && (thisform.category2_2.value == '') && (thisform.category2_3.value == '') && (thisform.category3_1.value == '') && (thisform.category3_2.value == '') && (thisform.category3_3.value == '') && (thisform.category4_1.value == '') && (thisform.category4_2.value == '') && (thisform.category4_3.value == '') && (thisform.category5_1.value == '') && (thisform.category5_2.value == '') && (thisform.category5_3.value == '') && (thisform.category6_1.value == '') && (thisform.category6_2.value == '') && (thisform.category6_3.value == '') && (thisform.category7_1.value == '') && (thisform.category7_2.value == '') && (thisform.category7_3.value == '') && (thisform.category8_1.value == '') && (thisform.category8_2.value == '') && (thisform.category8_3.value == '') && (thisform.category9_1.value == '') && (thisform.category9_2.value == '') && (thisform.category9_3.value == '') ) { alert('I AM ERROR. Dang yo, you have to vote for SOMETHING!'); return false; } if ( (thisform.category0_1.value==thisform.category0_2.value && thisform.category0_1.value != '') || (thisform.category0_1.value==thisform.category0_3.value && thisform.category0_1.value != '') || (thisform.category0_2.value==thisform.category0_3.value && thisform.category0_2.value != '') || (thisform.category1_1.value==thisform.category1_2.value && thisform.category1_1.value != '') || (thisform.category1_1.value==thisform.category1_3.value && thisform.category1_1.value != '') || (thisform.category1_2.value==thisform.category1_3.value && thisform.category1_2.value != '') || (thisform.category2_1.value==thisform.category2_2.value && thisform.category2_1.value != '') || (thisform.category2_1.value==thisform.category2_3.value && thisform.category2_1.value != '') || (thisform.category2_2.value==thisform.category2_3.value && thisform.category2_2.value != '') || (thisform.category3_1.value==thisform.category3_2.value && thisform.category3_1.value != '') || (thisform.category3_1.value==thisform.category3_3.value && thisform.category3_1.value != '') || (thisform.category3_2.value==thisform.category3_3.value && thisform.category3_2.value != '') || (thisform.category4_1.value==thisform.category4_2.value && thisform.category4_1.value != '') || (thisform.category4_1.value==thisform.category4_3.value && thisform.category4_1.value != '') || (thisform.category4_2.value==thisform.category4_3.value && thisform.category4_2.value != '') || (thisform.category5_1.value==thisform.category5_2.value && thisform.category5_1.value != '') || (thisform.category5_1.value==thisform.category5_3.value && thisform.category5_1.value != '') || (thisform.category5_2.value==thisform.category5_3.value && thisform.category5_2.value != '') || (thisform.category6_1.value==thisform.category6_2.value && thisform.category6_1.value != '') || (thisform.category6_1.value==thisform.category6_3.value && thisform.category6_1.value != '') || (thisform.category6_2.value==thisform.category6_3.value && thisform.category6_2.value != '') || (thisform.category7_1.value==thisform.category7_2.value && thisform.category7_1.value != '') || (thisform.category7_1.value==thisform.category7_3.value && thisform.category7_1.value != '') || (thisform.category7_2.value==thisform.category7_3.value && thisform.category7_2.value != '') || (thisform.category8_1.value==thisform.category8_2.value && thisform.category8_1.value != '') || (thisform.category8_1.value==thisform.category8_3.value && thisform.category8_1.value != '') || (thisform.category8_2.value==thisform.category8_3.value && thisform.category8_2.value != '') || (thisform.category9_1.value==thisform.category9_2.value && thisform.category9_1.value != '') || (thisform.category9_1.value==thisform.category9_3.value && thisform.category9_1.value != '') || (thisform.category9_2.value==thisform.category9_3.value && thisform.category9_2.value != '') ) { alert('I AM ERROR. You cannot select the same game for any category twice!'); return false; } } function childpostverification(thisform) { if (thisform.message.value=='') { alert('I AM ERROR. Please put in a message.'); return false; } var message = thisform.message.value; if (message.length > 30000) { alert('I AM ERROR. Your post is '+(message.length-30000)+' character(s) too long.'); return false; } } function mymusicuploadverification(thisform) { if (thisform.file.value=='') { alert('I AM ERROR. Please select a file.'); return false; } if (thisform.type.value=='') { alert('I AM ERROR. Please select a type.'); return false; } if (thisform.description.value=='') { alert('I AM ERROR. Please add a description.'); return false; } } function promoteverification(thisform) { if ((thisform.user_name.value=='') || (thisform.user_name.value=='Username')) { alert('I AM ERROR. Please enter username.'); return false; } } function listmanageverification(thisform) { if ((thisform.gameid.value=='') || (thisform.gameid.value=='Game #id')) { alert('I AM ERROR. Please enter an id number.'); return false; } } function avataruploadverification(thisform) { if (thisform.file1.value=='') { alert('I AM ERROR. Please select a file.'); return false; } if (thisform.privacy.value=='') { alert('I AM ERROR. Please select avatar privacy level.'); return false; } } function fileuploadverification(thisform) { if (thisform.file1.value=='' && thisform.file2.value=='' && thisform.file3.value=='' && thisform.file4.value=='' && thisform.file5.value=='') { alert('I AM ERROR. Please select a file.'); return false; } } function gamesaddverification(thisform) { if (thisform.gamename.value=='') { alert('I AM ERROR. Please enter a title for your game.'); return false; } if (thisform.format.value=='') { alert('I AM ERROR. Please select a format.'); return false; } if (thisform.vc.value=='') { alert('I AM ERROR. Please say if the game is on virtual console.'); return false; } if (thisform.online.value=='') { alert('I AM ERROR. Please say if the game is online.'); return false; } if (thisform.platformid.value=='') { alert('I AM ERROR. Please select a platform.'); return false; } var message = thisform.information.value; if (message.length == 0) { alert('I AM ERROR. Please enter a description.'); return false; } if (message.length > 2000) { alert('I AM ERROR. Your information is '+(message.length-2000)+' character(s) too long.'); return false; } } function passwordresetverification(thisform) { var email = Trim(thisform.email.value); if ((email=='') || (email=='The e-mail you tied to your profile')) { alert('I AM ERROR. Please fill in the required field.'); return false; } if ((email.indexOf('@') == -1) || (email.indexOf('.') == -1)) { alert('I AM ERROR. Invalid email.'); return false; } } function etcmanageverification(thisform) { if (thisform.name.value=='') { alert('I AM ERROR. Please put in a name.'); return false; } if (thisform.content.value=='') { alert('I AM ERROR. Please put in content.'); return false; } var content = thisform.content.value; if (content.length > 2000) { alert('I AM ERROR. Your post is '+(content.length-2000)+' character(s) too long.'); return false; } } function profileeditverification(thisform) { var temppassword = thisform.password1.value; var tempinterests = thisform.interests.value; var regn = new RegExp("(\n)", "g"); var regr = new RegExp("(\r)", "g"); tempinterests = tempinterests.replace(regn, 'XX'); tempinterests = tempinterests.replace(regr, 'XX'); if (!page_loaded) { return false; } var OK_characters="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 _-."; for (i=0; i 2000) { alert('I AM ERROR. Your profile text is '+(tempinterests.length-2000)+' character(s) too long.'); return false; } return true; } function personaeditverification(thisform, max_xp, max_level, max_neq) { var tempusername = Trim(thisform.newusername.value); var tempuserlevel = Number(Trim(thisform.personalevel.value)); var tempuserxp = Number(Trim(thisform.personaxp.value)); var tempuserneq = Number(Trim(thisform.neqstage.value)); var tempinterests = thisform.interests.value; var regn = new RegExp("(\n)", "g"); var regr = new RegExp("(\r)", "g"); tempinterests = tempinterests.replace(regn, 'XX'); tempinterests = tempinterests.replace(regr, 'XX'); if (!page_loaded) { return false; } var OK_characters="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 _-."; for (i=0; i 0)) { alert('I AM ERROR. The level must be between 0 and ' + max_level + '.'); return false; } if ((tempuserxp > max_xp) || (tempuserxp < 50000)) { alert('I AM ERROR. The xp must be between 50000 and ' + max_xp + '.'); return false; } if ((tempuserneq > max_neq) || (tempuserneq < 1)) { alert('I AM ERROR. The NEQ stage must be between 1 and ' + max_neq + '.'); return false; } if (tempinterests.length > 2000) { alert('I AM ERROR. Your profile text is '+(tempinterests.length-2000)+' character(s) too long.'); return false; } return true; } function sharedpersonaeditverification(thisform, max_level) { var tempusername = Trim(thisform.newusername.value); var tempuserlevel = Number(Trim(thisform.personalevel.value)); var tempuserxp = Number(Trim(thisform.personaxp.value)); var tempuserneq = Number(Trim(thisform.neqstage.value)); var tempinterests = thisform.interests.value; var regn = new RegExp("(\n)", "g"); var regr = new RegExp("(\r)", "g"); tempinterests = tempinterests.replace(regn, 'XX'); tempinterests = tempinterests.replace(regr, 'XX'); if (!page_loaded) { return false; } var OK_characters="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 _-."; for (i=0; i 0)) { alert('I AM ERROR. The level must be between 0 and ' + max_level + '.'); return false; } if (tempuserxp < 50000) { alert('I AM ERROR. The xp must be higher than 50000.'); return false; } if ((tempuserneq > 11) || (tempuserneq < 1)) { alert('I AM ERROR. The NEQ stage must be between 1 and 11.'); return false; } if (tempinterests.length > 2000) { alert('I AM ERROR. Your profile text is '+(tempinterests.length-2000)+' character(s) too long.'); return false; } return true; } function joinupverification(thisform) { var tempusername = Trim(thisform.tempusername.value); var temppassword = Trim(thisform.temppassword.value); var temppassword2 = Trim(thisform.temppassword2.value); var email = Trim(thisform.email.value); var email2 = Trim(thisform.email2.value); var OK_characters="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 _-."; for (i=0; i 30000) { alert('I AM ERROR. Your post is '+(message.length-30000)+' character(s) too long.'); return false; } } function pollpostverification(thisform) { if (!thisform.topic || !thisform.message) { alert('I AM ERROR.'); return false; } if (thisform.topic.value=='' || thisform.message.value=='') { alert('I AM ERROR. Please put in a topic and message.'); return false; } var topic = thisform.topic.value; var message = thisform.message.value; if (message.length > 30000) { alert('I AM ERROR. Your message is '+(message.length-30000)+' character(s) too long.'); return false; } var x = 10; if (thisform.option1.value=='') { x=x-1;} if (thisform.option2.value=='') { x=x-1;} if (thisform.option3.value=='') { x=x-1;} if (thisform.option4.value=='') { x=x-1;} if (thisform.option5.value=='') { x=x-1;} if (thisform.option6.value=='') { x=x-1;} if (thisform.option7.value=='') { x=x-1;} if (thisform.option8.value=='') { x=x-1;} if (thisform.option9.value=='') { x=x-1;} if (thisform.option10.value=='') { x=x-1;} if (x < 2) { alert('I AM ERROR. You must have at least two poll options.'); return false; } } function toptenverification(thisform) { var error=false; if (!thisform.topic || !thisform.message || !thisform.conclusion) { alert('I AM ERROR.'); return false; } if ((thisform.topic.value=='' || thisform.topic.value=='Topic information and introduction') || thisform.message.value=='' || thisform.conclusion.value=='') { error=true; } for (var i=1; i<=10; i++) { eval ("if (thisform.header" + i + ".value=='' || thisform.header" + i + ".value=='#" + i + " header and body information') error=true;"); eval ("if (thisform.body" + i + ".value=='') error=true;"); } if (error) { alert('I AM ERROR. Please fill in all fields!'); return false; } var topic = thisform.topic.value; var header1 = thisform.header1.value; var header2 = thisform.header2.value; var header3 = thisform.header3.value; var header4 = thisform.header4.value; var header5 = thisform.header5.value; var header6 = thisform.header6.value; var header7 = thisform.header7.value; var header8 = thisform.header8.value; var header9 = thisform.header9.value; var header10 = thisform.header10.value; var introduction = thisform.message.value; var conclusion = thisform.conclusion.value; var body1 = thisform.body1.value; var body2 = thisform.body2.value; var body3 = thisform.body3.value; var body4 = thisform.body4.value; var body5 = thisform.body5.value; var body6 = thisform.body6.value; var body7 = thisform.body7.value; var body8 = thisform.body8.value; var body9 = thisform.body9.value; var body10 = thisform.body10.value; if (introduction.length > 5000) { alert('I AM ERROR. Your introduction is too long!'); return false; } if (conclusion.length > 5000) { alert('I AM ERROR. Your conclusion is too long!'); return false; } if (body10.length > 5000) { alert('I AM ERROR. Your #10 body is too long!'); return false; } if (body9.length > 5000) { alert('I AM ERROR. Your #9 body is too long!'); return false; } if (body8.length > 5000) { alert('I AM ERROR. Your #8 body is too long!'); return false; } if (body7.length > 5000) { alert('I AM ERROR. Your #7 body is too long!'); return false; } if (body6.length > 5000) { alert('I AM ERROR. Your #6 body is too long!'); return false; } if (body5.length > 5000) { alert('I AM ERROR. Your #5 body is too long!'); return false; } if (body4.length > 5000) { alert('I AM ERROR. Your #4 body is too long!'); return false; } if (body3.length > 5000) { alert('I AM ERROR. Your #3 body is too long!'); return false; } if (body2.length > 5000) { alert('I AM ERROR. Your #2 body is too long!'); return false; } if (body1.length > 5000) { alert('I AM ERROR. Your #1 body is too long!'); return false; } } function comicupdateverification(thisform) { if (thisform.description.value=='') { alert('I AM ERROR. Description cannot be blank.'); return false; } var description = thisform.description.value; if(description.length > 5000) { alert('I AM ERROR. Your description is '+(description.length-5000)+' character(s) too long.'); return false; } } function comicfileupdateverification(thisform) { if (thisform.file.value=='') { alert('I AM ERROR. File must be added.'); return false; } } function comicuploadverification(thisform) { if (thisform.title.value=='') { alert('I AM ERROR. Title cannot be blank.'); return false; } if (thisform.description.value=='') { alert('I AM ERROR. Description cannot be blank.'); return false; } var description = thisform.description.value; if(description.length > 5000) { alert('I AM ERROR. Your description is '+(description.length-5000)+' character(s) too long.'); return false; } if (thisform.file.value=='') { alert('I AM ERROR. File must be added.'); return false; } } function comicuploadcharacterverification(thisform) { if (thisform.name.value=='') { alert('I AM ERROR. Name cannot be blank.'); return false; } if (thisform.description.value=='') { alert('I AM ERROR. Description cannot be blank.'); return false; } var description = thisform.description.value; if(description.length > 2500) { alert('I AM ERROR. Your description is '+(description.length-2500)+' character(s) too long.'); return false; } if (thisform.file.value=='') { alert('I AM ERROR. File must be added.'); return false; } } function comicdetailverification(thisform) { if (thisform.title.value=='') { alert('I AM ERROR. Title cannot be blank.'); return false; } if (thisform.description.value=='') { alert('I AM ERROR. Description cannot be blank.'); return false; } var description = thisform.description.value; if(description.length > 5000) { alert('I AM ERROR. Your description is '+(description.length-5000)+' character(s) too long.'); return false; } } function comiccharacterverification(thisform) { if (thisform.name.value=='') { alert('I AM ERROR. Name cannot be blank.'); return false; } if (thisform.description.value=='') { alert('I AM ERROR. Description cannot be blank.'); return false; } var description = thisform.description.value; if(description.length > 2500) { alert('I AM ERROR. Your description is '+(description.length-2500)+' character(s) too long.'); return false; } } function keywordssearchverification(thisform) { if (thisform.keywords.value=='') { alert('I AM ERROR. You must type in a keyword to search on.'); return false; } } function comicnavigationupdateverification(thisform) { if (thisform.navigation.value=='1') { if(thisform.first.value=='' || thisform.previous.value=='' || thisform.random.value=='' || thisform.next.value=='' || thisform.last.value=='' || thisform.firstalt.value=='' || thisform.previousalt.value=='' || thisform.randomalt.value=='' || thisform.nextalt.value=='' || thisform.lastalt.value=='') { alert('I AM ERROR. If you select custom, you must submit a file for each navigation type.'); return false; } else { var tempindex = thisform.first.value.indexOf("."); var firstextension = thisform.first.value.substr(tempindex+1); tempindex = thisform.previous.value.indexOf("."); var previousextension = thisform.previous.value.substr(tempindex+1); tempindex = thisform.random.value.indexOf("."); var randomextension = thisform.random.value.substr(tempindex+1); tempindex = thisform.next.value.indexOf("."); var nextextension = thisform.next.value.substr(tempindex+1); tempindex = thisform.last.value.indexOf("."); var lastextension = thisform.last.value.substr(tempindex+1); tempindex = thisform.firstalt.value.indexOf("."); var firstaltextension = thisform.firstalt.value.substr(tempindex+1); tempindex = thisform.previousalt.value.indexOf("."); var previousaltextension = thisform.previousalt.value.substr(tempindex+1); tempindex = thisform.randomalt.value.indexOf("."); var randomaltextension = thisform.randomalt.value.substr(tempindex+1); tempindex = thisform.nextalt.value.indexOf("."); var nextaltextension = thisform.nextalt.value.substr(tempindex+1); tempindex = thisform.lastalt.value.indexOf("."); var lastaltextension = thisform.lastalt.value.substr(tempindex+1); if(firstextension != previousextension || firstextension != randomextension || firstextension != nextextension || firstextension != lastextension || firstextension != firstaltextension || firstextension != previousaltextension || firstextension != randomaltextension || firstextension != nextaltextension || firstextension != lastaltextension) { alert('I AM ERROR. If you select custom, you must use the same file type for each navigation file.'); return false; } } } } function rssverification(thisform) { if (thisform.title.value=='') { alert('I AM ERROR. Title cannot be blank.'); return false; } } function quickrssverification(thisform) { if (thisform.topic.value=='') { alert('I AM ERROR. You must add a topic.'); return false; } var message = thisform.message.value; if (message.length > 30000) { alert('I AM ERROR. Your message is '+(message.length-30000)+' character(s) too long.'); return false; } } function comictextchange(changeit) { if(changeit.value=='1') { document.getElementById("comictext").innerHTML="
First:
Previous:
Random:
Next:
Last:
Alt images are those that are seen during a mouseover. If you do not want a mouseover effect, load the same images for the alt parts as the regular parts (ex. First (alt.) = First.)
First (alt):
Previous (alt):
Random (alt):
Next (alt):
Last (alt):
"; } else { document.getElementById("comictext").innerHTML=""; } } function nintendoplatformchange(changeit) { if( changeit.value=='6' || changeit.value=='8' || changeit.value=='10' || changeit.value=='11' || changeit.value=='12' || changeit.value=='14' || changeit.value=='15' || changeit.value=='16' || changeit.value=='17' || changeit.value=='18' || changeit.value=='19' || changeit.value=='20' || changeit.value=='21' || changeit.value=='3' || changeit.value=='30' || changeit.value=='31' || changeit.value=='32' || changeit.value=='33' || changeit.value=='34' || changeit.value=='35' || changeit.value=='36' || changeit.value=='37' || changeit.value=='38' || changeit.value=='39' || changeit.value=='40' || changeit.value=='41' || changeit.value=='42' || changeit.value=='43' || changeit.value=='45' || changeit.value=='46' || changeit.value=='47' || changeit.value=='49' || changeit.value=='50' ) { document.getElementById("vc").value="0"; } if( changeit.value=='1' || changeit.value=='2' || changeit.value=='5' || changeit.value=='4' || changeit.value=='6' || changeit.value=='7' || changeit.value=='8' || changeit.value=='9' || changeit.value=='13' || changeit.value=='22' || changeit.value=='3' || changeit.value=='23' || changeit.value=='24' || changeit.value=='25' || changeit.value=='26' || changeit.value=='27' || changeit.value=='28' || changeit.value=='29' || changeit.value=='30' || changeit.value=='31' || changeit.value=='32' || changeit.value=='33' || changeit.value=='34' || changeit.value=='37' || changeit.value=='38' || changeit.value=='48' ) { document.getElementById("format").value="0"; } if( changeit.value=='1' || changeit.value=='2' || changeit.value=='5' || changeit.value=='4' || changeit.value=='6' || changeit.value=='7' || changeit.value=='8' || changeit.value=='9' || changeit.value=='13' || changeit.value=='22' || changeit.value=='3' || changeit.value=='23' || changeit.value=='24' || changeit.value=='25' || changeit.value=='26' || changeit.value=='27' || changeit.value=='28' || changeit.value=='29' || changeit.value=='30' || changeit.value=='31' || changeit.value=='37' || changeit.value=='48' ) { document.getElementById("online").value="0"; } } function nintendoformatchange(changeit) { if( document.getElementById("platformid").value=='1' || document.getElementById("platformid").value=='2' || document.getElementById("platformid").value=='5' || document.getElementById("platformid").value=='4' || document.getElementById("platformid").value=='6' || document.getElementById("platformid").value=='7' || document.getElementById("platformid").value=='8' || document.getElementById("platformid").value=='9' || document.getElementById("platformid").value=='13' || document.getElementById("platformid").value=='22' || document.getElementById("platformid").value=='3' || document.getElementById("platformid").value=='23' || document.getElementById("platformid").value=='24' || document.getElementById("platformid").value=='25' || document.getElementById("platformid").value=='26' || document.getElementById("platformid").value=='27' || document.getElementById("platformid").value=='28' || document.getElementById("platformid").value=='29' || document.getElementById("platformid").value=='30' || document.getElementById("platformid").value=='31' || document.getElementById("platformid").value=='32' || document.getElementById("platformid").value=='33' || document.getElementById("platformid").value=='34' || document.getElementById("platformid").value=='37' || document.getElementById("platformid").value=='38' || document.getElementById("platformid").value=='48' ) { document.getElementById("format").value="0"; } } function nintendovcchange(changeit) { if( document.getElementById("platformid").value=='6' || document.getElementById("platformid").value=='8' || document.getElementById("platformid").value=='10' || document.getElementById("platformid").value=='11' || document.getElementById("platformid").value=='12' || document.getElementById("platformid").value=='14' || document.getElementById("platformid").value=='15' || document.getElementById("platformid").value=='16' || document.getElementById("platformid").value=='17' || document.getElementById("platformid").value=='18' || document.getElementById("platformid").value=='19' || document.getElementById("platformid").value=='20' || document.getElementById("platformid").value=='21' || document.getElementById("platformid").value=='3' || document.getElementById("platformid").value=='30' || document.getElementById("platformid").value=='31' || document.getElementById("platformid").value=='32' || document.getElementById("platformid").value=='33' || document.getElementById("platformid").value=='34' || document.getElementById("platformid").value=='35' || document.getElementById("platformid").value=='36' || document.getElementById("platformid").value=='37' || document.getElementById("platformid").value=='38' || document.getElementById("platformid").value=='39' || document.getElementById("platformid").value=='40' || document.getElementById("platformid").value=='41' || document.getElementById("platformid").value=='42' || document.getElementById("platformid").value=='43' || document.getElementById("platformid").value=='45' || document.getElementById("platformid").value=='46' || document.getElementById("platformid").value=='47' || document.getElementById("platformid").value=='49' || document.getElementById("platformid").value=='50' ) { document.getElementById("vc").value="0"; } } function nintendoonlinechange(changeit) { if( document.getElementById("platformid").value=='1' || document.getElementById("platformid").value=='2' || document.getElementById("platformid").value=='5' || document.getElementById("platformid").value=='4' || document.getElementById("platformid").value=='6' || document.getElementById("platformid").value=='7' || document.getElementById("platformid").value=='8' || document.getElementById("platformid").value=='9' || document.getElementById("platformid").value=='13' || document.getElementById("platformid").value=='22' || document.getElementById("platformid").value=='3' || document.getElementById("platformid").value=='23' || document.getElementById("platformid").value=='24' || document.getElementById("platformid").value=='25' || document.getElementById("platformid").value=='26' || document.getElementById("platformid").value=='27' || document.getElementById("platformid").value=='28' || document.getElementById("platformid").value=='29' || document.getElementById("platformid").value=='30' || document.getElementById("platformid").value=='31' || document.getElementById("platformid").value=='37' || document.getElementById("platformid").value=='48' ) { document.getElementById("online").value="0"; } } function contentchange(changeit) { if(changeit.value=='review' || changeit.value=='game') { document.getElementById("extrafield1").innerHTML='Platform'; document.getElementById("extrafield2").innerHTML=""; document.getElementById("comicbox").innerHTML=""; document.getElementById("comicbox2").innerHTML=""; } else if(changeit.value=='comic') { document.getElementById("extrafield1").innerHTML='Webcomic'; document.getElementById("extrafield2").innerHTML=""; document.getElementById("comicbox").innerHTML="
            

"; } else { document.getElementById("extrafield1").innerHTML=""; document.getElementById("extrafield2").innerHTML=""; document.getElementById("comicbox").innerHTML=""; document.getElementById("comicbox2").innerHTML=""; } }