function viewAllFullSizeImagesFunction(viewAllValue)
{
	document.merchandisePostingViewForm.viewAllFullSizeImages.value = viewAllValue; 
	document.merchandisePostingViewForm.submit();
}

function showResults()
{
	document.merchandisePostingViewForm.submitButton.value = "Find Classifieds"; 
	document.merchandisePostingViewForm.submit();
}

function submitViewPage(memberId,memberRatingId)
{
	if(memberId == memberRatingId)
		alert("You are the owner of this listing, you cannot save it.");
	else
	{
		document.merchandisePostingViewForm.submitButton.value = "saveInView";
		document.merchandisePostingViewForm.submit();
	}
}

function backtoSearchPage(clickType,typeCode)
{	
	document.merchandisePostingViewForm.submitButton.value = clickType;
	document.merchandisePostingViewForm.typeCode.value = typeCode;
	document.merchandisePostingViewForm.submit();
}
function backtoSavedPage(clickType)
{	
	document.merchandisePostingViewForm.submitButton.value = clickType;
	document.merchandisePostingViewForm.submit();
}
function showFullImage(imageNr)
{
//	flimage= "fullImage"+imageNr;
	document.getElementById("fullImage" +imageNr).style.display='inline';
}

