function IncludeJavaScript(jsFile)
{
  document.write('<script type="text/javascript" src="'
    + jsFile + '"></scr' + 'ipt>');
}

IncludeJavaScript('js/jcarousellite_1.0.1.pack.js');
IncludeJavaScript('js/captify.tiny.js');
IncludeJavaScript('js/pauseOnHover.min.js');

$(function() {
	$(".slider").jCarouselLite({
		btnNext: ".next",
		btnPrev: ".prev",
		auto: false,
		speed: 2500,
		scroll:4,
		visible: 4,
		pauseOnHover: true
	});
});
$(document).ready(function(){
	$('img.captify').captify({
		// all of these options are... optional
		// ---
		// speed of the mouseover effect
		speedOver: 'fast',
		// speed of the mouseout effect
		speedOut: 'normal',
		// how long to delay the hiding of the caption after mouseout (ms)
		hideDelay: 500,
		// 'fade', 'slide', 'always-on'
		animation: 'slide',
		// text/html to be placed at the beginning of every caption
		prefix: '',
		// opacity of the caption on mouse over
		opacity: '0.8',
		// the name of the CSS class to apply to the caption box
		className: 'caption-bottom',
		// position of the caption (top or bottom)
		position: 'bottom',
		// caption span % of the image
		spanWidth: '100%'
	});
});
