var m6877_btnCount = 5;
var m6877_staCount = 3;
var m6877_btnImages = new Array();
for (i= 0; i< m6877_btnCount; i++)
{
	m6877_btnImages[i] = new Array();
	for (j= 0; j< m6877_staCount; j++)
	{
		m6877_btnImages[i][j] = new Image();
		m6877_btnImages[i][j].src = 'menu/m6877_mbtn' + i + '_' + j + '.gif';
	}
}
function m6877_btnMouseOut(img)
{
	document.images[img].src = m6877_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][0].src;
};
function m6877_btnMouseOver(img)
{
	document.images[img].src = m6877_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][1].src;
};
function m6877_btnMouseDown(img)
{
	document.images[img].src = m6877_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][2].src;
};
function m6877_gen_td(iIndex,sLink,sTarget,iWidth,iHeight,sHint) {
str="<td id=\"m6877_mbtn_td"+iIndex+"\">";
str+="<a onMouseOver=\"m6877_btnMouseOver('m6877_mbtn"+iIndex+"')\" onMouseOut=\"m6877_btnMouseOut('m6877_mbtn"+iIndex+"')\" onMouseDown=\"m6877_btnMouseDown('m6877_mbtn"+iIndex+"')\" href=\""+sLink+"\"";
if (sTarget.length >0)
	str+=" target=\""+sTarget+"\"";
str+=">";
str+="<img src=\"menu/m6877_mbtn"+iIndex+"_0.gif\" name=m6877_mbtn"+iIndex+" border=0 width=\""+iWidth+"\" height=\""+iHeight+"\" alt=\""+sHint+"\">";
str+="</a></td>";
return str;
};
function m6877_get_table(bHor) {
str="<table id=\"m6877_mbtn_tb\" cellpadding=0 cellspacing=0 border=0>";
str+="<tr>";
str+=m6877_gen_td(0,"http://www.globalpediatrics.com/doctors/doctors.asp","","88","25","Meet the Doctors of Global Pediatrics");
if (bHor==false) str+="</tr><tr>";
str+=m6877_gen_td(1,"http://www.globalpediatrics.com/practice/ourpractice.asp","","109","25","Our Practice");
if (bHor==false) str+="</tr><tr>";
str+=m6877_gen_td(2,"http://www.globalpediatrics.com/facilities/facilities.asp","","100","25","See our custom-designed facility!");
if (bHor==false) str+="</tr><tr>";
str+=m6877_gen_td(3,"http://www.globalpediatrics.com/patient/resources.asp","","140","25","Resources");
if (bHor==false) str+="</tr><tr>";
str+=m6877_gen_td(4,"http://www.globalpediatrics.com/bulletin/healthbulletin.asp","","98","25","Health Bulletin");
str+="</tr>";
str+="</table>";
return str;
};
result=m6877_get_table(true);
document.write(result);
