	//  ___         _      _ 
	// / __| __ _ _(_)_ __| |_      Script developed by Ubora
	// \__ \/ _| '_| | '_ \  _|
	// |___/\__|_| |_| .__/\__|     Website: http://www.ubora.nl
	//               |_|            E-mail:  contact@ubora.nl

	function ShareLink(SharingService) {
		var w = 965;
		var h = 500;
		var x = (screen.width - w) / 2;
		var y = (screen.height - h - 30) / 2;
		var PopupTitle = 'Even geduld...';
		var PopupText = 'Even geduld, er wordt nu contact gelegd met ' + SharingService + '...';

		SharingWindow = window.open('','SharingWindow','height='+h+',width='+w+',top='+y+',left='+x+',scrollbars=yes, resizable=no, status=no');
		if (window.focus) {SharingWindow.focus()}

		SharingWindow.document.write('<html><head><title>' + PopupTitle + '</title>');
		SharingWindow.document.write('<style>p { font-family: Arial, Helvetica, sans-serif; font-size:24px; color:#333333; }</style>');
		SharingWindow.document.write('</head><body>');
		SharingWindow.document.write('<p>' + PopupText + '</p>');
		SharingWindow.document.write('</body></html>');

		if (SharingService == 'Digg') {
			SharingWindow.location = 'http://digg.com/submit?url=' + escape(document.location.href);
		}
		else if (SharingService == 'Facebook') {
			SharingWindow.location = 'https://www.facebook.com/sharer/sharer.php?u=' + escape(document.location.href);
		}
		else if (SharingService == 'GoogleBuzz') {
			SharingWindow.location = 'http://www.google.com/buzz/post?url=' + escape(document.location.href);
		}
		else if (SharingService == 'LinkedIn') {
			SharingWindow.location = 'http://www.linkedin.com/shareArticle?mini=true&url=' + escape(document.location.href) + '&title=' + escape(document.title);
		}
		else if (SharingService == 'MySpace') {
			SharingWindow.location = 'http://www.myspace.com/Modules/PostTo/Pages/?u=' + escape(document.location.href);
		}
		else if (SharingService == 'StumbleUpon') {
			SharingWindow.location = 'http://www.stumbleupon.com/submit?url=' + escape(document.location.href) + '&title=' + escape(document.title);
		}
		else if (SharingService == 'Symbaloo') {
			SharingWindow.location = 'http://www.symbaloo.com/go/add/url=' + escape(document.location.href) + '&title=' + document.title;
		}
		else if (SharingService == 'Twitter') {
			SharingWindow.location = 'https://twitter.com/intent/tweet?url=' + escape(document.location.href) + '&text=' + document.title + ' -';
		}
		else {
			SharingWindow.location = '';
			SharingWindow.document.write('<html><head><title>Error sharing</title>');
			SharingWindow.document.write('<style>p { font-family: Arial, Helvetica, sans-serif; font-size:24px; color:#333333; }</style>');
			SharingWindow.document.write('</head><body>');
			SharingWindow.document.write('<p>An error occured as the service that was mentioned was not recognized.</p>');
			SharingWindow.document.write('</body></html>');
		}
	}
