
function combine()
{
var x; 	//looping variable 
var newsitems = new Array();//array containing the Newsitems 
							// here we can add new newsitems using + operator between pagename,description & publicationdate

newsitems[0] =  "archives_2005_17.html+Entrepreneurs & VCs: Evolving a partnership + SiliconIndia | February 09, 2005";
newsitems[1] =  "archives_2005_16.html+Glenmark Labs plans to enter Australia, NZ, Brazil + Business Line | February 17, 2005";
newsitems[2] =  "archives_2005_15.html+UTI Venture's 2nd fund to target mid market segment + Times of India, Mumbai Edition | April 12, 2005";
newsitems[3] =  "archives_2005_14.html+UTI closes Ascent India Fund  + Economic times | April 12, 2005";
newsitems[4] =  "archives_2005_13.html+UTI Venture launches Rs 700cr Ascent India Fund  + Business Wire India | April 12, 2005";
newsitems[5] =  "archives_2005_12.html+UTI Venture Fund launches Ascent Ind Fund + Moneycontrol.com | April 12, 2005";
newsitems[6] =  "archives_2005_11.html+Private equity funds to pump in US$2-3bn in 2005 + Indiainfoline.com | April 12, 2005";
newsitems[7] =  "archives_2005_10.html+UTI Venture Fund raises Rs. 450 crores in Ascent India Fund + Zeenews .com | April 12, 2005";
newsitems[8] =  "archives_2005_9.html+UTI Venture offers new pvt equity fund + Financial Express | April 12, 2005";
newsitems[9] =  "archives_2005_8.html+UTI Venture's Ascent India Fund targets mid-cap cos + The Hindu Business Line | April 12, 2005";
newsitems[10] = "archives_2006_7.html+UTI Venture Funds announces Rs 700 crore Ascent India Fund + Press Release | April 12, 2005";
newsitems[11] = "archives_2005_6.html+Fundmen seek bigger private equity deals pie +  Business Standard | April 13, 2005";
newsitems[12] = "archives_2005_5.html+Ample opportunities for private equity funds + Business Line | April 17, 2005";
newsitems[13] = "archives_2005_4.html+Ascent India Fund is for LIC & Banks +  Vijay Times | April 25, 2005";
newsitems[14] = "archives_2005_3.html+Private equity investments seen doubling to $3 b + Reuters | May 11, 2005";
newsitems[15] = "archives_2005_2.html+Unlocking value + Smart Investor | May 16, 2005";
newsitems[16] = "archives_2005_1.html+CIBER Agrees to Buy Knowledge Systems, Bangalore, India + Economic Times | June 20, 2005";
newsitems[17] = "archives_2005.html+Ciber signs deal to buy Knowledge Systems for $2.5m  + Business Line | June 22, 2005";



// add latest Newsitems above this comment separating pagename,description,published date by symbol + as above . 
var subitem; // this array contains splitted items of each newsitem as subitem[0]=pagename, subitem[1]=description, subitem[2]=symbol.
var content = new Array(); // this array contains all the description of the newsitems.
var pagename = new Array(); // this array contains all the pagenames of the newsitems

for(x=newsitems.length-1;x>=0;x--)
{
subitem =(newsitems[x].split('+'));
for(i=0;i<subitem.length;i++)
pagename[x] = subitem[0];
content[x] = subitem[2];
}


var connect ="<span class= 'news_head'>"+"<a href =\"";

<!-- to read the URL path and get the file name i have used the below block -->
var url = unescape(window.location.pathname);
var suburl = url.split('/');  //splitting the url with symbol '/' to find the pagename loaded.
var fname = suburl[suburl.length-1];

for(x=newsitems.length-1;x>=0;x--)
{
subitem =(newsitems[x].split('+'));
for(i=0;i<subitem.length;i++)
var contents = '<p>'
	if(fname==pagename[x])
	{
	
contents = contents+(connect+subitem[0]+"\""+" class='news_head_selected'>"+subitem[1]+"</a></span>");     
	}
else
 	{
contents = contents+(connect+subitem[0]+"\""+" class= 'news_head'>"+subitem[1]+"</a></span>");
	}
contents = contents+('<br>'+"<span class=\"bodytext_press11\">"+content[x]+'</span></p>');
document.write(contents);
}

}





