// JavaScript Document

<!-- Begin
// If it's Internet Explorer, use automatic link
// Be sure to change the "http://www.YourWebSiteHere.com\"
// to the URL you want them to bookmark.

var message = 'Go to Preferences in the Edit Menu.  Choose Navigator from the list on the left.  Click on the "Use Current Page" button.';

function setHomepage( ) {
	if (document.all){
		document.write('<a href="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.globaloilwatch.com\');">');
		document.write('SET AS HOMEPAGE' );
		document.write('</a>');
	} else if (document.getElementById && document.layers){
		// If it's Netscape 6, tell user to drag link onto Home button
		var message = "Drag the link you just clicked to your home button to make this your homepage.";
		document.write('<a href="http://www.globaloilwatch.com" onclick="alert( message ); return false;">SET AS HOMEPAGE</a>');
	} else if (document.layers){
		// If it's Netscape 4 or lower, give instructions to set Home Page
		document.write('<a href="http://www.globaloilwatch.com" onclick="alert( message ); return false;">SET AS HOMEPAGE</a>');
	} else {
		// If it's any other browser, for which I don't know the specifications of home paging, display instructions
		document.write('<a href="http://www.GloablOilWatch.com" onclick="alert( message ); return false;">SET AS HOMEPAGE</a>');
	}
}