function linksShow(act) {
	var gDiv = document.getElementById('dropLinks');
	if (act==1) {
		gDiv.className = '';
	}
	if (act==0) {
		gDiv.className = 'hideDiv';
	}
}
function rollOver(id,stat) {
	var imgName = 'images/';
	var imgNameO = 'images/';
	var ozInd = 0;
	var chzin = document.getElementById(id).style.zIndex;
	
	if (id=='homeImg') {
		imgName += 'homeButt.png';
		imgNameO += 'homeButtOver.png';
		ozInd = 4;
	}
	if (id=='servicesImg') {
		imgName += 'servicesButt.png';
		imgNameO += 'servicesButtOver.png';
		ozInd = 3;
	}
	if (id=='testiImg') {
		imgName += 'testiButt.png';
		imgNameO += 'testiButtOver.png';
		ozInd = 2;
	}
	if (id=='contactImg') {
		imgName += 'contactButt.png';
		imgNameO += 'contactButtOver.png';
		ozInd = 1;
	}
	var altHover = 6;
	if (chzin==5) {
		ozInd = 5;
		altHover = 5;
		imgName = imgNameO;
	}
	if (stat==0) {
		document.getElementById(id).src = imgNameO;
		document.getElementById(id).style.zIndex = altHover ;
	}
	if (stat==1) {
		document.getElementById(id).src = imgName;
		document.getElementById(id).style.zIndex = ozInd; 
	}
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
