﻿<!--

/***********************************************
* This script needs to be in the body of the html page which will link to the script in the Head area
* <a href="javascript:bookmarksite('put in your own text', 'http://www.yourwebsite.com')" >Bookmark&nbsp; this&nbsp; site&nbsp; !</a>

* this script need to be in the head area which will link to the script folder/bookmarks.js
* <script type="text/javascript" src="script/bookmark.js"></script> 
/***********************************************

/**********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

/* Modified to support Opera */

function bookmarksite(title,url){

if (window.sidebar) // firefox

window.sidebar.addPanel(title, url, "");

else if(window.opera && window.print){ // opera

var elem = document.createElement('a');

elem.setAttribute('href',url);

elem.setAttribute('title',title);

elem.setAttribute('rel','sidebar');

elem.click();

} 

else if(document.all)// ie

window.external.AddFavorite(url, title);

}

-->


