browserName = navigator.appName.substring(0,8);
browserVer = parseFloat(navigator.appVersion);

if (browserName == 'Microsof'){
	document.write("<link href='css/style.css' rel='stylesheet' type='text/css'>");
}else{
	document.write("<link href='css/styleMoz.css' rel='stylesheet' type='text/css'>");
//	document.write("<link href='css/styleNet.css' rel='stylesheet' type='text/css'>");
}
var Browser = 0;

if (browserName == 'Microsof' && browserVer < 4){Browser = 0;}
if (browserName == 'Microsof' && browserVer >= 4){Browser = 1;}
if (browserName == 'Netscape' && browserVer < 4){Browser = 1;}
if (browserName == 'Netscape' && browserVer >= 4){Browser = 1;}

if(Browser == 1){
img = new Array(16);
for (m=0; m<=16; m++){
img[m] = new Image();
}
img[0].src = 'images/but-home.gif';
img[1].src = 'images/but-home-over.gif';
img[2].src = 'images/but-bibles.gif';
img[3].src = 'images/but-bibles-over.gif';
img[4].src = 'images/but-books.gif';
img[5].src = 'images/but-books-over.gif';
img[6].src = 'images/but-tones.gif';
img[7].src = 'images/but-tones-over.gif';
img[8].src = 'images/but-walls.gif';
img[9].src = 'images/but-walls-over.gif';
img[10].src = 'images/but-inspire.gif';
img[11].src = 'images/but-inspire-over.gif';
img[12].src = 'images/but-links.gif';
img[13].src = 'images/but-links-over.gif';
img[14].src = 'images/but-contact.gif';
img[15].src = 'images/but-contact-over.gif';
}
function m_over(index){
if(Browser == 1){
	if(index == 1){
		setTimeout('document.i1.src = img[1].src',0);
	}
	if(index == 2){
		setTimeout('document.i2.src = img[3].src',0);
	}
	if(index == 3){
		setTimeout('document.i3.src = img[5].src',0);
	}	
	if(index == 4){
		setTimeout('document.i4.src = img[7].src',0);
	}	
	if(index == 5){
		setTimeout('document.i5.src = img[9].src',0);
	}	
	if(index == 6){
		setTimeout('document.i6.src = img[11].src',0);
	}	
	if(index == 7){
		setTimeout('document.i7.src = img[13].src',0);
	}
	if(index == 8){
		setTimeout('document.i8.src = img[15].src',0);
	}					
  }
}
function m_out(index){
if(Browser == 1){
	if(index == 1){
		setTimeout('document.i1.src = img[0].src',0);
	}
	if(index == 2){
		setTimeout('document.i2.src = img[2].src',0);
	}
	if(index == 3){
		setTimeout('document.i3.src = img[4].src',0);
	}	
	if(index == 4){
		setTimeout('document.i4.src = img[6].src',0);
	}	
	if(index == 5){
		setTimeout('document.i5.src = img[8].src',0);
	}
	if(index == 6){
		setTimeout('document.i6.src = img[10].src',0);
	}
	if(index == 7){
		setTimeout('document.i7.src = img[12].src',0);
	}	
	if(index == 8){
		setTimeout('document.i8.src = img[14].src',0);
	}			
  }
}
