/*
 * COMMON SITE FUNCTIONS FOR MOHR-SEDERL.COM
 * Version: 1.0(25/01/2010)
 * Copyright (c) 2010 Bernhard Stranz
 * Requires: jQuery v1.3+
*/

$(document).ready(function(){
		//var mshost = window.location.hostname;
		//$.get("http://" + mshost + "/_global/ms-news.inc.php", {}, function(data){	$("#news").append(data).find("ul").newsTicker();})
		$("#news").find("ul").newsTicker();
}); //document ready

$(function() {
	$('#rss').tipsy({gravity: 's'});
	$('#twitter').tipsy({gravity: 's'});
	$('#facebook').tipsy({gravity: 's'});
});

/*************
MAILENCRYPTER
*************/
function e(a){var b,c;c='';for(b=0;b<a.length;b++){c=String.fromCharCode(a.charCodeAt(b)^1)+c;}return c;}
function f(a){var b=e(a);document.write(e(';numh`l#<gdsi!`=')+b+e('?#')+b+e('?`.='));}