	var scnWmain = screen.availWidth;
	var headLmain = (scnWmain - 998 - 18) / 2;
	var headR = headLmain + 722;
	var headR2 = headLmain + 731;
	var headL1 = headLmain + 685;

	function newsBgR() {
  		document.getElementById("newsBg").style.left=headR+"px";
	}
	
	function enquiryBgR() {
  		document.getElementById("enqBg").style.left=headR2+"px";
	}

	function mainImgNavL() {
  		document.getElementById("imgNavLft").style.left=headL1+"px";
	}

	$(document).ready(function(){

		newsBgR();
		enquiryBgR();
		//mainImgNavL();

		$("#carousel_maps").infiniteCarousel({
			transitionSpeed : 1000,
			displayTime : 2000,
			displayThumbnails : 0,
			textholderHeight : .25,
			displayProgressBar : 0
		});

$("#contactLink").click(function(){
	location.href='contact.html';
});
/*
      $("#contactLink").click(function(){
         if ($("#contactForm").is(":hidden")){
            $("#contactForm").slideDown("slow");
         }
         else{
            $("#contactForm").slideUp("slow");
         }
      });

        $('#name').defaultValue('Name');          
        $('#designation').defaultValue('Designation');
        $('#Organisation').defaultValue('Organisation');  
        $('#Email').defaultValue('Email');  
        $('#Mobile').defaultValue('Mobile no.');
        $('#Office').defaultValue('Office no.');     
        $('#Message').defaultValue('																																	Your Message');                         
*/
	});
/*
	function closeForm02(){
	$("#messageSent").show("slow");
      setTimeout('$("#messageSent").hide();$("#contactForm").slideUp("slow")', 2000);
	}
*/