// JavaScript Document
backImg = new Image();
backImg.src= "splash/images/bgSplash.jpg";

var pics = {}
pics.normal = "splash/images/btn_splash.png";
pics.tradHov = "splash/images/btn_trad_hov.png";
pics.tradPress = "splash/images/btn_trad_press.png";
pics.aucHov = "splash/images/btn_auc_hov.png";
pics.aucPress = "splash/images/btn_auc_press.png";

var img = Array();
img[0] = new Image();
img[1] = new Image();
img[2] = new Image();
img[3] = new Image();
img[4] = new Image();
img[5] = new Image();
img[0].src = "splash/images/splashheader.png";
img[1].src = pics.normal;
img[2].src = pics.tradHov;
img[3].src = pics.aucHov;
img[4].src = pics.tradPress;
img[5].src = pics.aucPress;

var Traditional = {
	hover: function() {
		$('btn_image').setAttribute("src", pics.tradHov);
	},
	out: function() {
		$('btn_image').setAttribute("src", pics.normal);
	},
	press: function() {
		$('btn_image').setAttribute("src", pics.tradPress);
	}
}

var Auction = {
	hover: function() {
		$('btn_image').setAttribute("src", pics.aucHov);
	},
	out: function() {
		$('btn_image').setAttribute("src", pics.normal);
	},
	press: function() {
		$('btn_image').setAttribute("src", pics.aucPress);
	}
}

