// JavaScript Document
$(document).ready(function() {
	$("img.i").hover(
		function() {
			$(this).css({cursor:"pointer"})
		}
	);
	$("img#buying").hover(
		function() {
			$(this).attr("src","./images/home-buying_hover.jpg");
		},
		function() {
			$(this).attr("src","./images/home-buying.jpg");
		}
	).click(
		function() {
			document.location="./display.cfm?p=2";
		}
	);
	$("img#supplying").hover(
		function() {
			$(this).attr("src","./images/home-supplying_hover.jpg");
		},
		function() {
			$(this).attr("src","./images/home-supplying.jpg");
		}
	).click(
		function() {
			document.location="./display.cfm?p=3";
		}
	);
	$("img#warehouse").hover(
		function() {
			$(this).attr("src","./images/home-warehouse_hover.jpg");
		},
		function() {
			$(this).attr("src","./images/home-warehouse.jpg");
		}
	).click(
		function() {
			document.location="./display.cfm?p=4";
		}
	);
	$("img#recycling").hover(
		function() {
			$(this).attr("src","./images/home-recycling_hover.jpg");
		},
		function() {
			$(this).attr("src","./images/home-recycling.jpg");
		}
	).click(
		function() {
			document.location="./display.cfm?p=5";
		}
	);
	$("img#about").hover(
		function() {
			$(this).attr("src","./images/home-about_hover.jpg");
		},
		function() {
			$(this).attr("src","./images/home-about.jpg");
		}
	).click(
		function() {
			document.location="./display.cfm?p=6";
		}
	);
	$("img#sales").hover(
		function() {
			$(this).attr("src","./images/home-sales_hover.jpg");
		},
		function() {
			$(this).attr("src","./images/home-sales.jpg");
		}
	).click(
		function() {
			document.location="./display.cfm?p=7";
		}
	);
	$("img#contact").hover(
		function() {
			$(this).attr("src","./images/home-contact_hover.jpg");
		},
		function() {
			$(this).attr("src","./images/home-contact.jpg");
		}
	).click(
		function() {
			document.location="./display.cfm?p=8";
		}
	);
	$("img#rlink").hover(
		function() {
			$(this).attr("src","./images/recycle-rollover.jpg");
		},
		function() {
			$(this).attr("src","./images/recycle-link.jpg");
		}
	).click(
		function() {
			document.location="./display.cfm?p=9";
		}
	);
});

