function open_window(msg,title,w,h) { win = window.open("", "win", "width="+w+",height="+h+",screenX=3,left=3,screenY=3,top=3"); win.focus(); win.document.open("text/html"); win.document.write(""+title+"
"+ msg+"
"); win.document.close(); } function send_alert(msg,title) { win = window.open("", "win", "width=200,height=105,screenX=350,left=350,screenY=250,top=250"); win.focus(); win.document.open("text/html"); win.document.write(""+title+"
"+ "
"+ ""+ msg+" 
"+ ""+ "
"); win.document.close(); }