function HideTextboxInterships(textbox){ if(textbox.value == 'Search by industry/field, employer, or position'){ textbox.value = ''; textbox.style.color='black'; } if(textbox.value == 'Search by location'){ textbox.value = ''; textbox.style.color='black'; } if(textbox.value == 'Username'){ textbox.value = ''; } } function submitenter(myfield,e,buttonID) { var keycode; if (window.event) keycode = window.event.keyCode; else if (e) keycode = e.which; else return true; if (keycode == 13) { var button; button = document.getElementById(buttonID); button.click(); return false; } else return true; } function textboxMultilineMaxNumber(txt,maxLen,text){ try{ if(txt.value.length > (maxLen-1)) { alert(text+maxLen); txt.value = txt.value.substring(0, maxLen); } }catch(e){ } } function writeE(email2, email1){ var string2 = "@"; emailE=(email2+string2+email1) document.write('' + emailE + '') }