var chk = 1;
function showhide(div, minh, maxh) {
	if ((chk == 1 || chk == 0) && document.getElementById(""+div+"").style.zIndex != '10') {
		tmr1 = 150;
		for(ix1 = minh; ix1 < maxh; ix1++) {
			tmr1 ++;
			setTimeout("document.getElementById('"+div+"').style.height = "+ix1+"+'px'", tmr1*3);
		}
	chk = 0;
	document.getElementById(""+div+"").style.zIndex = '10';
	} else if ((chk == 0 || chk ==1) && document.getElementById(""+div+"").style.zIndex == '10') {
		tmr2 = 150;
		for(ix2 = maxh; ix2 > (minh-1); ix2--) {
			tmr2 ++;
			setTimeout("document.getElementById('"+div+"').style.height = "+ix2+"+'px'", tmr2*3);
		}
	chk = 1;
	document.getElementById(""+div+"").style.zIndex = '9';
	}
}
