	jQuery(document).ready(function() {
									
	function mycarousel_initCallback(carousel){
	 // Pause autoscrolling if the user moves with the cursor over the clip.
	

    $("#mycarousel li").hoverIntent(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });

}
									
    jQuery('#mycarousel').jcarousel({
	scroll: 1,
	auto: 7,
	wrap: 'last',
	easing: 'swing',
	animation: 500,
	initCallback: mycarousel_initCallback
	});
	
});
	
	
	$(document).ready(function(){

$.fn.cycle.defaults.speed   = 1500;
$.fn.cycle.defaults.timeout = 5000;

$(function() {
    // run the code in the markup!
    $('#galleryWrap').each(function() {
        eval($(this).text());
    });
});



				//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
				//Vertical Sliding

				$('.boxgrid.slideup').hover(function(){
					$(".cover", this).stop().animate({top:'-330px'},{queue:false,duration:450});
				}, function() {
					$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:450});
				});
				//Horizontal Sliding
				$('.boxgrid.slideright').hover(function(){
					$(".cover", this).stop().animate({left:'325px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300});
				});
				//Diagnal Sliding
				$('.boxgrid.thecombo').hover(function(){
					$(".cover", this).stop().animate({top:'260px', left:'325px'},{queue:false,duration:300});
				}, function() {
					$(".cover", this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300});
				});
				//Partial Sliding (Only show some of background)
				$('.boxgrid.peek').hover(function(){
					$(".cover", this).stop().animate({top:'90px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160});
				});
				//Full Caption Sliding (Hidden to Visible)
				$('.boxgrid.captionfull').hover(function(){
					$(".cover", this).stop().animate({top:'160px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'260px'},{queue:false,duration:160});
				});
				//Caption Sliding (Partially Hidden to Visible)
				$('.boxgrid.caption').hover(function(){
					$(".cover", this).stop().animate({top:'160px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'220px'},{queue:false,duration:160});
				});


}); 
	
	<!--
function MM_validateForm() { //v4.0
  if (document.getElementById){
    var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
    for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
      if (val) { nm=val.name; if ((val=val.value)!="") {
        if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
          if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
        } else if (test!='R') { num = parseFloat(val);
          if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
          if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
            min=test.substring(8,p); max=test.substring(p+1);
            if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
      } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
    } if (errors) alert('The following error(s) occurred:\n'+errors);
    document.MM_returnValue = (errors == '');
} }
//-->