function lcOpenWindow(image, title, width, height){
	if(image!="not_found"){
		var strPage = '/newsite/common/showImage.php?image=' + image + '&windowTitle=' + title;
		if((width<window.screen.availHeight) && (height<window.screen.availWidth)){
			window.open (strPage, 'newwindow', config='height=' + height + ', width=' + width + ', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no');
		} else {
			window.open (strPage, 'newwindow', config='height=' + window.screen.availHeight + ', width=' + window.screen.availWidth + ', toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, directories=no, status=no');
		}
	}
}
function resizeDiv(aDiv, aSize){
	aDiv.style.height = aSize + "px";
}
function isMoz(){
	return navigator.appName.substring(0,1)=='N';
}
function isIE(){
	return navigator.appName.substring(0,1)=='M';
}

function resizeElements(aDivId, aHeaderHeight){
	var divToResize = document.getElementById(aDivId);
	var newDivSize = 455;
	if(isMoz()){
		if(window.innerHeight>450)
			newDivSize = window.innerHeight-aHeaderHeight;
		window.onresize = resizeElements;
	} else if(isIE()){
		// newDivSize = document.body.offsetHeight;
		// newDivSize = newDivSize - 220;
	}
	resizeDiv(divToResize, newDivSize);
}

function rollOver(image, newSrc){
	document[image].src = newSrc;
}

