var m3339_btnCount = 1;
var m3339_staCount = 3;
var m3339_btnImages = new Array();
for (i= 0; i< m3339_btnCount; i++)
{
	m3339_btnImages[i] = new Array();
	for (j= 0; j< m3339_staCount; j++)
	{
		m3339_btnImages[i][j] = new Image();
		m3339_btnImages[i][j].src = 'images/m3339_mbtn' + i + '_' + j + '.gif';
	}
}
function m3339_btnMouseOut(img)
{
	document.images[img].src = m3339_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][0].src;
};
function m3339_btnMouseOver(img)
{
	document.images[img].src = m3339_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][1].src;
};
function m3339_btnMouseDown(img)
{
	document.images[img].src = m3339_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][2].src;
};
function m3339_gen_td(iIndex,sLink,sTarget,iWidth,iHeight,sHint) {
str="<td id=\"m3339_mbtn_td"+iIndex+"\">";
str+="<a onMouseOver=\"m3339_btnMouseOver('m3339_mbtn"+iIndex+"')\" onMouseOut=\"m3339_btnMouseOut('m3339_mbtn"+iIndex+"')\" onMouseDown=\"m3339_btnMouseDown('m3339_mbtn"+iIndex+"')\" href=\""+sLink+"\"";
if (sTarget.length >0)
	str+=" target=\""+sTarget+"\"";
str+=">";
str+="<img src=\"images/m3339_mbtn"+iIndex+"_0.gif\" name=m3339_mbtn"+iIndex+" border=0 width=\""+iWidth+"\" height=\""+iHeight+"\" alt=\""+sHint+"\">";
str+="</a></td>";
return str;
};
function m3339_get_table(bHor) {
str="<table id=\"m3339_mbtn_tb\" cellpadding=0 cellspacing=0 border=0>";
str+="<tr>";
str+=m3339_gen_td(0,"http://www.youinc.org/Calendar/calendar.aspx","","78","26","Training Calendar");
str+="</tr>";
str+="</table>";
return str;
};
result=m3339_get_table(true);
document.write(result);
