	$(document).ready(function(){
		//							   
		// Hide content to allow rendering with reduced flickering
		//
		$('#navigation div div').css({"display":"none"});
		$('#navigation div div').css({opacity: 0});
		
		//							   
		// Set Active Links
		//		
		var MainLink = "#" + $('#MainLink').text();
		var SubLink = "#" + $('#SubLink').text();
		try {
			$(MainLink).addClass("m_active");
			$(SubLink).addClass("s_active");
		} catch(err) {}
		
		
		//
		// Set special Fonts
		// 
		Cufon.replace('h6')
			('#footerlink', { 
				color:	'#aab1b3',
				hover: {
			   	color: '#fff'
			   }
			})
			('#footerline')
			('#languageswitch > a', { 
				color:	'#fff',
				hover: {
			   	color: '#D10019'
			 	}
			})
			('#languageswitch')
			('.m_active', { 
			 	color:	'#D10019',
			 	hover: {
			   	color: '#D10019'
			   }
			})
			('#startmenu0 > a', { 
			   color:	'#fff',
			 	hover: {
			   	color: '#000'
			   }
			})
			('#startmenu0')
			('#startmenu1 > a', { 
				color:	'#000',
			 	hover: {
			   	color: '#D10019'
			   }
			})
			('#startmenu1')
			('#startmenu2 > p > a', { 
				color:	'#000',
			 	hover: {
			   	color: '#fff'
			   }
			})
			('#startmenu2')
			('#slogantext')
			('#menugeneral > p > a', { 
				color:	'#fff',
			 	hover: {
			   	color: '#D10019'
			   }
			})
			('#menugeneral')
			('#menu1 > a', { 
			 	color:	'#fff',
			 	hover: {
			   	color: '#D10019'
			   }
			})
			('#menu1')
			('#menu2 > p  > a', { 
				color:	'#fff',
			 	hover: {
			   	color: '#D10019'
			   }
			})
			('#menu2');
		
		//
		// Blur all links
		//
		$('a').click(function() {
			try {
				this.blur();	
			} catch(err) {}	
		});
			
		$('a').mousedown(function() {
			try {
				this.blur();	
			} catch(err) {}		
		});
			
		$('a').focus(function() {
			try {
				this.blur();	
			} catch(err) {}		
		});
		
		//
		// equalize Heights....
		//
		equalizeHeights() ;

		//
		// Google analytics
		//
		try {
			var pageTracker = _gat._getTracker("UA-8383312-17");
			pageTracker._trackPageview();
		} catch(err) {}
		
		//
		// Reset visibility after all is rendered
		//
		$('#navigation div div').css({"display":"block"});
		$('#navigation div div').css({opacity: 0}).animate({opacity: 1.0},400);
		
	});
	
// ------------------------------------------------------------------------	
// Some Helper Functions
// ------------------------------------------------------------------------		
function equalizeHeights() {
	

}