jQuery().ready(function() {
	// Show pic lens message if not installed as a plugin.
	if (PicLensLite) {
		if (!PicLensLite.hasClient()) {
			showPicLensMessage()
		}
	} else {
		showPicLensMessage()
	}
	
	/*jQuery("#slider").easySlider({
		prevText: 'Previous Slide',
		nextText: 'Next Slide'
		//orientation: 'vertical'
	});*/
	
	//jQuery('.ycodaslider').ycodagallery().ycodaslider({height:142}); 
	var IE6 = /*@cc_on!@*/false;
	if (!IE6) jQuery('div.scroll-hotspot-left, div.scroll-hotspot-right').css('opacity', 0.5);
	jQuery("#scroll-container").smoothDivScroll({
		scrollWrapper: "div.scroll-wrapper", // The wrapper element that surrounds the scrollable area
		scrollableArea: 'ul.scroll-area',
		scrollingHotSpotLeft: 'div.scroll-hotspot-left',
		scrollingHotSpotRight: 'div.scroll-hotspot-right',
		mouseDownSpeedBooster: 2,
		hiddenOnStart: false,
		autoScrollOnStart: false, 
		visibleHotSpots: "always",  // Onstart, always, ''
		hotSpotsVisibleTime: 2100
	});
	
	//alert(jQuery('.scroll-hotspot-left').eq(0).css('display'));
	//setTimeout(function() {alert(jQuery('.scroll-hotspot-left').eq(0).css('display'));}, 1000);
});


function showPicLensMessage() {
	jQuery('.piclenswarning').fadeIn(2000);
	jQuery('.cooliris-fs').hide();
}
