//
//    Last changed:   $Date: 2008-08-19 17:21:26 +0100 (Tue, 19 Aug 2008) $
//    Last change by: $Author: dave $
//    File @ sub rev: $Rev: 5195 $
//

var highres_handle;
var is_processing = false;

function submitMe(inForm) {
	if( is_processing == true ) {
		return false;
	}
	is_processing = true;
	inForm.action = 'productResults.asp?searching=Y';
	return true;
}

function resetMe() {
	if( is_processing == true ) {
		return;
	}
	is_processing = true;
	document.location = 'productList.asp?all=Y';
}

function changeImage(inImageUrl) {
	var imageDOM;
	try {
		imageDOM = findDOM('bigimage', 0);
	} catch (err) {
		return;
	}
	try {
		imageDOM.src = inImageUrl;
	} catch (err) {
		return;
	}
}

function doPopHighResImage(inUrl) {
	try {
		highres_handle = window.open(inUrl, '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no');
	} catch (err) {
		return;
	}
}

