<!-- TWO STEPS TO INSTALL UNLOAD MESSAGE AND VOTE!:
1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source! [javascript.internet.com...] -->
<!-- Original: Daniel Ghironte ( office@inetdesign.tk ) -->
<!-- Web Site: -->
<!-- Begin
// write me @ : ofice@inetdesign.tk
function QuitSite(){
var answer=confirm("If you like this site,please vote for us!\n Press OK to vote us or Cancel to leave.")
if (answer) {
window.open("http://javascript.internet.com/");alert("Thank you!");
}
else {
alert("You didn't vote for us at this time...Maybe next time?");
}
}
// End -->
</script>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->
<BODY onLoad="QuitSite()">
<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 1.06 KB -->