
	function getHome()	{
			
			$('#galleryMenu').fadeOut();
			$('#content').hide();
			//$('#content').slideDown(0).fadeTo("slow",100).html("<img src='images/ajax-loader.gif' />");
			var result='ajax.getHome.php';
			$('#content').load(result);
			$('#content').fadeIn('slow');
			$('#gallerySlides').show();
		}
		
		function getNews()	{
			$('#gallerySlides').hide();
			$('#galleryMenu').fadeOut();
			$('#content').hide();
			// $('#content').slideDown(0).fadeTo("slow",100).html("<img src='images/ajax-loader.gif' />");
			var result='ajax.getNews.php';
			$('#content').load(result);
			$('#content').fadeIn('slow');
		}
		
		function getGallery(c)	{
		
		$('#gallerySlides').hide();
			
			if (c) {
				url='?galleryId='+c;
				
			} else {
				url='';
			
			}
			
			$('#galleryMenu').fadeIn();
			$('#content').hide();
			//$('#content').slideDown(0).fadeTo("slow",100).html("<img src='images/ajax-loader.gif' />");
			var result='ajax.getGallery.php'+url;
			$('#content').load(result);
			$('#content').fadeIn('slow');
			$('#gallery').galleria();
		}
		function getContact()	{
			$('#gallerySlides').hide();
			$('#galleryMenu').fadeOut();
			$('#content').hide();
			//$('#content').slideDown(0).fadeTo("slow",100).html("<img src='images/ajax-loader.gif' />");
			var result='ajax.getContact.php';
			$('#content').load(result);
			$('#contactUs').hide();
			$('#content').fadeIn('slow');
		}
		function getShop()	{
			$('#gallerySlides').hide();
			$('#galleryMenu').fadeOut();
			$('#content').hide();
			
			//$('#content').slideDown(0).fadeTo("slow",100).html("<img src='images/ajax-loader.gif' />");
			var result='ajax.getShop.php';
			$('#content').load(result);
			$('#content').fadeIn('slow');
			
		}
		function getTerms()	{
			$('#gallerySlides').hide();
			$('#galleryMenu').fadeOut();
			$('#content').hide();
			//$('#content').slideDown(0).fadeTo("slow",100).html("<img src='images/ajax-loader.gif' />");
			var result='ajax.getTerms.php';
			$('#content').load(result);
			$('#content').fadeIn('slow');
		}
		
		function getLinks()	{
			$('#gallerySlides').hide();
			$('#galleryMenu').fadeOut();
			$('#content').hide();
			//$('#content').slideDown(0).fadeTo("slow",100).html("<img src='images/ajax-loader.gif' />");
			var result='ajax.getLinks.php';
			$('#content').load(result);
			$('#content').fadeIn('slow');
		}
		
		
	
		function checkForm() {
			
			var errs='';
			var go=false;
			
			if (document.forms.contactForm.fName.value=='') { document.getElementById("warn1").innerHTML="Required"; go = false; } else {document.getElementById("warn1").innerHTML=""; go = true; }
			if (document.forms.contactForm.email.value=='') { document.getElementById("warn5").innerHTML="Required"; go = false; } else {document.getElementById("warn5").innerHTML=""; go = true; }
			if (document.forms.contactForm.query.value=='') { document.getElementById("warn6").innerHTML="Required"; go = false; } else {document.getElementById("warn6").innerHTML=""; go = true; }

			if (go) { return true; 		} else {  		return false; 			}
			
			}
		
		function checkContact() {
				if (checkForm()) {
					document.contactForm.submit();
					}
			}




function showNewsButtonsFadeIn(c) 	{		$('#newsButtons_'+c).show(); 		}
function showNewsButtonsFadeOut(c) 	{ 		$('#newsButtons_'+c).hide();		}

function showFrontNews(c) 			{ 		$('#frontNewsItem_'+c).show();	}
function hideFrontNews(c) 			{		$('#frontNewsItem_'+c).hide();	}



// --------------------- Gallery Menu ---------------------

