	$("#moreOf a").click(function(){
		$("#latestOffersScroller").scrollTo('+=417px',300,{axis: 'x'});
		return false;
	});
	
	$("#prevOf a").click(function(){
		$("#latestOffersScroller").scrollTo('-=417px',300,{axis: 'x'});
		return false;
	});
	
	$("#moreOf2 a").click(function(){
		$("#OfferstwoScroller").scrollTo('+=417px',300,{axis: 'x'});
		return false;
	});
	
	$("#prevOf2 a").click(function(){
		$("#OfferstwoScroller").scrollTo('-=417px',300,{axis: 'x'});
		return false;
	});
	
  function in_array(needle,haystack) {
    
    var key = '';
    for (key in haystack) {
      if (haystack[key] == needle) {               
        return true;
      }
    }
  };
  function randompizza (){
    var length = jQuery("#menuli li").length;
    if (length > 0) {
      var count = 0;
      var complete = false;
      var used = new Array();
      while (complete == false) {
        var random = Math.floor(Math.random()*length) + 1;
        jQuery("#menuli li:nth-child(" + random + ")").show();      
        if (!in_array(random, used)) {
          count++;
        }
        used.push(random);
        if (count == 3) {
          complete = true;
          break;
        }
      }
    }
  };
  
  jQuery(document).ready(function(){  
    randompizza();
  });
	
	
	 function CheckMultiple56(frm, name) {
        for (var i=0; i < frm.length; i++)
        {
          fldObj = frm.elements[i];
          fldId = fldObj.id;
          if (fldId) {
            var fieldnamecheck=fldObj.id.indexOf(name);
            if (fieldnamecheck != -1) {
              if (fldObj.checked) {
                return true;
              }
            }
          }
        }
        return false;
      }
      function CheckForm56(f) {
        if (f.email.value == "") {
          alert("Please enter your email address.");
          f.email.focus();
          return false;
        }
        
        fld = f.mobile;
		
        CheckNum = parseInt(fld.value);
        if(fld.value != "" && isNaN(CheckNum)) {
          alert("Please enter a numeric value for field Mobile");
          fld.select();
          fld.focus();
          return false;
        }
        
        return true;
      };
      

