/*
Skin Specific JS goes here. The jQuery library has already been loaded by the core templates.
THerfore, if you use jQuery, you are ready to go. We recommend that you write all skin jQuery to be 
noConflict friendly to avoid issues with TYPO3 extensions that use other libraries. This means
using syntax like this:

jQuery('.myClass').hide();

NOT

$('.myClass').hide();

The TemplaViola Framework sets jQuery().noConflict() by default so you will need to unset it
in TypoScript if you want it otherwise.

*/



/***********************************************
* 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);
}
