
stmarimgroll = new Array();
stmarimgroll[0] = "";// ok to leave empty
stmarimgroll[1] = "stma-05-tabs-events";
stmarimgroll[2] = "stma-05-tabs-result";
stmarimgroll[3] = "stma-05-tabs-promo";
stmarimgroll[4] = "stma-05-tabs-store";
stmarimgroll[5] = "stma-05-tabs-tickets";
stmarimgroll[6] = "stma-05-tabs-auctions";
stmarimgroll[7] = "stma-05-tabs-player";
stmarimgroll[8] = "stma-05-tabs-where";

stmarsonimages = [];
stmarsoffimages = [];
for(i=0; i < stmarimgroll.length; i++){
	stmarsonimages[i] =  new Image();
	stmarsonimages[i].src = "http://graphics.fansonly.com/schools/stma/graphics/"+stmarimgroll[i]+"-on.gif";
	stmarsoffimages[i] =  new Image();
	stmarsoffimages[i].src = "http://graphics.fansonly.com/schools/stma/graphics/"+stmarimgroll[i]+"-off.gif";
}
function tabimgOn(imageName,num) {
	//num = imageName.split("e");
	document[imageName].src = stmarsonimages[num].src;  
}
function tabimgOff(imageName,num) {  
	//num = imageName.split("e");
	document[imageName].src = stmarsoffimages[num].src;
}

function recalc(){

}


function loadnew(targ,file){
 //getTabCount(tab)  // commenting out will cease tab color change
	
	if(!document.all && document.getElementById){
	document.getElementById(targ+"IE").contentDocument.location.replace(file);
	}else{
	var loadObj = eval(targ+"IE");
	loadObj.location.replace(file);
	}

//}
}//end func
