function getheight() {
	var myHeight = 0;
	if( typeof( window.innerHeight ) == 'number' ) {
		myHeight = window.innerHeight;
	} else if( document.documentElement && document.documentElement.clientHeight ) {
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && document.body.clientHeight ) {
		myHeight = document.body.clientHeight;
	}
	myHeight = (myHeight - 650) / 2;
	if (myHeight < 20) { myHeight = 20 }
	return myHeight;
}

document.write('<style type="text/css">');
document.write('#header {padding: '+ getheight() +'px 0 20px 0;}');
document.write('#menu li {margin: 0 90px '+ (getheight() + 10) +'px 0;}');
document.write('</style>');

jQuery(document).ready(function() {
	if(BrowserDetect.browser!="Explorer"){
		jQuery("a").hover(function() {
			jQuery(this).animate( {
				opacity : 0.5
			}, 200);
			jQuery(this).animate( {
				opacity : 1
			}, 100)
		}, function() {
			jQuery(this).animate( {
				opacity : 1
			}, 100)
		})
	}
	jQuery("body *").tooltip({
		track: true, 
		delay: 0, 
		showURL: false, 
		fade: 250 
	});
});
