	$().ready(function() {
				
			   $("link[rel=stylesheet]").attr({href : "css/stylePL.css"});
			   var mainPage = 'contentPL/mainPage.html #contain';
			   var comNau = 'contentPL/comNau.html #contain';
			   var program = 'contentPL/temProg.html #contain';
			   var terminy = 'contentPL/terminy.html #contain';
			   var miejsce = 'contentPL/miejsce.html #contain';
			   var rejestracja = 'contentPL/form.html #contain';
			   var comOrg = 'contentPL/comOrg.html #contain';
			   var contact = 'contentPL/contact.html #contain';
			   var browser = navigator.appName;
			   if(browser!="Microsoft Internet Explorer"){
			   	$('.menu li a ').attr({href : "#"});
	
				$('#content').empty();
				$('<div id="info" />').load(mainPage, function() {
					$(this).hide()
						.appendTo('#content')
						.fadeIn('slow');
						return false;
					});
				$('#main').fadeIn('slow');
			   $('.menu li#signUp a').click(function() {
						$('#form').fadeIn('slow');										
						return false;
				});
			   $(".menu li#homePage a").click(function (ev) {
					ev.preventDefault();									
					$('#content').empty();
					$('<div id="info" />').load(mainPage, function() {
						$(this).hide()
								.appendTo('#content')
								.fadeIn('slow');
						});
					return false;
				});
			   $(".menu li#comNau a").click(function () {
					$('#content').empty();
					$('<div id="info" />').load(comNau, function() {
						$(this).hide()
								.appendTo('#content')
								.fadeIn('slow');
						});
					return false;
				});
			   $(".menu li#program a").click(function () {
					$('#content').empty();
					$('<div id="info" />').load(program, function() {
						$(this).hide()
								.appendTo('#content')
								.fadeIn('slow');
						});
					return false;
				});				   
			   $(".menu li#terminy a").click(function () {
					$('#content').empty();
					$('<div id="info" />').load(terminy, function() {
						$(this).hide()
								.appendTo('#content')
								.fadeIn('slow');
						});
					return false;
				});	
			   $(".menu li#miejsce a").click(function () {
					$('#content').empty();
					$('<div id="info" />').load(miejsce, function() {
						$(this).hide()
								.appendTo('#content')
								.fadeIn('slow');
						});
					return false;
				});	
			   $(".menu li#rejestracja a").click(function () {
					$('#content').empty();
					$('<div id="info" />').load(rejestracja, function() {
						$(this).hide()
								.appendTo('#content')
								.fadeIn('slow');
						});
					return false;
				});	
			   $(".menu li#comOrg a").click(function () {
					$('#content').empty();
					$('<div id="info" />').load(comOrg, function() {
						$(this).hide()
								.appendTo('#content')
								.fadeIn('slow');
						});
					return false;
				});	
			   $(".menu li#sekretariat a").click(function () {
					$('#content').empty();
					$('<div id="info" />').load(contact, function() {
						$(this).hide()
								.appendTo('#content')
								.fadeIn('slow');
						});
					return false;
				});	
			   	$(".langMenu li#langUK a ").click(function () {
							$('body > #main').fadeOut('slow', function() {
								$("link[rel=stylesheet]").attr({href : "css/styleUK.css"});
								mainPage = 'contentUK/mainPageUK.html #contain';
								rejestracja = 'contentUK/formUK.html #contain';
								program = 'contentUK/temProgUK.html #contain';
								terminy = 'contentUK/terminyUK.html #contain';
								comNau = 'contentUK/comNauUK.html #contain';
								miejsce = 'contentUK/miejsceUK.html #contain';
								comOrg = 'contentUK/comOrgUK.html #contain';
								contact = 'contentUK/contactUK.html #contain';
								
								$('#content').empty();
								$('<div id="info" />').load(mainPage, function() {
								$(this).hide()
									.appendTo('#content')
									.fadeIn('fast');
								});
									
							});
							$('#main').fadeIn('slow');
							return false;
							
						
				});	
			   	$(".langMenu li#langPL a ").click(function () {
						$('#main').fadeOut('slow', function() {
							$("link[rel=stylesheet]").attr({href : "css/stylePL.css"});
							mainPage = 'contentPL/mainPage.html #contain';
							rejestracja = 'contentPL/form.html #contain';
					 		program = 'contentPL/temProg.html #contain';
					   		terminy = 'contentPL/terminy.html #contain';
					   		miejsce = 'contentPL/miejsce.html #contain';
					   		comOrg = 'contentPL/comOrg.html #contain';
					   		contact = 'contentPL/contact.html #contain';
							comNau = 'contentPL/comNau.html #contain';
							
							$('#content').empty();
							$('<div id="info" />').load(mainPage, function() {
							$(this).hide()
								.appendTo('#content')
								.fadeIn('fast');
							});	
						});
						$('#main').fadeIn('slow');
						return false;
				});		
			   }
				return false;
	});
	
