		// pre fill form field with message
		function clickclear(thisfield, defaulttext) {
			if (thisfield.value == defaulttext) {
			thisfield.value = "";
			}
		}
		function clickrecall(thisfield, defaulttext) {
			if (thisfield.value == "") {
			thisfield.value = defaulttext;
			}
		}
		$(document).ready(function(){
			$('#searchbox').focusin(function() {
				$(this).css("font-style", "normal");
			}).focusout(function() {
				$(this).css("font-style", "italic");
			});
			$('#email_signup').focusin(function() {
				$(this).css("font-style", "normal");
			}).focusout(function() {
				$(this).css("font-style", "italic");
			});
			$('#image_thumbnails img').click(function() {
			
				var $request = $(this).attr('id');
				var $image_update = 'prodimages/' + $request;
				$('#main_image').attr('src', $image_update);
				
			});		
			$('#nav .nav_element').mouseover(function(){
				$(this).addClass('over');
				$(this).children('a').addClass('a_over');
				
				var $nav_element = $(this);
				var $nav_element_a = $(this).next();
				var $request = $(this).attr("id");
				var $nav_element_dropdown = $("#"+$request);
				var $dropdown = $("#"+$request+"_drop");
				if ($dropdown.length) {
					if (!($dropdown.hasClass('dropdown_active'))) {
						$dropdown.addClass('dropdown_active');
						$nav_element_dropdown.addClass('dropdown_over');
					}
				}
			});
			$('dropdown').mouseout(function(){
				$(this).removeClass('dropdown_active');
				$nav_element.removeClass('over');
				$nav_element_dropdown.removeClass('dropdown_over');
				$nav_element_a.removeClass('a_over');
			});
			$('#nav .nav_element').mouseout(function(){
				$(this).removeClass('over');
				$(this).removeClass('dropdown_over');
				$(this).children().removeClass('a_over');
				$('.dropdown').removeClass('dropdown_active');
			});
			if ($('.jCarouselLite').length) {
				$('.easing .jCarouselLite').jCarouselLite({
					scroll: 1,
					auto: 3800,
					speed: 950,
					btnPrev: ".back",
					btnNext: ".forward",
					btnGo: [".one", ".two", ".three", ".four"],
					pauseOnHover: true
				});
				$('.pause').click(function(){
					$('.jCarouselLite').toggleClass('paused');
				});
			}
		});

