var newArray=new Array();
var tempArray=new Array();
var newArr;
newArray=[
				["Implementation of Microfinance Delta Project in Myanmar for UNDP"],
				["National impact study of microfinance in India"],
				["Capacity Building and technical assistance for building the Microfinance Sector in Afghanistan (forthcoming)"],
				["Development of leather sub-sector in Rajasthan, India for the SEEP Network"],
				["Development of honey sub-sector in Muzaffarpur, Bihar, India for the Ford Foundation"]
		  	];

function Eda_Work(sPID,sParamName,sParamVal) {

  	var news = "" ;
	sHTML="";
	sHTML=sHTML+"<div align='center'>";
	sHTML=sHTML+"<table border=0 cellspacing='0' cellpadding='2'";

	if (typeof(sParamName)!='undefined' && typeof(sParamVal)!='undefined') {
	   if (sParamName.toLowerCase()=='table_width' && sParamVal) {
	       sHTML=sHTML+" width='" + sParamVal + "'";
	   }
	}
          sHTML=sHTML+"</tr>";
          sHTML=sHTML+"<tr>";
          sHTML=sHTML+"<td colspan='2'><div align='justify'></div></td>";
          sHTML=sHTML+"</tr>";
		  var newLen=newArray.length;
//  		while(true){

		for(var j=0;j<newLen;j++)
		{
  			sHTML += "<tr><td width='7%' height='13' valign='top' class='text'><div align='center'><img src='images/bullets.gif' width='8' height='6' vspace='5'></div></td>";
			sHTML += "<td width='93%' class='text'><div align='justify'>"+eval(newArray[j])+"</div></td></tr>"
			sHTML=sHTML+"<tr>";
            sHTML=sHTML+"<td height='13' valign='top' class='text'><div align='center'></div></td>";
            sHTML=sHTML+"<td class='text'>&nbsp;</td>";
          	sHTML=sHTML+"</tr>";

		}

//		var temp = new Array();
//		alert(temp);
		//alert(newLen);
//		for(var i=0,j=1;j<newLen;i++,j++){
		//	temp[i] = newArray[j];
//		}
//		//temp[5] = newArray[0];
		//newArray = temp;
//		alert(newArray[0]);

//		}
	    sHTML=sHTML+"</table>";
		sHTML=sHTML+"</div>";

		return sHTML;

}
