﻿$(document).ready(function(){

	$('div.basicBookmark').bookmark({

		url: '',  // The URL to bookmark, leave blank for the current page
		title: '',  // The title to bookmark, leave blank for the current one
		sites: ['facebook', 'twitthis', 'misterwong', 'delicious', 'google', 'linkarena','technorati','yigg','digg', 'ask','myspace', 'livejournal', 'linkedin', 'reddit', 'stumbleupon',   'yahoo', 'windows', 'webnews'],  // List of site IDs to use, empty for all
		iconsStyle: 'bookmark_icons', // CSS class for site icons
		icons: '_SOCIAL_BOOKMARKS/bookmarks.png', // Horizontal amalgamation of all site icons
		iconSize: 16,  // The size of the individual icons
		iconCols: 16,  // The number of icons across the combined image
		target: '_blank',  // The name of the target window for the bookmarking links
		compact: true,  // True if a compact presentation should be used, false for full
		hint: 'Diese Seite bookmarken bei {s} ',  // Popup hint for links, {s} is replaced by display name
		popup: false, // True to have it popup on demand, false to show always
		popupText: 'Bookmark this site...', // Text for the popup trigger
		addFavorite: false,  // True to add a 'add to favourites' link, false for none
		favoriteText: 'Favorite',  // Display name for the favourites link
		favoriteIcon: 0,  // Icon for the favourites link
		addEmail: false,  // True to add a 'e-mail a friend' link, false for none
		emailText: 'E-mail',  // Display name for the e-mail link
		emailIcon: 1,  // Icon for the e-mail link
		emailSubject: 'Interesting page',  // The subject for the e-mail
		emailBody: 'I thought you might find this page interesting:\n{t} ({u})', // The body of the e-mail
			// Use '{t}' for the position of the page title, '{u}' for the page URL, and '\n' for new lines
		manualBookmark: 'Please close this dialog and\npress Ctrl-D to bookmark this page.'


	});

	var onMouseOutOpacity = 0.40;
	$('ul.bookmark_list li').css('opacity', onMouseOutOpacity)
		.hover(
			function () {
				$(this).fadeTo('fast', 1.0);
			}, 
			function () {
				$(this).fadeTo('fast', onMouseOutOpacity);
			}
		);

});
