home_out = new Image()
home_in = new Image()
home_out.src = "images/home_out.gif"
home_in.src = "images/home_in.gif"

about_out = new Image()
about_in = new Image()
about_out.src = "images/about_out.gif"
about_in.src = "images/about_in.gif"

gallery_out = new Image()
gallery_in = new Image()
gallery_out.src = "images/gallery_out.gif"
gallery_in.src = "images/gallery_in.gif"

contact_out = new Image()
contact_in = new Image()
contact_out.src = "images/contact_out.gif"
contact_in.src = "images/contact_in.gif"


function swap(image) {
 if (document.images) { document.images[image].src = eval(image+"_in.src") }
}

function swapbk(image) {
 if (document.images) { document.images[image].src = eval(image+"_out.src") }
}

function popup(url,name, width, height) {
	newWin = window.open(url,name,"alwaysRaised=yes,dependent=no,height="+height+",width="+width+",scrollbars=no,resizable=no")
	newWin.focus()
 //window.close()
}
