	var iIncrement = 10
	var iInterval = 20
	var iDirection = 0
	var iSlideTimer = null
	
	function slide(num,h) {
	  var oSlider = document.getElementById("slideme" + num);
	  var iDefHeight  = parseInt(h*20);
	  var iCurHeight = parseInt(oSlider.style.height.substring(0,oSlider.style.height.length-2));
	  if (iDirection == 0) {
	    iDirection = ((iCurHeight == 0) ? 1 : -1)
		if (typeof oSlider.style.display != "undefined" && oSlider.style.display == "none" && iCurHeight == 0) {
		  oSlider.style.height = iIncrement + 'px'
		  oSlider.style.display = "block"
		}
		//oSlider.style.display = (typeof oSlider.style.display != "undefined" && oSlider.style.display == "none" && iCurHeight != 0) ? "block" : "none"
	  }
	  if ((iCurHeight < iDefHeight) && (iDirection == 1) || (iCurHeight > iIncrement && iDirection == -1)) {
	    oSlider.style.height = iCurHeight + iIncrement*iDirection + 'px'
	    iSlideTimer = setTimeout("slide("+num+","+h+")",iInterval)
	  } else {
	    iDirection = 0
		clearTimeout(iSlideTimer)
		iSlideTimer = null
		if (typeof oSlider.style.display != "undefined" && oSlider.style.display == "block" && iCurHeight == iIncrement) {
		  oSlider.style.display = "none"
		  oSlider.style.height = 0 + 'px'
		}
	  }
	}
	
	function inline(pars) {
	  var oSlider2 = document.getElementById("slidemeinline" + pars);
		if (typeof oSlider2.style.display != "undefined" && oSlider2.style.display == "none") {
		  oSlider2.style.display = "inline"
		}
	  else {
		if (typeof oSlider2.style.display != "undefined" && oSlider2.style.display == "inline") {
		  oSlider2.style.display = "none"
		}
	  }
	}
	
	function block(obno) {
	  var oSlider3 = document.getElementById("slidemeblock" + obno);
		if (typeof oSlider3.style.display != "undefined" && oSlider3.style.display == "none") {
		  oSlider3.style.display = "block"
		}
	  else {
		if (typeof oSlider3.style.display != "undefined" && oSlider3.style.display == "block") {
		  oSlider3.style.display = "none"
		}
	  }
	}

