﻿/// <reference path="../jquery-1.3.2.js"/>

if(typeof(Impulse) == 'undefined') Impulse = {};

Impulse.Explore = {
	init: function() {
		Impulse.Explore.initFilters();
		Impulse.Explore.initRotator();
	},
	initFilters: function() {
		$('#publishers').bind('change', function() {
			window.location = '/explore' + $(this).val();
		});
	},
	initRotator: function() {
		$('#homerotator img.reflect').reflect({
			height: .4,
			opacity: .5
		});
		$('#homerotator').productscroll();
	}
};

$(document).ready(function() {
	Impulse.Explore.init();
});