");
});
$("#camera_wrap_1").html(items.join(''));
initCamera();
}
});
})
function initCamera()
{
var height = '300px';
var scrollFx = 'scrollLeft';
var barDirection = 'leftToRight';
if (utility.IsResponsiveView()) {
height = '138px';
// on responsive view remove the caption because it could hide all image and more
$('#camera_wrap_1 .camera_caption').remove();
}
if (utility.IsRTL()) {
scrollFx = 'scrollRight';
barDirection = 'rightToLeft';
}
$("#camera_wrap_1").camera({
thumbnails: false,
pagination: false,
navigation: true,
navigationHover: false,
hover: true,
loader: 'bar',
barDirection: barDirection,
fx: scrollFx,
height: height,
time: 12000,
portrait: false
});
}