var m8475_btnCount = 5;

var m8475_staCount = 3;

var m8475_btnImages = new Array();

for (i= 0; i< m8475_btnCount; i++)

{

	m8475_btnImages[i] = new Array();

	for (j= 0; j< m8475_staCount; j++)

	{

		m8475_btnImages[i][j] = new Image();

		m8475_btnImages[i][j].src = 'images/m8475_mbtn' + i + '_' + j + '.gif';

	}

}

function m8475_btnMouseOut(img)

{

	document.images[img].src = m8475_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][0].src;

};

function m8475_btnMouseOver(img)

{

	document.images[img].src = m8475_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][1].src;

};

function m8475_btnMouseDown(img)

{

	document.images[img].src = m8475_btnImages[img.substring(img.indexOf('_mbtn')+5,img.length)][2].src;

};

function m8475_gen_td(iIndex,sLink,sTarget,iWidth,iHeight,sHint) {

str="<td id=\"m8475_mbtn_td"+iIndex+"\">";

str+="<a onMouseOver=\"m8475_btnMouseOver('m8475_mbtn"+iIndex+"')\" onMouseOut=\"m8475_btnMouseOut('m8475_mbtn"+iIndex+"')\" onMouseDown=\"m8475_btnMouseDown('m8475_mbtn"+iIndex+"')\" href=\""+sLink+"\"";

if (sTarget.length >0)

	str+=" target=\""+sTarget+"\"";

str+=">";

str+="<img src=\"images/m8475_mbtn"+iIndex+"_0.gif\" name=m8475_mbtn"+iIndex+" border=0 width=\""+iWidth+"\" height=\""+iHeight+"\" alt=\""+sHint+"\">";

str+="</a></td>";

return str;

};

function m8475_get_table(bHor) {

str="<table id=\"m8475_mbtn_tb\" cellpadding=0 cellspacing=0 border=0>";

str+="<tr>";

str+=m8475_gen_td(0,"index.html","","73","32","Button1");





if (bHor==false) str+="</tr><tr>";

str+=m8475_gen_td(3,"aboutus.htm","","92","32","Button4");

if (bHor==false) str+="</tr><tr>";

str+=m8475_gen_td(4,"mailto:Info@SecuritySystems.com?subject=INQUIRY","","103","32","Button5");

str+="</tr>";

str+="</table>";

return str;

};

result=m8475_get_table(true);

document.write(result);


