<!--drop down-->
function mainmenu(){
$(" .lavaLamp ul ").css({display: "none"}); // Opera Fix
$(" .lavaLamp li").hover(function(){
		$(this).find('ul:first').css({visibility: "visible",display: "none"}).slideDown(400);
		},function(){
		$(this).find('ul:first').css({visibility: "hidden"});
		});
}

 
 
 $(document).ready(function(){					
	mainmenu();

	<!--pretty photo-->					   
	$("a[rel^='prettyPhoto']").prettyPhoto({theme:'dark_rounded'});


<!--lightbox hover-->	
$(".lightBox img").hover(function(){
		$(this).stop().animate({opacity:0.3},200);
		},function(){
		$(this).stop().animate({opacity:1},200);
		});




	
	<!--news ticker-->
$(function() {
    $('.tickerLink').cycle({
		fx: 'fade',
		cleartype: 1,
		cleartypeNoBg:  1,
		timeout:       4000,
		before: function() { if (window.console) console.log(this.src); }
	});
});
	
	
	
	<!--lava lamp-->
$(function() { $(".lavaLamp").lavaLamp({fx:'swing',speed:400})});




<!--slider-->

var ie = jQuery.browser.msie;


$(function() {
	if (ie) { 
		    $('#sliderBgWrap').cycle({
        fx:     'fade',
		speed:  'fast',
    	timeout:  8000,
		next:   '#nextSlide', 
    	prev:   '#previousSlide',
        pager:   '#sliderPager',
        pagerAnchorBuilder: function(i) {
	        return '<a href="#">'+(i+1)+'</a>';
	    }
    });

		    $('#slidesWrap').cycle({
        fx:     'none',
		cleartype: 1,
		cleartypeNoBg:  1,
		speed:  'fast',
    	timeout:  8000,
		next:   '#nextSlide', 
    	prev:   '#previousSlide',
        pager:   '#sliderPager',
        pagerAnchorBuilder: function(i) {
	        return $('#sliderPager a:eq('+i+')');
	    }
    });
	}
	else {
		    $('#sliderBgWrap').cycle({
        fx:     'fade',
		speed:  'fast',
    	timeout:  8000,
		sync:          1,
		next:   '#nextSlide', 
    	prev:   '#previousSlide',
        pager:   '#sliderPager',
        pagerAnchorBuilder: function(i) {
	        return '<a href="#">'+(i+1)+'</a>';
	    }
    });

		    $('#slidesWrap').cycle({
        fx:     'fade',
		speed:  'fast',
    	timeout:  8000,
		sync:          1,
		next:   '#nextSlide', 
    	prev:   '#previousSlide',
        pager:   '#sliderPager',
        pagerAnchorBuilder: function(i) {
	        return $('#sliderPager a:eq('+i+')');
	    }
    });
		
			
	}

	
});

	<!--Page slider-->

$(function() {

	    $('.pageSlider').after('<div class="pageSliderNav">').cycle({
		fx:      'fade',
		cleartype: 1,
		cleartypeNoBg:  1,
        speed:  500,
        timeout:  3000,
        pager:  '.pageSliderNav',       
        before: function() { if (window.console) console.log(this.src); }
    });

        $('.pageSliderNoNav').cycle({
		fx:      'fade',
		cleartype: 1,
		cleartypeNoBg:  1,
        speed:  500,
        timeout:  3000,
        before: function() { if (window.console) console.log(this.src); }
    });
	
});
	
});


	
	



<!--Cufon-->
Cufon.replace('h1')('h2')('h3')('h4')('h5')('h6');

			Cufon('#header h1', {
				color: '-linear-gradient( #eff4f6, #d1d2d2 )'
				
			});
			Cufon('#footer h4', {
				color: '-linear-gradient( #eff4f6, #d1d2d2 )'
				
			});
			Cufon('#right h3', {
				color: '-linear-gradient( #eff4f6, #d1d2d2 )'
				
			});
			Cufon('.slideCopy h1', {
				textShadow: '1px 1px #666'
			});
			Cufon('.promo h3', {
				color: '-linear-gradient( #eff4f6, #d1d2d2 )'
				
			});




