
$(document).ready(function(){

		$("a[rel^='prettyPhoto']").prettyPhoto();

		Cufon.replace('.cufon');

		$('.back').click(function() {
			history.go(-1);
		});
		
		$('.blue #up').click(function() {
			$('html, body').animate({scrollTop:0}, 'slow');
		});
		$('.red #up').click(function() {
			$('html, body').animate({scrollTop:0}, 'slow');
		});
		$('.purple #up').click(function() {
			$('html, body').animate({scrollTop:0}, 'slow');
		});
		$('.brown #up').click(function() {
			$('html, body').animate({scrollTop:0}, 'slow');
		});

		$('#top-nav li').hover(function() {
			$('ul', this).slideDown(350);
				}, function() {
			$('ul', this).slideUp(350);
		});

  });

	
//    $('#boat-nav span').click(function() {
//        var image = $(this).attr('class');
//        if($('div#' + image).css('display') != 'block') {
//            $('div.image').fadeOut(200);
//            $('div#' + image).delay(200).fadeIn(200);
//        }
//    })
//
//    $('.pagin td:last').css('background', 'url(' + baseUrl + 'img/pag_last_td_bg.png) no-repeat');
//
//    $('div#dealer-pl').show();
//
//    $('#dealers area').click(function() {
//        var dealer = $(this).attr('alt');
//        if($('div#' + dealer).css('display') != 'block') {
//            $('div.dealer').fadeOut(200);
//            $('div#' + dealer).delay(200).fadeIn(200);
//        }
//    });
//
//
//    $('#top-nav li').hover(function(){
//        $('ul', this).css({
//            visibility: "visible",
//            display: "none"
//        }).slideDown(250);
//    },function(){
//        $('ul', this).slideUp(50)
//    });
//
//    $('#boat-nav > li').hover(function(){
//        $('ul', this).css({
//            visibility: "visible",
//            display: "none"
//        }).slideDown(250);
//    },function(){
//        $('ul', this).slideUp(50);
//    });
//});
//$(document).ready(function(){
//	$('.pagin td:last').css('background', 'url(' + baseUrl + 'img/pag_last_td_bg.png) no-repeat');
//});
//
//

