var m3642_btnCount = 5;
var m3642_staCount = 3;
var m3642_btnImages = new Array();
for (i= 0; i< m3642_btnCount; i++)
{
	m3642_btnImages[i] = new Array();
	for (j= 0; j< m3642_staCount; j++)
	{
		m3642_btnImages[i][j] = new Image();
		m3642_btnImages[i][j].src = 'http://www.tsijournals.com/msaij/images/m3642_mbtn' + i + '_' + j + '.gif';
	}
}
function m3642_btnMouseOut(img)
{
	document.images[img].src = m3642_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][0].src;
};
function m3642_btnMouseOver(img)
{
	document.images[img].src = m3642_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][1].src;
};
function m3642_btnMouseDown(img)
{
	document.images[img].src = m3642_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][2].src;
};
function m3642_gen_td(iIndex,sLink,sTarget,iWidth,iHeight,sHint) {
str="<td id=\"m3642_mbtn_td"+iIndex+"\">";
str+="<a onMouseOver=\"m3642_btnMouseOver('m3642_mbtn"+iIndex+"')\" onMouseOut=\"m3642_btnMouseOut('m3642_mbtn"+iIndex+"')\" onMouseDown=\"m3642_btnMouseDown('m3642_mbtn"+iIndex+"')\" href=\""+sLink+"\"";
if (sTarget.length >0)
	str+=" target=\""+sTarget+"\"";
str+=">";
str+="<img src=\"images/m3642_mbtn"+iIndex+"_0.gif\" name=m3642_mbtn"+iIndex+" border=0 width=\""+iWidth+"\" height=\""+iHeight+"\" alt=\""+sHint+"\">";
str+="</a></td>";
return str;
};
function m3642_get_table(bHor) {
str="<table id=\"m3642_mbtn_tb\" cellpadding=1 cellspacing=2 border=0>";
str+="<tr>";
str+=m3642_gen_td(0,"http://tsijournals.com/msaij/index.htm","","175","26","Button1");
if (bHor==false) str+="</tr><tr>";
str+=m3642_gen_td(1,"http://tsijournals.com/msaij/pdfs/GFP%20of%20MSAIJ.pdf","","175","26","Button2");
if (bHor==false) str+="</tr><tr>";
str+=m3642_gen_td(2,"http://tsijournals.com/sub","","175","26","Button3");
if (bHor==false) str+="</tr><tr>";
str+=m3642_gen_td(3,"http://tsijournals.com/msaij/MatED.htm","","175","26","Button4");
if (bHor==false) str+="</tr><tr>";
str+=m3642_gen_td(4,"http://tsijournals.com/msaij/MatTOC.htm","","175","26","Button5");
str+="</tr>";
str+="</table>";
return str;
};
result=m3642_get_table(false);
document.write(result);
