function gettextcontent() { textcontent="" textcontent+="" textcontent+=""+message[i_message]+"" } window.onresize=init;