if (document.images) {
	ovenOff = new Image(); ovenOff.src="/images/nav/oven.gif";
	ovenOn = new Image(); ovenOn.src="/images/nav/ovenOn.gif";
	accessoriesOff = new Image(); accessoriesOff.src="/images/nav/accessories.gif";
	accessoriesOn = new Image(); accessoriesOn.src="/images/nav/accessoriesOn.gif";
	recipesOff = new Image(); recipesOff.src="/images/nav/recipes.gif";
	recipesOn = new Image(); recipesOn.src="/images/nav/recipesOn.gif";
	pressOff = new Image(); pressOff.src="/images/nav/press.gif";
	pressOn = new Image(); pressOn.src="/images/nav/pressOn.gif";
	testimonialsOff = new Image(); testimonialsOff.src="/images/nav/testimonials.gif";
	testimonialsOn = new Image(); testimonialsOn.src="/images/nav/testimonialsOn.gif";
	linksOff = new Image(); linksOff.src="/images/nav/links.gif";
	linksOn = new Image(); linksOn.src="/images/nav/linksOn.gif";
}


function img_act(img) {
	if (document.images) {
	imgOn = eval(img + "On.src");
	document [img].src = imgOn;
	}
}

function img_inact(img) {
	if (document.images) {
	imgOff = eval(img + "Off.src");
	document [img].src = imgOff;
	}
}

var popupWindow = null;

function popup(url, features, width, height, x, y)
{
	if(popupWindow != null && !popupWindow.closed)
		popupWindow.close();
	
	popupWindow = window.open(url, "popupWindow", features+",width="+width+",height="+height+",screenX="+x+",screenY="+y);
	
	return popupWindow;
}


