function ShowImage(strImagePath)
{
	var ShowImageWin;
	var strName =  "ShowImages"
	var strFeatures;
	strImagePath ="ShowImage.html?Image=" + strImagePath
	strFeatures = "dependent=yes,directories=no,location=no,menubar=no,resizable=yes,personalbar=no,scrollbars=no,titlebar=no,toolbar=no,top=50, left=50, width=400, height=300"
	ShowImageWin = window.open(strImagePath, null, strFeatures);
	ShowImageWin.focus();

	return false;
}

function ShowImage2(strImagePath,winWidth,winHeight)
{
	var ShowImageWin;
	var strName =  "ShowImages"
	var strFeatures;
	strImagePath ="ShowImage2.html?Image=" + strImagePath + "&Width=" + winWidth + "&Height=" + winHeight
	strFeatures = "dependent=yes,directories=no,location=no,menubar=no,resizable=yes,personalbar=no,scrollbars=no,titlebar=no,toolbar=no,top=50, left=50, width="+winWidth+",height="+winHeight+""
	ShowImageWin = window.open(strImagePath, null, strFeatures);
	ShowImageWin.focus();

	return false;
}

function isBlank(checkval) {
	NotNullString = true;
	for (i=0;i<checkval.length;i++) {
		if (checkval.charAt(i) != " ") {
			NotNullString = false;
			break;
		}
	}
	return NotNullString;
}

function validateForm() { //v4.0
	 	theForm = document.form1;
		if(isBlank(theForm.review.value)){
			theForm.review.focus();
			alert("Please fill in your comment") ;
			return false;
		}
		else
			return true;
	
}

