$(document).ready(function() {
						   
var time = 500;
if($('.filmStrip>li').hasClass('.activeSlide'))
{
	$(function () {
        $('.filmStrip>li').each(function () {
										  
			var beingShown = false;
			var shown = false;
			var active = $(this).hasClass('.activeSlide');
			var isActive = $('.filmStrip>li.activeSlide');
			if(active == false)
			{
				var slide = $('img' , this).css('opacity',.5);
				
				slide.hover(function() {	  
					$(this).stop().animate({'opacity':1},time,'swing');
				},function() {
					$(this).stop().animate({'opacity':0.5},time,'swing');
				});
			}else{
				var slide = $('img' , this).css('opacity',1);
			}
			
			//if there is an active slide assign var's and set opacity
			/*if(active)
			{
			}
				slide.hover(function() {	  
					$(this).animate({'opacity':1},time,'swing');
				},function() {
					$(this).animate({'opacity':0.5},time,'swing');
				});*/
        });
    });
}
});
