if(avator == '') document.write('<img src=/defaultavatar.gif border=0>'); else document.write(avator);