﻿<!--This is one of many scripts which are available at: *---
//--http://www.JavaScript.nu?javascript *---
//--This script is FREE, but you MUST let these lines *---
//--remain if you use this script. *---

function bookmark(url, description)
{
//***---This text will be shown to the visitor if it has Netscape.
netscape="First click OK and then hit CTRL+D to add a bookmark to this site."

if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite(url, description);
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}

if (typeof (Telerik) != "undefined") {
    //Allows the tool tip to be used inside of the rotator item template, but "pop up"
        //outside of the rotator
        if (Telerik.Web.UI.RadToolTip != null) {
        
            Telerik.Web.UI.RadToolTip.prototype._addToolTipToDocument = function(elem) {
                //Append tooltip to end of document                                   
                var form = document.forms[0];
                form.appendChild(this._popupElement);
            };
        }
    }

function ClientNodeClicked(sender, eventArgs) 
            {  var node = eventArgs.get_node();
               node.toggle();     
            } 


$(document).ready(function(){
$("a.jQueryBookmark").click(function(e){
	e.preventDefault(); // this will prevent the anchor tag from going the user off to the link
	var bookmarkUrl = this.href;
	var bookmarkTitle = this.title;
 
	if (window.sidebar) { // For Mozilla Firefox Bookmark
		window.sidebar.addPanel(bookmarkTitle, bookmarkUrl,"");
	} else if( window.external || document.all) { // For IE Favorite
		window.external.AddFavorite( bookmarkUrl, bookmarkTitle);
	} else if(window.opera) { // For Opera Browsers
		$("a.jQueryBookmark").attr("href",bookmarkUrl);
		$("a.jQueryBookmark").attr("title",bookmarkTitle);
		$("a.jQueryBookmark").attr("rel","sidebar");
	} else { // for other browsers which does not support
		 alert('Your browser does not support this bookmark action');
		 return false;
	}
});
});


