$(document).ready(function(){
			
// Homepage drop down handling
	$("#select a").click(function() {
		if ($("#product:input").val() != "") {
		url = $("#product:input").val();
		}
		window.open(url,target='_self');
		return false;
    });

// Homepage box item click
	$(".products .box").click(function() {
		if ($("#"+this.id).attr("title") != "") {
			url = "/"+ $("#"+this.id).attr("title");
		}
		window.open(url,target='_self');
      	return false;
	});	

// Open close extra copy script using jQuery by Paul West 2008
	$("div.ccmaintable a.more").click(function(){
		if (document.getElementById("info"+this.id).style.display == 'none'){
		$(this).text("<< Less");
		$("div.box div#info"+this.id+":hidden").slideDown({duration: 1000, easing: 'easeOutElastic'});
		return false;
		} else {
		$(this).text(">> More");
		$("div.box div#info"+this.id+":visible").slideUp({duration: 333, easing: 'easeOutExpo'});
		return false;
		}
	});

});
