// calculate.js


	function checkIndMenge() {
	  document.getElementById("auflageSt").value=auflage_min;
	  document.getElementById("auflageSt").style.color = "#aaaaaa";
      if(document.calcform.auflageInd.value == menge) {
        document.calcform.auflageInd.value = "";
        document.calcform.auflageInd.style.color = "#666F7F";
        document.calcform.auflageInd.maxLength = "6"; 
      }
    }
    
    function setStMenge(){
    	document.getElementById("auflageSt").style.color = "#666F7F";
    	var oldLength = document.calcform.auflageInd.maxLength;
    	document.calcform.auflageInd.maxLength = menge.length;
    	document.calcform.auflageInd.value = menge;
    	document.calcform.auflageInd.maxLength = oldLength;    	
    	document.calcform.auflageInd.style.color = "#aaaaaa";
    }
    
    function checkMenge() {
      if(document.calcform.auflage.value == menge) {
        document.calcform.auflage.value = "";
        document.calcform.auflage.style.color = "#666F7F";
        document.calcform.auflage.maxLength = "5"; 
      }
    }