Email Contacts List

Create a simple e-mail list that can sit on your desktop as an HTML file.
On opening the file all your entered email addresses are shown in a neat list.
Selecting a contact opens Outlook Express with the contacts e-mail address entered.
Configuring the script is easy as the only information you have to enter is the contacts name and e-mail address.

The names and e-mail addresses are stored in an array

["John Doe","john@here.com"],
["Jane","jane@thejungle.com"],
["Tarzan","taz@thebigtree.com"],

To add a new contact simply copy one of the array entry lines and amend the existing name and e-mail address

["John Doe","john@here.com"],
["Jane","jane@thejungle.com"],
["Tarzan","taz@thebigtree.com"],
["New Contact","New Contact Address"],

<style>
table{border:5px ridge #bdc2c6;font-size:12px}
a:hover{color:green;font-weight:bold}
a{color:black;text-decoration:none}
</style>

<script type="text/javascript">
<!--
contacts=[

["John Doe","john@here.com"],
["Jane","jane@thejungle.com"],
["Tarzan","taz@thebigtree.com"],
["New Contact 4","New Contact Address"],
["New Contact 5","New Contact Address"],
["New Contact 6","New Contact Address"],
["New Contact 7","New Contact Address"],
["New Contact 8","New Contact Address"],
["New Contact 9","New Contact Address"],
["New Contact 10","New Contact Address"] // no comma at end of last index

]
document.write("<center><BR><BR><BR><table border=\"1\" width=\"400\" rules=\"rows\" cellpadding=\"5px\"><tr bordercolor=\"ced4d8\" align=\"center\"><td width=\"150\">Name</td><td>Address</td></tr>")
for(i=0;i<contacts.length;i++){
saved_name=contacts[i][0]
saved_address=contacts[i][1]
if(saved_address.indexOf("@")!= -1){
document.write("<tr bordercolor=\"ced4d8\"><td><a href=\"mailto:"+saved_address+"\">"+saved_name+"</a></td><td>"
+saved_address+"</td></tr>")
}
}
document.write("</table></center>")

// -->
</script>