// JavaScript Document
var pics = new Array();
if(document.images) {
	pics[1] = new Image();
	pics[1].src = "images/mhome.png";
	pics[6] = new Image();
	pics[6].src = "images/home.png";
	pics[2] = new Image();
	pics[2].src = "images/mgallery.png";
	pics[7] = new Image();
	pics[7].src = "images/gallery.png";
	pics[3] = new Image();
	pics[3].src = "images/mknives.png";
	pics[8] = new Image();
	pics[8].src = "images/knives.png";
	pics[4] = new Image();
	pics[4].src = "images/mContact.png";
	pics[9] = new Image();
	pics[9].src = "images/Contact.png";
	pics[5] = new Image();
	pics[5].src = "images/mabout.png";
	pics[10] = new Image();
	pics[10].src = "images/about.png";
	pics[11] = new Image();
	pics[11].src = "images/mlinks.png";
	pics[12] = new Image();
	pics[12].src = "images/links.png";
}

function changeImage(from,to) {
	if(document.images) {
		document.images[from].src = pics[to].src;
	}
}

function show(what) {
                if(typeof(what) == 'string')
                    what = document.getElementById(what);
                what.style.display = 'block';
            }
            function hide(what) {
                if(typeof(what) == 'string')
                    what = document.getElementById(what);
                what.style.display = 'none';
            }
