// initialize slideshow (Cycle)
		function mycarousel_initCallback(carousel) {		
			jQuery('#FeaturedNext').bind('click', function() { carousel.next(); return false; });
			jQuery('#FeaturedPrev').bind('click', function() { carousel.prev(); return false; });
		};
		// Load product carousel...
		$(document).ready(function(){	

			jQuery("#FeaturedContent").jcarousel({
				scroll: 3,
				visible: 5,
				initCallback: mycarousel_initCallback,
				buttonNextHTML: null,
				buttonPrevHTML: null
			});
		});
		
// 		initialize slideshow (Cycle)	
$(document).ready(function(){	
				if ($('#Slides').length > 0) {
					$('#Slides').cycle({ 
						fx: 'fade',
						speed: 750,
						timeout: 4000, 
						randomizeEffects: false, 
						easing: 'easeOutCubic',
						next:   '.slideNext', 
						prev:   '.slidePrev',
						pager:  '#SlidePager',
						before: function() {
							// reset the overlay for the next slide
							jQuery('#SlideShow').css('cursor','default').unbind('click'); },
						after: function() {
							// get the link and apply it to the overlay
							var theLink = jQuery(this);
							var linkURL = (theLink) ? theLink.attr('href') : false;
							if (linkURL) {
								jQuery('#SlideShow').css('cursor','pointer').click( function() {
									document.location.href = linkURL;
								});
							}
						}
					});
				}
			});
		

// $(document).ready(function(){
// 	$("#user-login input:text").overlabel({
// 		value: "Username"
// 	});
// });	
// 
// $(document).ready(function(){
// 	$("#user-login input:password").overlabel({
// 		value: "Password"
// 	});
// });	

//this is for the envato lightbox// 
// jQuery(document).ready(function(){
//     jQuery('.lightbox').lightbox();
//   });


