function headerpanel(path){
    //alert("Called");
    if(path==null)path="./";

    document.write('<table width="1003" cellpadding="0" cellspacing="0">');
    document.write('<!-- First Row of Header -->');
    document.write('<tr>');
    document.write('<td align="top">');
    document.write('<table cellpadding="0" cellspacing="0" width="1003" border=0>');
    document.write('    <tr>');
    document.write('        <td style="padding:5px 5px 0">');
    document.write('            <a href="http://www.headlinesindia.com" title="Headlines India">');
    document.write('                <img src="http://www.headlinesindia.com/images/logo-innerpage.gif" alt="Headlines India" border="0">');
    document.write('            </a>');
    document.write('        </td>');
    document.write('        <td valign=top style="padding-top:12px">');
    document.write('            <table width="100%" cellpadding="0" cellspacing="0" bordercolor=red border=0>');
    document.write('                <tr>');
    document.write('                    <td valign="top" align="right" style="height:70px" colspan="2">');

    document.write('                        <script language="javascript" type="text/javascript"><!--\n');      
    document.write('                            google_ad_client = "pub-0641096029648877";\n');
    document.write('                            google_ad_width = 468;\n');
    document.write('                            google_ad_height = 60;\n');
    document.write('                            google_ad_format = "468X60_as";\n');
    document.write('                            google_ad_type = "image";\n');
    document.write('                            google_ad_channel ="";\n');
    document.write('                            google_color_border = "FFFFFF";\n');
    document.write('                            google_color_bg = "FFFFFF";\n');
    document.write('                            google_color_link = "0D539B";\n');
    document.write('                            google_color_url = "000000";\n');
    document.write('                            google_color_text = "000000"\n;');
    document.write('                            //-->\n');
    document.write('                        </script>\n');
    document.write('                        <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>\n');
    
    document.write('                    </td>');
    document.write('                </tr>');
    document.write('                <tr>');
    document.write('                    <td class="txttopheader">');
    document.write('                        <br>Latest Online India News Update Volume-VIII&nbsp;');
    document.write('                        <a HREF="http://www.headlinesindia.com/feeds/index.html" class="headerlink">');
    document.write('                            <img src="http://www.headlinesindia.com/images/home/feed.jpg" alt="India News" align="absmiddle" border="0">');
    document.write('                        </a>');
    document.write('                    </td>');
    /*
    document.write('                    <td align="right">');
    document.write('                        <!-- SiteSearch Google -->');
    document.write('                        <form action="http://www.headlinesindia.com/search/search-results.html" id="cse-search-box">');
    document.write('                        <input type="hidden" name="cx" value="partner-pub-0641096029648877:d7njqxiwz2l" />');
    document.write('                        <input type="hidden" name="cof" value="FORID:10" />');
    document.write('                        <input type="hidden" name="ie" value="ISO-8859-1" />');
    document.write('                        <input type="text" name="q" size="15" />');
    document.write('                        <input type="submit" name="sa" value="Search" />');
    document.write('                        </form>');
    document.write('                        <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>');
    document.write('                        <!-- SiteSearch Google -->');
    document.write('                    </td>');
    */
    document.write('                </tr>');
    document.write('            </table>');
    document.write('        </td>');
    document.write('    </tr>');
    document.write('</table>');
    document.write('</td></tr>');
    document.write('<!-- End of First Row of Header -->');

    document.write('<!-- Second Row of Header -->');
    document.write('<tr><td align="center" class="txtwhite"><table width="100%" cellpadding="0" cellspacing="0" class="txtwhite">');
    document.write('    <tr>');
    document.write('        <td align="center" style="background-image:url(http://www.headlinesindia.com/images/home/red-strip.jpg);background-repeat:repeat-x;height:26px">');
    document.write('            <a href="http://www.headlinesindia.com/" class="txtwhite">Home</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://www.headlinesindia.com/headline/" class="txtwhite">Top Headlines</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://headlinesindia.com/state-news/" class="txtwhite">States</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://headlinesindia.com/sports-news/" class="txtwhite">Sports</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://headlinesindia.com/business-news/" class="txtwhite">Business</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://headlinesindia.com/education-news/" class="txtwhite">Education</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://headlinesindia.com/entertainment-news/" class="txtwhite">Entertainment</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://www.headlinesindia.com/lifestyle-news/" class="txtwhite">Lifestyle</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://business.mapsofindia.com/" class="txtwhite">India Business</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://lifestyle.headlinesindia.com/" class="txtwhite">Lifestyle India</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://www.headlinesindia.com/Headlines-India.exe" class="txtwhite">Hi Toolbar</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://www.headlinesindia.com/Archive/" class="txtwhite">Archive</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://www.headlinesindia.com/special-reports/" class="txtwhite">Special Report</a>');
    document.write('            &nbsp;|&nbsp;<a href="http://www.headlinesindia.com/live-cricket-scores/" class="txtwhite">Cricket Score</a>');
    document.write('        </td>');
    document.write('    </tr>');
    document.write('</table></td></tr>');
    document.write('</table>');
}	

//POPUP UNDER WINDOW..........................................................
function goNewWin() {

	//***Get what is below onto one line***

	TheNewWin =window.open("popup.html",'TheNewpop','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=400,height=400');

	//***Get what is above onto one line***

	TheNewWin.blur();
}


function entertainmentscript(path)
{
	if(path==null)path="./";
	document.write('<table cellpadding="5" cellspacing="0" class="txtborder1" bgcolor="#F3F3F3" width="245"><tr><td class="txtblueheading" valign="top"><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0>&nbsp;<a href="http://www.lifestyle.headlinesindia.com/entertainment/musicreleases/" class="txtblueheadinglink">Music</a></td></tr><tr><td class="txtblueheading" valign="top"><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0>&nbsp;<a href="http://www.headlinesindia.com/entertainment/bigbang/" class="txtblueheadinglink">Movies</a></td></tr>	<tr><td class="txtblueheading" valign="top"><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0>&nbsp;<a href="http://www.lifestyle.headlinesindia.com/entertainment/topserials/" class="txtblueheadinglink">Television</a></td></tr><tr><td class="txtblueheading" valign="top"><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0>&nbsp;<a href="http://www.lifestyle.headlinesindia.com/entertainment/AllAboutCinema/" class="txtblueheadinglink">All About Cinema</a></td></tr><tr><td height="7" bgcolor="#C5C3C4" valign="top"></td></tr></table>')
}

function educationscript(path)
{
	if(path==null)path="./";
	document.write('<table cellpadding="0" style="padding:2px 10px" width="100%" cellspacing="0" class="txtborder1" bgcolor="#F3F3F3" border="0"><tr><td class="txtblueheading" valign="top"><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0><a href="http://www.headlinesindia.com/university/index.jsp?flag=true" class="txtblueheadinglink">Ask Your Questions</a></td></tr><tr><td class="txtblueheading" valign="top"><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0>&nbsp;<a href="http://www.headlinesindia.com/education/" class="txtblueheadinglink">Latest News</a></td></tr><tr><td class="txtblueheading" valign="top"><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0>&nbsp;<a href="http://www.headlinesindia.com/lists-of-boards/index.html" class="txtblueheadinglink">Schools</a></td></tr><tr><td class="txtblueheading" style="padding-top:5px "><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0>&nbsp;Universities</td></tr><tr><td><ul class="txtbluetwelvelink" style="margin:0px;margin-left:20px "><li><a href="http://www.headlinesindia.com/delhi-colleges-admissions/index.html" class="txtbluetwelvelink">Delhi University</a></li><li><a href="http://www.headlinesindia.com/mumbai-university/index.html" class="txtbluetwelvelink">Mumbai University</a></li><li><a href="http://www.headlinesindia.com/banglore-university/index.html" class="txtbluetwelvelink">Bangalore University</a></li><li><a href="http://www.headlinesindia.com/kolkata-university/index.html" class="txtbluetwelvelink">Kolkata University</a></li><li><a href="http://www.headlinesindia.com/madras-university/index.html" class="txtbluetwelvelink">Madras University</a></li></ul></td></tr><tr><td class="txtblueheading" style="padding-top:5px "><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0>&nbsp;<a href="http://www.headlinesindia.com/education/sites.html" class="txtblueheadinglink">Sites</a></td></tr><tr><td class="txtblueheading" style="padding-top:5px "><img src="http://www.headlinesindia.com/images/bullet_grey.gif" border=0>&nbsp;<a href="http://www.headlinesindia.com/lists-of-boards/index1.html" class="txtblueheadinglink">Fake Universities</a></td></tr>	<tr><td height="7" bgcolor="#C5C3C4" valign="top"></td></tr></table>')
}	

function footerpanel(path)
{
    if(path==null)path="./";
    document.write('<table width="1003" border="0" cellspacing="0" cellpadding="0">');
    document.write('	<tr>');
    document.write('        <td colspan="2">');
    document.write('            <table width="1003" border="0" align="center" cellpadding="0" cellspacing="0">');
    document.write('                <tr>');
    document.write('                    <td align="center">');
    document.write('                        <table width="100%">');
    document.write('                            <tr>');
    document.write('                                <td><a href="http://babycare.headlinesindia.com/" class="brownlink1">BabyCare</a></td>');
    document.write('                                <td><a href="http://business.headlinesindia.com/" class="brownlink1">Business</a></td>');
    document.write('                                <td><a href="http://cars.headlinesindia.com/" class="brownlink1">Cars</a></td>');
    document.write('                                <td><a href="http://chennai.headlinesindia.com/" class="brownlink1">Chennai</a></td>');
    document.write('                                <td><a href="http://culture.headlinesindia.com/" class="brownlink1">Culture</a></td>');
    document.write('                                <td><a href="http://flights.headlinesindia.com/" class="brownlink1">Flights</a></td>');
    document.write('                                <td><a href="http://indiafacts.headlinesindia.com/" class="brownlink1">India facts</a></td>');
    document.write('                                <td><a href="http://indianwedding.headlinesindia.com/" class="brownlink1">Indian Wedding</a></td>');
    document.write('                                <td><a href="http://insurance.headlinesindia.com/" class="brownlink1">Insurance</a></td>');
    document.write('                                <td><a href="http://kolkata.headlinesindia.com/" class="brownlink1">Kolkata</a></td>');
    document.write('                            </tr>');
    document.write('                            <tr>');
    document.write('                                <td><a href="http://lifestyle.headlinesindia.com/" class="brownlink1">Lifestyle</a></td>');
    document.write('                                <td><a href="http://nutrition.headlinesindia.com/" class="brownlink1">Nutrition</a></td>');
    document.write('                                <td><a href="http://mumbai.headlinesindia.com/" class="brownlink1">Mumbai</a></td>');
    document.write('                                <td><a href="http://mutualfunds.headlinesindia.com/" class="brownlink1">Mutual Funds</a></td>');
    document.write('                                <td><a href="http://photography.headlinesindia.com/" class="brownlink1">Photography</a></td>');
    document.write('                                <td><a href="http://railways.headlinesindia.com/" class="brownlink1">Railways</td>');
    document.write('                                <td><a href="http://spirituality.headlinesindia.com/" class="brownlink1">Sprituality</a></td>');
    document.write('                                <td><a href="http://www.video.headlinesindia.com/index.jsp" class="brownlink1">Video</a></td>');
    document.write('                                <td><a href="http://yoga.headlinesindia.com/" class="brownlink1">Yoga</a></td>');
    document.write('                            </tr>');
    document.write('                        </table>');
    document.write('                    </td>');
    document.write('                </tr>');
    document.write('            </table>');
    document.write('        </td>');
    document.write('    </tr>');
    document.write('    <tr>');
    document.write('        <td height="3" colspan="2" background="../images/dot_blue.gif"></td>');
    document.write('	</tr>');
    document.write('    <tr align="center" bgcolor="#C5C3C4">');
    document.write('        <td colspan="2">');
    document.write('            <table width="1003" border="0" cellspacing="0" cellpadding="0" class="newtext">');
    document.write('                <tr align="center" bgcolor="#C5C3C4" height="20">');
    document.write('                    <td><a href="http://www.headlinesindia.com/aboutus.html" class="newtext"><b>About Us</b></a></td>');
    document.write('			<td><a href="http://www.headlinesindia.com/disclaimer.html" class="newtext"><b>Disclaimer</b></a></td>');
    document.write('                    <td><a href="http://www.headlinesindia.com/feedback.html" class="newtext"><b>Feedback</b></a></td>');
    document.write('                    <td><a href="http://www.headlinesindia.com/news-sites-link/index.html" class="newtext"><b>News Links</b></a></td>');
    document.write('			<td><a href="http://www.headlinesindia.com/contact.html" class="newtext"><b>Contact Us</b></a></td>');
    document.write('                </tr>');
    document.write('            </table>');
    document.write('        </td>');
    document.write('    </tr>');
    document.write('    <tr bgcolor="#F3F3F3">');
    document.write('        <td style="font:normal 11px sans-serif;color:#171717;padding:10px">');
    document.write('            Copyright @ 2010 Headlinesindia.com. All rights reserved.<br><br>');
    document.write('            You may contact between 8 AM to 11 pm at our india office.<br>');
    document.write('            <b>India Office:</b> C-62, Community Center, Janakpuri, New Delhi-58,');
    document.write('            Tel +91-11-25536090, 25595898, Fax +91-11-25547264, Email: <a href="mailto:mail@headlinesindia.com">mail@headlinesindia.com</a><br>');
    document.write('            <b>US Office:</b> US Market Access Center, 111N Market Street, Suit No. 650, 6th floor, San Jose, California 95113-1101');
    document.write('        </td>');
    document.write('        <td align="right" style="padding:10px">');
    document.write('            <a href="http://www.mapsofindia.com" title="Maps of India">');
    document.write('                <img border="0" src="http://headlinesindia.mapsofindia.com/images/logo-moi-footer.gif" />');
    document.write('            </a>');
    document.write('        </td>');
    document.write('    </tr>');
    document.write('</table>');
}   

function random_banner()
{
  var i=0;
  banners = new Array();
  banners[0] = '<a href="http://www.headlinesindia.com/"><IMG SRC="http://www.headlinesindia.com/images/banner/dominban/headlines.jpg" WIDTH=468 HEIGHT=60 border="0"></a>';
  banners[1] = '<a href="http://www.business.headlinesindia.com/"><IMG SRC="http://www.headlinesindia.com/images/banner/dominban/business.jpg" WIDTH=468 HEIGHT=60 border="0"></a>';
  banners[2] = '<a href="http://www.cars.headlinesindia.com/"><IMG SRC="http://www.headlinesindia.com/images/banner/dominban/car.jpg" WIDTH=468 HEIGHT=60 border="0"></a>';
  banners[3] = '<a href="http://www.insurance.headlinesindia.com/"><IMG SRC="http://www.headlinesindia.com/images/banner/dominban/insurance.jpg" WIDTH=468 HEIGHT=60 border="0"></a>';
  banners[4] = '<a href="http://www.lifestyle.headlinesindia.com/"><IMG SRC="http://www.headlinesindia.com/images/banner/dominban/lifestyle.jpg" WIDTH=468 HEIGHT=60 border="0"></a>';
  banners[5] = '<a href="http://www.mutualfunds.headlinesindia.com/"><IMG SRC="http://www.headlinesindia.com/images/banner/dominban/mutual-fund.jpg" WIDTH=468 HEIGHT=60 border="0"></a>';
  banners[6] = '<a href="http://www.headlinesindia.com/sports/index.jsp"><IMG SRC="http://www.headlinesindia.com/images/banner/dominban/sportspsd.jpg" WIDTH=468 HEIGHT=60 border="0"></a>';
  return banners[Math.round(Math.random()*6)];
}

