function searchword() 
{
if(search.query.value){
	return true;
}else{
	return false;
}
}

function popbox()
{
document.search.query.focus();
}

function bookmark(){
var title = 'SaNeeks - Remeber when surfing the net was easy?';
var url = 'http://www.saneeks.com';
   if (document.all)
     window.external.AddFavorite(url, title);
   else if (window.sidebar)
     window.sidebar.addPanel(title, url, "")
   else if (window.sidebar&&window.sidebar.addPanel)
     window.sidebar.addPanel(title,url,"");
}

// If it's Internet Explorer, use automatic link
// Be sure to change the "http://www.saneeks.com\"
// to the URL you want them to bookmark.
function homepage()
{
	if (document.all){
	  document.write('<A HREF="#" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.saneeks.com\');" class="bp">');
	  document.write('Make Homepage</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="javascript:alert(\'To make this site your home page:\n\r\n- Go to Options in the Tools Menu.\n- Click on the Use Current Page button.\');" class="bp">Make Homepage</a>');
	  //alert("Hello\nThis is on the second line");

	  ;
	}
	
	// If it's Netscape 4 or lower, give instructions to set Home Page
	else if (document.layers){
	  alert('<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 {
	  alert('<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.');
	}
}
