$(document).ready(function() {
	$("a#donate").bind("click", function() {
		$("#donate_form").submit();
		return false;
	});

	$("a#single_1").fancybox();
		
	
	$("a.group").fancybox({
		'hideOnContentClick': false
	});

});



$(function() {
    $(".carousel").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
		visible: 1
   });
    $(".carousel-02").jCarouselLite({
        btnNext: ".next02",
        btnPrev: ".prev02",
		visible: 7
    });
});
	
$(function () {
			
			$('#submitBtn1').formValidator({
				onSuccess	: function() { console.log('Success!'); },
				scope		: '#form-1',
				errorDiv	: '#errorDiv1'
			});
			
	
		});

function MM_openBrWindow(theURL,winName,w,h,scrollbars) 
	{ 
	  LeftPosition=(screen.width)?(screen.width-w)/2:100;
	  TopPosition=(screen.height)?(screen.height-h)/2:100;
	  
	  settings='width='+screen.availWidth+',height='+screen.availHeight+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scrollbars+',location=no,directories=no,status=0,menubar=no,toolbar=no,resizable=yes';
	  URL = theURL;
	  window.open(URL,winName,settings);
	}
