// JavaScript Document

///function for handling image swap of inventory
var currentImage='';

function switchBig(newbig){
	var bigimage = document.getElementById('bigimage');
	bigimage.src = '/showphoto.asp?uploadid=' + newbig;
	currentImage = newbig;
}

function openBig(first){
	if(currentImage==''){
		currentImage = first;
	}
	window.open('/admin/photos/enlargephoto.asp?uploadid=' + currentImage,'MyWindow','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=400,height=400,left=20,top=20');
}

