<HTML>
<HEAD>
<TITLE>Handling onMouseOut for links</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
function advertiseLink() {
alert("www.java2s.com")
if(confirm("www.java2s.com?")) {
window.location="http://www.java2s.com"
}
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<H1>Handling onMouseOut for links</H1>
<P><A HREF="somewhere" ONMOUSEOUT="advertiseLink()">Tells you why you
should connect to this link.</A></P>
</BODY>
</HTML>