var arrOffs=new Array(); arrOffs[0]="g4_bw.jpg"; arrOffs[1]="mario_bw.jpg"; arrOffs[2]="chief_bw.jpg"; arrOffs[3]="sonic_bw.jpg"; arrOffs[4]="blondie_bw.jpg"; arrOffs[5]="beardy_bw.jpg"; function NealAllOff() { mainz = document.getElementById("avatars"); arrLnk = mainz.getElementsByTagName("a"); for(iii = 0; iii < arrLnk.length; iii++) { arrLnk[iii].className = "avatar_off"; arrLnk[iii].getElementsByTagName("img")[0].src = "http://cache.g4tv.com/images/2008/open_source/avatars/" + arrOffs[iii]; } } function wireUp() { var txtBox = $$('.txtQuestion'); //reset for firefox if(txtBox[0].value != 'Type your question here') { txtBox[0].style.color = "black"; txtBox[0].style.fontWeight = "normal"; txtBox[0].style.fontSize = "12px"; } txtBox[0].onfocus = function() { if(this.value == 'Type your question here') { this.value = ''; } this.style.color = "black"; this.style.fontWeight = "normal"; this.style.fontSize = "12px"; } } addLoadEvent(wireUp);