function set_homepage(){
	// 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.
	if (document.all){
		document.write('<A HREF="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.YourWebSiteHere.com\');">');
		document.write('<font size="5" color=6699FF face=arial><B>Click Here to Make My Web Page Your Homepage</B></font></a>');
	}
	
	// If it's Netscape 6, tell user to drag link onto Home button
	// Be sure to change the "http://www.YourWebSiteHere.com\"
	// to the URL you want them to bookmark.
	else if (document.getElementById){
		document.write('<a href="http://www.wsarea.com">Drag this link onto your Home button to make this your Home Page.</a>');
	}
	
	// If it's Netscape 4 or lower, give instructions to set Home Page
	else if (document.layers){
		document.write('<b>Make this site your home page:</b><br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.');
	}
	
	// If it's any other browser, for which I don't know the specifications of home paging, display instructions
	else {
		document.write('<b>Make this site your home page:</b><br>- Go to <b>Preferences</b> in the <B>Edit</B> Menu.<br>- Choose <b>Navigator</b> from the list on the left.<br>- Click on the <b>"Use Current Page"</b> button.');
	}
}



function set_bookmark1(){
	var txt = "bookmark this site";
	var url = "http://www.mydomain.com";
	var who = "My Domain";
	
	var ver = navigator.appName;
	var num = parseInt(navigator.appVersion);
	
	if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) {
		document.write('<A HREF="javascript:window.external.AddFavorite(url,who);" ');
		document.write('onMouseOver=" window.status=');
		document.write("txt; return true ");
		document.write('"onMouseOut=" window.status=');
		document.write("' '; return true ");
		document.write('">'+ txt + '</a>');
	}else{
		txt += " (Ctrl+D)";
		document.write(txt);
	}
}


function set_bookmark2(){
	if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
		var url="http://www.computerhope.com";
		var title="Computer Hope";
		
		document.write('<A HREF="javascript:window.ext');
		document.write('ernal.AddFavorite(url,title);" ');
		document.write('onMouseOver=" window.status=');
		document.write("'Add our site to your favorites!'; return true ");
		document.write('"onMouseOut=" window.status=');
		document.write("' '; return true ");
		document.write('">Add our site to your favorites!</a>');
	}
	else {
		var msg = "Don't forget to bookmark us!";
		if(navigator.appName == "Netscape") msg += " (CTRL-D)";
		document.write(msg);
	}
}	
