/*
	/// This bookmark script will create a link that
	/// will add the current page to a visitors favorites
	/// bookmark menu in both Firefox and IE.
*/

function addBookmark(title,url) {
	/* if title is not passed then default to page title */
	if (url == null) {
		url = window.location.href;
	}
	/* if title is not passed then default to page title */
	if (title == null) {
		title = document.title;
	}
	/* Test If: Mozilla, Netscape, or FireFox */
	if (window.sidebar) {
	/* sidebar.addPanel is Mozilla specific */
		window.sidebar.addPanel(title,url,"");
	/* Test If: Internet Explorer */
	} else if (document.all) {
	/* AddFavorite is IE specific */
		window.external.AddFavorite(url,title);
	/* Test If: Opera */
	} else if (window.opera && window.print) {
		return true;
	}
}