function tabSelectInit(contItems,topItems,stTab) {
}

function tabSelectMouseOver(id) {
	
	var acontSel = id+"cont";
	if (document.getElementById(acontSel).style.display == "none") {
		tabObj = setTimeout("tabSelectMouseOverAct('"+id+"')", 200);

	} else {
		return false;
	}
}
function tabSelectMouseOut(id) {
	var acontSel = id+"cont";
	if (document.getElementById(acontSel).style.display == "none") {
		clearTimeout(tabObj);
	}
}

function tabSelectMouseOverAct(id) {
	var acontSel = id+"cont";
	var v = document.getElementById(id).parentNode.id;
	var l = document.getElementById(v);
	var topcover = document.getElementById(id).parentNode.parentNode.id;
	
	posNum = (230*id.substring(id.length-1, id.length))-230
	document.getElementById(topcover).style.backgroundPosition = "0px -"+ posNum +"px"
	
	for(i=0;i<l.childNodes.length;i++) {
		atop = l.childNodes[i].id;
		if (atop != undefined) {
			acont = l.childNodes[i].id + "cont";
			document.getElementById(acont).style.display = "none";
		}
	}
		
	a = document.getElementById(id);
	a.style.cursor='hand';
	a.style.cursor='pointer';
		
	document.getElementById(acontSel).style.display = "block";
	
}





// Maximize div height
function resizeDiv(divObj) {
	divObj.style.height = divObj.parentNode.offsetHeight + "px";
}

// Loop divs and find divs to be resized
function locateResizeDiv() {
	var divElements = document.getElementById("page").getElementsByTagName("div");
	for (i = 0; i < divElements.length; i++) {	
		if (divElements[i].className.indexOf("resizeDiv") != -1) {
			resizeDiv(divElements[i])
		}
	}
}

