
function thumbImageVVV(imgThumb,imgRegular,imgId,pName,pDesc) {
	var i;
	var onclickstr;
	
//	document.getElementById("corppTitle").innerHTML=t;
//	document.getElementById("corppMessage").innerHTML=b;

	if (!imgId)	imgId="idImgCorpProfile";
	else if (imgId=="")	imgId="idImgCorpProfile";

	document.writeln("<table class=\"corpprofile\" width=\"120\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">");

	for (i=0; i < imgThumb.length; i++) {
		onclickstr = ""
		onclickstr += "updateTagProp(document.getElementById('"+imgId+"'),'src','"+imgRegular[i]+"');";
		onclickstr += "document.getElementById('corppTitle').innerHTML='"+(pName[i])+"';";
		onclickstr += "document.getElementById('corppMessage2').innerHTML='"+(pDesc[i])+"';";
		
		onclickstr += "return false;";
		
		if (i%3==0) document.writeln("<tr valign=\"top\">");
		document.writeln("<td height=\"40\">");
		document.writeln("<a href=\"#\" onclick=\""+onclickstr+"\">");
		document.writeln("<img style=\"float:left\" src=\""+imgThumb[i]+"\" border=\"0\" width=\"35\" height=\"35\">");
		document.writeln("</a>");
		document.writeln("</td>");
		document.writeln("<td>");
		if ((i+1)%3==0) document.writeln("</tr>");
	}
	while (i%3!=0) {
		document.writeln("<td height=\"40\">");
		document.writeln("</td>");
		i++;
	}
	if ((i)%3==0) document.writeln("</tr>");
	document.writeln("</table>");

}

function thumbImageVV(imgThumb,imgRegular,imgId) {
		
	var i;
	if (!imgId)
		imgId="idImgCorpProfile";
		
	document.writeln("<table width=\"114\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">");
	for (i=0; i < imgThumb.length; i++) {
		if (i%3==0) document.writeln("<tr valign=\"top\">");
		document.writeln("<td height=\"40\">");
		document.writeln("<a href=\"#\" onclick=\"updateTagProp(document.getElementById('"+imgId+"'),'src','"+imgRegular[i]+"');return false\">");
		document.writeln("<img src=\""+imgThumb[i]+"\" border=\"0\" width=\"35\" height=\"35\">");
		document.writeln("</a>");
		document.writeln("</td>");
		if ((i+1)%3==0) document.writeln("</tr>");
	}
	while (i%3!=0) {
		document.writeln("<td height=\"40\">");
		document.writeln("</td>");
		i++;
	}
	if ((i)%3==0) document.writeln("</tr>");
	document.writeln("</table>");
}