function preloader() {
	if (document.images) {
		var img1 = new Image();
		var img2 = new Image();
		var img3 = new Image();

		img1.src = "images/img_home.gif";
		img2.src = "images/img_homeover.gif";
		img3.src = "images/img_about.gif";
		img1.src = "images/img_aboutover.gif";
		img2.src = "images/img_store.gif";
		img3.src = "images/img_storeover.gif";
		img1.src = "images/img_contact.gif";
		img2.src = "images/img_contactover.gif";
	}
}
function addLoadEvent(func) {
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
	} else {
		window.onload = function() {
			if (oldonload) {
				oldonload();
			}
			func();
		}
	}
}
addLoadEvent(preloader);
