에러처리
onerror=handleErr function handleErr(msg,url,l) { var txt=""; txt="There was an error on this page.\n\n" txt+="Error: " + msg + "\n" txt+="URL: " + url + "\n" txt+="Line: " + l + "\n\n" omsg = $("errmsg"); if(typeof(omsg) == "object") { omsg = document.createElement("div"); document.body.insertBefore(omsg,document.body.childNodes[0]); omsg.id = "errmsg"; try{ omsg.setStyle({"padding":"5px","back..