// JavaScript Document
function mailpage()
{
mail_str = "mailto:?subject=Check out the " + document.title;
mail_str += "&body=I thought you might be interested in the " + document.title;
mail_str += ". You can view it at, " + location.href;
location.href = mail_str;
}


function bookmarker()
{
 //Gets the browser name and version
	var ver = navigator.appName;
	var num = parseInt(navigator.appVersion);	
	// Only executes the code if the browser is IE 4 or later
	if ((ver == 'Microsoft Internet Explorer') && (num >= 4))
	{
		//create variables for the div, the url of the page and the title of the page
		var bookmark = document.getElementById('bookmark');	
		var url = document.location.href;
	  var str = document.title;	   	
		 
		if(str=='')str=url;
		if (document.all)window.external.AddFavorite(url,str);	
		
	}
}


