// JavaScript Document

function ownership(dt)
{

 var days = new Array;                        // Array to hold day names
  var months = new Array;                      // Array to hold up month names

  // Load up day names
  days[0] = "Sunday";
  days[1] = "Monday";
  days[2] = "Tuesday";
  days[3] = "Wednesday";
  days[4] = "Thursday";
  days[5] = "Friday";
  days[6] = "Saturday";

  // Load up month names
  months[0] = "January";
  months[1] = "February";
  months[2] = "March";
  months[3] = "April";
  months[4] = "May";
  months[5] = "June";
  months[6] = "July";
  months[7] = "August";
  months[8] = "September";
  months[9] = "October";
  months[10] = "November";
  months[11] = "December";

  // Assign date variables with document.lastModified 
  var modDate = new Date(Date.parse(dt));
  
  // If we have a valid date reformat it.
  if (modDate != 0) {
  
    // Set up day variable to hold the name of the day
    var day = days[modDate.getDay()];
    
    // ndate variable holds day of month
    var ndate = modDate.getDate();
    
    // Set up month variable to hold the name of the month
    var month = months[modDate.getMonth()];
    
    // Get the year and if it is less than 1000 add 1900 to it.
    var year = modDate.getYear();
    if (year < 1000) year = year + 1900;
	
	document.write('<table width=\"100%\" height=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"blue9\">');
	document.write('<tr><td width=\"10\">&nbsp;</td><td width=\"142\" valign=\"bottom\">Site created and<br> maintained by:<br>');
	document.write('United States Agency for International Development, New Delhi, India.<p> Last updated:<br>');
	// Display date and time document was last updated.
	//document.write(day + " " + ndate + " " + month + " " + year+ "  ");
	document.write(month + " " + ndate + ", " + year+ "  ");
	document.write('</p></td></tr></table>');
}
}



function ourwork1()
{
	document.write('<table width=\"148\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"blue11\">');
	document.write('<tr><td width=\"19\" height=\"10\"></td><td width=\"10\"></td><td width=\"119\"></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"program_areas.htm\" class=\"BlueL\">Program Areas </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"activities.htm\" class=\"BlueL\">Activities </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"where_we_work.htm\" class=\"BlueL\">Where We Work (Map) </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"ppp.htm\" class=\"BlueL\">PPP</a></td></tr>');
	document.write('<tr><td height=\"1\" align=\"right\" bgcolor=\"#003073\"></td><td bgcolor=\"#003073\"></td><td valign=\"top\" bgcolor=\"#003073\"></td>');
	document.write('</tr><tr><td height=\"25\" align=\"right\"></td><td></td><td valign=\"middle\" class=\"Breadcrumb2\" style=\"font-weight: bold\">');
	document.write('<a href=\"../our_work/program_areas.htm\">Our Work &gt;&gt; </a></td></tr></table>');
}

//----------------  our work 'right' new code with level parameter ---------------
function ourworklevel(tlevel)
{
	plevel="";
	n=0;
	while(n<tlevel){
		plevel=plevel + "../";
		n++;
	}	
	clevel="";
	n=0;
	while(n<(tlevel-1)){
		clevel=clevel + "../";
		n++;
	}
	document.write('<table width=\"148\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"blue11\">');
	document.write('<tr><td width=\"19\" height=\"10\"></td><td width=\"10\"></td><td width=\"119\"></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"' + plevel + 'images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href="' + clevel + 'program_areas.htm" class=\"BlueL\">Program Areas </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"' + plevel + 'images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href="' + clevel + 'activities.htm" class=\"BlueL\">Activities </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"' + plevel + 'images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href="' + clevel + 'where_we_work.htm" class=\"BlueL\">Where We Work (Map) </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"' + plevel + 'images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href="' + clevel + 'ppp.htm" class=\"BlueL\">PPP</a></td></tr>');
	document.write('<tr><td height=\"1\" align=\"right\" bgcolor=\"#003073\"></td><td bgcolor=\"#003073\"></td><td valign=\"top\" bgcolor=\"#003073\"></td>');
	document.write('</tr><tr><td height=\"25\" align=\"right\"></td><td></td><td valign=\"middle\" class=\"Breadcrumb2\" style=\"font-weight: bold\">');
	document.write('<a href="' + clevel + 'program_areas.htm">Our Work &gt;&gt; </a></td></tr></table>');
}
//--------------------------------------------------------------------------------

function ourwork2(heightTD)
{
	document.write('<table width=\"148\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"blue11\">');
	document.write('<tr><td width=\"19\" height=\"' + heightTD + '\"></td><td width=\"10\"></td><td width=\"119\"></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../program_areas.htm\" class=\"BlueL\">Program Areas </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../activities.htm\" class=\"BlueL\">Activities </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"where_we_work.htm\" class=\"BlueL\">Where We Work (Map)</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"ppp.htm\" class=\"BlueL\">PPP</a></td></tr>');
	document.write('<tr><td height=\"1\" align=\"right\" bgcolor=\"#003073\"></td><td bgcolor=\"#003073\"></td><td valign=\"top\" bgcolor=\"#003073\"></td>');
	document.write('</tr><tr><td height=\"25\" align=\"right\"></td><td></td><td valign=\"middle\" class=\"Breadcrumb2\" style=\"font-weight: bold\">');
	document.write('<a href=\"../our_work/program_areas.htm\">Our Work &gt;&gt; </a></td></tr></table>');
		
}

function aboutUSAID1()
{
	document.write('<table width=\"148\" height=\"169\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"blue11\">');
	document.write('<tr><td width=\"19\" height=\"10\"></td><td width=\"10\"></td><td width=\"119\"></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\">');
	document.write('<img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td><td></td>');
	document.write('<td valign=\"top\">&nbsp;<a href=\"overview.htm\" class=\"BlueL\">Overview</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"success_stories.htm\" class=\"BlueL\">Success Stories</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"history.htm\" class=\"BlueL\">History</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"faq.htm\" class=\"BlueL\">FAQs</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"contacts.htm\" class=\"BlueL\">Contacts</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"http://www.usaid.gov\" class=\"BlueL\">USAID Washington</a></td></tr>');
	document.write('<tr><td height=\"1\" align=\"right\" bgcolor=\"#003073\"></td><td bgcolor=\"#003073\"></td><td valign=\"top\" bgcolor=\"#003073\"></td></tr>');
	document.write('<tr><td height=\"25\" align=\"right\"></td><td></td><td valign=\"middle\" style=\"font-weight: bold\">');
	document.write('<a href=\"overview.htm\">About USAID India &gt;&gt;</a> </td></tr></table>');
}


function aboutUSAID2()
{
	document.write('<table width=\"148\" height=\"169\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"blue11\">');
	document.write('<tr><td width=\"19\" height=\"10\"></td><td width=\"10\"></td><td width=\"119\"></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\">');
	document.write('<img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td><td></td>');
	document.write('<td valign=\"top\">&nbsp;<a href=\"../overview.htm\" class=\"BlueL\">Overview</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../success_stories.htm\" class=\"BlueL\">Success Stories</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../history.htm\" class=\"BlueL\">History</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../faq.htm\" class=\"BlueL\">FAQs</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../contacts.htm\" class=\"BlueL\">Contacts</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"http://www.usaid.gov\"  class=\"BlueL\">USAID Washington</a></td></tr>');
	document.write('<tr><td height=\"1\" align=\"right\" bgcolor=\"#003073\"></td><td bgcolor=\"#003073\"></td><td valign=\"top\" bgcolor=\"#003073\"></td></tr>');
	document.write('<tr><td height=\"25\" align=\"right\"></td><td></td><td valign=\"middle\" style=\"font-weight: bold\">');
	document.write('<a href=\"../overview.htm\">About USAID India &gt;&gt;</a> </td></tr></table>');
}


function workwithus1()
{
	document.write('<table width=\"148\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"blue11\">');
	document.write('<tr><td width=\"19\" height=\"10\"></td><td width=\"10\"></td><td width=\"119\"></td></tr>');
	document.write('<tr><td height=\"34\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"grant_opportunity.htm\" class=\"BlueL\">Business and Grant <br>&nbsp;Opportunities</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"vacancies.htm\" class=\"BlueL\">Vacancies</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"ipn.htm\" class=\"BlueL\">Impl. Partner Information</a></td></tr>');
	document.write('<tr><td height=\"1\" align=\"right\" bgcolor=\"#003073\"></td><td bgcolor=\"#003073\"></td><td valign=\"top\" bgcolor=\"#003073\"></td>');
	document.write('</tr><tr><td height=\"25\" align=\"right\"></td><td></td><td valign=\"middle\" class=\"Breadcrumb2\" style=\"font-weight: bold\">');
	document.write('<a href=\"../working_with_us/grant_opportunity.htm\">Working with us &gt;&gt; </a></td></tr></table>');
}

function newsroom1()
{
	document.write('<table width=\"148\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"blue11\">');
	document.write('<tr><td width=\"19\" height=\"10\"></td><td width=\"10\"></td><td width=\"119\"></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"press_releases.htm\" class=\"BlueL\">Press Releases </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"inside_india.htm\" class=\"BlueL\">Inside India </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"tsunami_news.htm\" class=\"BlueL\">Tsunami News </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td><td></td>');
	document.write('<td valign=\"top\">&nbsp;<a href=\"speeches.htm\" class=\"BlueL\">Speeches</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"articles.htm\" class=\"BlueL\">Articles</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"photo_gallery.htm\" class=\"BlueL\">Photo Gallery</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"spl_feature.htm\" class=\"BlueL\">Special Features</a></td></tr>');
	document.write('<tr><td height=\"1\" align=\"right\" bgcolor=\"#003073\"></td><td bgcolor=\"#003073\"></td><td valign=\"top\" bgcolor=\"#003073\"></td>');
	document.write('</tr><tr><td height=\"25\" align=\"right\"></td><td></td><td valign=\"middle\" class=\"Breadcrumb2\" style=\"font-weight: bold\">');
	document.write('<a href=\"../newsroom/press_releases.htm\">Newsroom &gt;&gt; </a></td></tr></table>');
}


function newsroom2()
{
	document.write('<table width=\"148\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"blue11\">');
	document.write('<tr><td width=\"19\" height=\"10\"></td><td width=\"10\"></td><td width=\"119\"></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../press_releases.htm\" class=\"BlueL\">Press Releases </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../tsunami_news.htm\" class=\"BlueL\">Tsunami News </a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td><td></td>');
	document.write('<td valign=\"top\">&nbsp;<a href=\"../speeches.htm\" class=\"BlueL\">Speeches</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../articles.htm\" class=\"BlueL\">Articles</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../photo_gallery.htm\" class=\"BlueL\">Photo Gallery</a></td></tr>');
	document.write('<tr><td height=\"22\" align=\"right\" valign=\"top\"><img src=\"../../images/bullet.gif\" width=\"7\" height=\"7\" vspace=\"4\"></td>');
	document.write('<td></td><td valign=\"top\">&nbsp;<a href=\"../spl_feature.htm\" class=\"BlueL\">Special Feature</a></td></tr>');
	document.write('<tr><td height=\"1\" align=\"right\" bgcolor=\"#003073\"></td><td bgcolor=\"#003073\"></td><td valign=\"top\" bgcolor=\"#003073\"></td>');
	document.write('</tr><tr><td height=\"25\" align=\"right\"></td><td></td><td valign=\"middle\" class=\"Breadcrumb2\" style=\"font-weight: bold\">');
	document.write('<a href=\"../../newsroom/press_releases.htm\">Newsroom &gt;&gt; </a></td></tr></table>');
}



function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_jumpMenuGo(selName,targ,restore){ //v3.0
  var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}
