// JavaScript Document

function initSwitcher()
{
	$('li.headLink').hover(
			function() { $('ul', this).css('display', 'block'); },
			function() { $('ul', this).css('display', 'none'); });
		
	$('a.langOpt').click(
		function(event){
			$langVal = $(this).attr('id');
			$newCookie = $.setCookie('langLanguage', $langVal, {duration: 30, path: '/' } );
			
			event.preventDefault();
			
			window.location = $(this).attr('href');
		});
	
	
}