function ch1( x ) {
	var yy = 2;
	var z = 0;
	var xx = "";

	for( var y = 0; y < x.length; y++ ){
		z = x.charCodeAt( y );
		xx += String.fromCharCode( z-yy );
	}
	return xx;
}

function getmail( x ){
	location.href = ch1( x );
}


$(document).ready(function(){
	
	$("#jswarning").remove();
	$(".noscript").css({'display':'none'});
	
	if( $.browser.msie ) {
		bw = ( $(window).width() - $("#all_centered").width() ) / 2;
		$("#all_centered").css( "left", bw + "px" );
	};
	$('#main_menu a img').hover(
		function() {
			if( !$(this).parent().hasClass( 'active' ) ) {
				this.src = this.src.replace( /\.gif$/, '_.gif' );
			}
		},
		function() {
			if( !$(this).parent().hasClass( 'active' ) ) {
				this.src = this.src.replace( /_\.gif$/, '.gif' );
			}
		}
	);
});

