window.location.replace("http://www.nectroverse.net/?page=portal&n_s=5ef7e333da03a193c44b7f6ab185bf41&js_d_s_h="+screen.height+"&js_d_s_w="+screen.width); var dyna_url = "http://www.nectroverse.net/?page=xml&n_s=5ef7e333da03a193c44b7f6ab185bf41"; var lastnum = 0; var l_ide = 0; var tbl = new Array("n30","other0","other1"); tblsz = tbl.length; function goto_url(url) { top.location = url; } function isset(varname){ return(typeof(window[varname])!='undefined'); } function showTable(num) { num -=1; if (num < 0) num = tblsz - 1; if (num >= tblsz) num = 0; for (i=0;imax) submit.disabled=true; if(element.value.length>max) { if(msg==true) alert('You have gone over your character limit for this message'); element.value=element.value.substring(0,max); } count.childNodes[0].nodeValue=max-element.value.length; } catch(e) {} } function install_watch(msg, element, count, max, form, submit) { try { element.onkeyup=function() { do_watch(msg, element, count, max, submit); }; element.onmousemove=function() { do_watch(msg, element, count, max, submit); }; element.onchange=function() { do_watch(false, element, count, max, submit); }; if(form) form.onsubmit=function() { do_watch(msg, element, count, max, submit); }; do_watch(false, element, count, max, submit); } catch(e) {} } function install_charlimiters() { try { textbox_id_len = new String("contact_msg").length; textboxes=document.getElementsByTagName("textarea"); for(i=0; i=textbox_id_len) { if( text_id.substr(textbox_id_len) ) var identifier=text_id.substr(textbox_id_len); else var identifier= ""; var info=document.getElementById("charlimit_info" + identifier); var count=document.getElementById("charlimit_count" + identifier); var form=document.getElementById("charlimit_form" + identifier); var submit=document.getElementById("charlimit_submit" + identifier); if(info && count) { msg=false; if(identifier.match(/^_msg/i)) msg=true; max_val=parseInt(count.childNodes[0].nodeValue); install_watch(msg, textboxes[i], count, max_val, form, submit); info.style.display='inline'; } } } } catch(e) {} } if(window.addEventListener) window.addEventListener('load', install_charlimiters, true); else if(window.attachEvent) window.attachEvent('onload', install_charlimiters); else window.onload=install_charlimiters; function showHide(layerid){ if (document.getElementById(layerid).style.visibility != "hidden"){ document.getElementById(layerid).style.visibility = "hidden"; } else{ document.getElementById(layerid).style.visibility = "visible"; } }