document.write("<div class='masthead'>");
//document.write("<div class='top-strip'></div>");
document.write("<a href='/index.html'><div class='logo-holder'></div></a>");
var home="";
var xmlHttp=null;

if (document.all){
 home +="<div style='float:left; width:15px; height:15px;'><img src='http://content.cricketnirvana.com/images/home-button.jpg' border='0' alt='Make this site your Home Page'   align='left'></div><div style='float:left; border:0px solid red; margin-left:3px; margin-top:2px;'><A HREF='#' class='link-drkblue' onClick=\"this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.cricketnirvana.com\')\";>";
  home +='Make this site your Home Page</a>';
}

// If it's Mozilla, tell user to drag link onto Home button
else if (document.getElementById){
 home +="<div style='float:left; width:15px; height:15px;'><img src='http://content.cricketnirvana.com/images/home-button.jpg' border='0' alt='Drag this link onto your Home button to make this your Home Page'  title='Drag this link onto your Home button in your tool bar to make this your Home Page' align='left'></div><div style='float:left; border:0px solid red; margin-left:3px; margin-top:1px;'><a href='http://www.cricketnirvana.com' onclick='return test();' class='link-drkblue'  title='Drag this link onto your Home button to make this your Home Page'>&nbsp;Make this site your Home Page </a>";
}

// If it's Netscape 4 or lower, give instructions to set Home Page
else if (document.layers){
 home +="<div style='float:left; width:15px; height:15px;'><img src='http://content.cricketnirvana.com/images/home-button.jpg' border='0' alt='Drag this link onto your Home button to make this your Home Page'  title='Drag this link onto your Home button in your tool bar to make this your Home Page' align='left'></div><div style='float:left; border:0px solid red; margin-left:3px; margin-top:1px;'><a href='http://www.cricketnirvana.com' onclick='return test();' class='link-drkblue'  title='Drag this link onto your Home button to make this your Home Page'>&nbsp;Make this site your Home Page </a>";
}


document.write("<div class='make-homepage' style='width:735px; float:right;padding-left:0px;'><div>"+home+"&nbsp;&nbsp;|&nbsp;&nbsp; <a class='link-drkblue' href=\"javascript:bookmarksite('Cricket Nirvana','http://www.cricketnirvana.com')\">Bookmark this site</a></div><div class='top-right-corner-holder'><a href='http://www.filmnirvana.com' target='_blank'><div class='home-entertainment-logo-1'></div></a><a href='http://www.showtimevideo.co.in' target='_blank'><div class='film-nirvana-logo-1'></div></a></div></div>");
//document.write("<div class='daily-cast-holder1'>");
//document.write("<div class='daily-cast-header-left'><b>Daily News Cast</b><br clear='all'><a href='/news_cast/hindi-news-cast.html' class='link-black'>&#x0939;&#x093f;&#x0902;&#x0926;&#x0940;</a></div>");
//document.write("<div class='daily-cast-header-right'><b>Daily News Cast</b><br clear='all'><a href='/news_cast/eng-news-cast.html' class='link-black'>English</a></div>");
//document.write("</div>");
//document.write("<div class='top-right-corner-holder'><a href='http://www.filmnirvana.com' target='_blank'><div class='home-entertainment-logo-1'></div></a><a href='http://www.showtimevideo.co.in' target='_blank'><div class='film-nirvana-logo-1'></div></a></div>");
//document.write("<div class='top-banner-holder'><iframe src='/scripts/728x90.html' width='100%' height='90px' scrolling='no' frameborder='no' marginwidth='0' marginheight='0'></iframe></div>");
document.write("<div class='top-banner-holder'>");
//document.write("<img src='/flash/top90.gif' border='0'>");
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='728' height='90' id='top1_trination' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='http://content.cricketnirvana.com/banners/top1_trination_v1.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' />");
document.write("<embed src='http://content.cricketnirvana.com/banners/top1_trination_v1.swf' quality='high' bgcolor='#ffffff' width='728' height='90' name='top1_trination' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object>");
document.write("</div>");
//document.write("<div class='advertisement'><div class=top_arrow></div>ADVERTISMENT</div>");
document.write("</div>");
document.write("</div>");
function resizeFrame(f) {
if(f!=null && document.getElementById(f.id) != null) {
	f.style.height = f.contentWindow.document.body.scrollHeight + "px";
    } 
}

function openmatchcast(filename)
{
	nwin=window.open("http://www.cricketnirvana.com/flash/matchcast/scorecenter.aspx?"+ filename +"&1","cricketcentre","top=0,left=0,menubar=no,toolbar=no,location=no,resizable=no,scrollbars=no,status=no,width=998px,height=740px")
}

function openmatchcast_domestic(filename)
{
	nwin=window.open("http://www.cricketnirvana.com/flash/matchcast/scorecenter.aspx?"+ filename +"&0","cricketcentre","top=0,left=0,menubar=no,toolbar=no,location=no,resizable=no,scrollbars=no,status=no,width=998px,height=740px")
}

function open_cdn_matchcast(filename,vidstatus)
{
    if(vidstatus=="yes")
    {
	    nwin=window.open("http://livescores.cricketnirvana.com/flash/matchcast/scorecenter_vid.html?"+ filename +"","cricketcentre","top=0,left=0,menubar=no,toolbar=no,location=no,resizable=no,scrollbars=no,status=no,width=998px,height=740px")
    }
    else
    {
	    nwin=window.open("http://livescores.cricketnirvana.com/flash/matchcast/scorecenter_nonvid.html?"+ filename +"","cricketcentre","top=0,left=0,menubar=no,toolbar=no,location=no,resizable=no,scrollbars=no,status=no,width=998px,height=740px")
    }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}