function printIt()
{
//grab the div in the html w/o the header & footer text
var content=document.getElementById('mid-section-middle');
//open a blank window
w=window.open('about:blank');
//write content var html to the window
w.document.open();
w.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
w.document.write('<html><head><link rel="stylesheet" href="http://www.idfc.com/main_css/main.css" type="text/css"/></head><body><div id="mid-section-middle"><table width="700" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td><img src="http://www.idfc.com/images/logo2.jpg" alt="IDFC Project Equity, a 100% subsidiary of IDFC and a leading infrastructure equity investment managers in India. IDFC Projects Equity manages the India Infrastructure Fund (IIF) that focuses on investing in equity of long-term infrastructure projects." width="155" height="100" /><hr />'+ content.innerHTML);

//write some javascript to make the newly opened window print itself.
w.document.writeln('<script>window.print()</'+'script>');
w.document.writeln('</body>');
w.document.writeln('</html>');
w.document.close();
}





