// JavaScript Document

$(document).ready(function(){

$("#nav-search input[type=text]").addClass("input-search");
$("#nav-search input[type=submit]").addClass("input-search-submit");
$("#bottom-menu input[type=text]").addClass("input-newsletter");
$("#bottom-menu input[type=submit]").addClass("input-newsletter-submit");
$("#prefs li input[type=submit]").addClass("prefs-submit");
$("#prefs li:first-child").addClass("makeleft");

$("#nav-options a:first-child").addClass("link-first");
$("#info-boxes li:first-child")
.hover(function () {$(this).addClass("box-first");}, 
function () {$(this).removeClass("box-first");});
$("#info-boxes li:nth-child(2)")
.hover(function () {$(this).addClass("box-second");}, 
function () {$(this).removeClass("box-second");});
$("#info-boxes li:nth-child(3)")
.hover(function () {$(this).addClass("box-third");}, 
function () {$(this).removeClass("box-third");});
$("#info-boxes li:last-child")
.hover(function () {$(this).addClass("box-fourth");}, 
function () {$(this).removeClass("box-fourth");});
});

