	var imgPortfolioOn = new Image();
var imgPortfolioOff = new Image();
var imgBiographyOn = new Image();
var imgBiographyOff = new Image();
var imgPrintsOn = new Image();
var imgPrintsOff = new Image();
var imgOrderOn = new Image();
var imgOrderOff = new Image();
var imgBlogOn = new Image();
var imgBlogOff = new Image();
var imgContactOn = new Image();
var imgContactOff = new Image();
var imgLinksOn = new Image();
var imgLinksOff = new Image();
var imgHomeOn = new Image();
var imgHomeOff = new Image();

function fPreloadImages(strPageRoot) {
	imgPortfolioOn.src = strPageRoot + "img/nav/btn_portfolio_on.gif";
	imgPortfolioOff.src = strPageRoot + "img/nav/btn_portfolio.gif";
	imgBiographyOn.src = strPageRoot + "img/nav/btn_biography_on.gif";
	imgBiographyOff.src = strPageRoot + "img/nav/btn_biography.gif";
	imgPrintsOn.src = strPageRoot + "img/nav/btn_prints_on.gif";
	imgPrintsOff.src = strPageRoot + "img/nav/btn_prints.gif";
	imgOrderOn.src = strPageRoot + "img/nav/btn_order_on.gif";
	imgOrderOff.src = strPageRoot + "img/nav/btn_order.gif";
	imgBlogOn.src = strPageRoot + "img/nav/btn_blog_on.gif";
	imgBlogOff.src = strPageRoot + "img/nav/btn_blog.gif";
	imgContactOn.src = strPageRoot + "img/nav/btn_contact_on.gif";
	imgContactOff.src = strPageRoot + "img/nav/btn_contact.gif";
	imgLinksOn.src = strPageRoot + "img/nav/btn_links_on.gif";
	imgLinksOff.src = strPageRoot + "img/nav/btn_links.gif";
	imgHomeOn.src = strPageRoot + "img/nav/btn_home_on.gif";
	imgHomeOff.src = strPageRoot + "img/nav/btn_home.gif";
}

function fImageSwap(strImageTarget, strImageSource) {
	if (eval(strImageTarget + strImageSource) && (document.images[strImageTarget])) {
		if (eval(strImageTarget + strImageSource).complete) {
			document.images[strImageTarget].src = eval(strImageTarget + strImageSource).src;
		}
	}
}

function fShowFull(strDir, strImage, strStyle) {
	oPictureWindow = window.open("../full.php?s=" + strStyle + "&img=" + strDir + "/" + strImage + "_full.jpg", "ImageWin", "resizable=1,toolbar=0,status=0,location=0,scrollbars=1");
	oPictureWindow.focus();
}


