function ShowOneAndHideOthers( value ) {
  // verwendete IDs in "" und mit Komma getrennt
  var ids = ["order4"];

  for( var i = 0; i < ids.length; i++ ) {
    var obj = document.getElementById( ids[i] );
    if( obj )
      obj.style.display = (value == ids[i]) ? "block" : "none";
  }
}

function hidebyclass() {
	var allElems = document.getElementsByTagName('*');

	for (var i = 0; i < allElems.length; i++)
	{
		var thisElem = allElems[i];
		if (thisElem.className && thisElem.className == 'hidden')
		{
			thisElem.style.display = 'none';
		}
	}
}

function showbyclass(val)
{
	var allElems = document.getElementsByTagName('*');

	for (var i = 0; i < allElems.length; i++)
	{
		var thisElem = allElems[i];
		if (thisElem.className && thisElem.className == val)
		{
			thisElem.style.display = 'block';
		}
	}
}

function ShowOneAndHideOthers( value ) {
  // verwendete IDs in "" und mit Komma getrennt
  var ids = ["order4"];

  for( var i = 0; i < ids.length; i++ ) {
    var obj = document.getElementById( ids[i] );
    if( obj )
      obj.style.display = (value == ids[i]) ? "block" : "none";
  }
}

function showhidebyclass(value) {
/*
	var allElems = document.body.getElementsByTagName('*');
	for (var i=0; i<allElems.length; i++)
	{
		var thisElem = allElems[i];
		if (thisElem)
			thisElem.className = (value == allElems[i]) ? 'show' : 'hide';
	}
*/
}

function changeText(id,text){
    document.getElementById(id).innerHTML = text;
}

function changeOrderHeading(id,text1,text2,val,minval){
	//window.alert(minval +' ' + val);
	if(minval-1 >= val){
    	document.getElementById(id).innerHTML = text1;
	} else {
		document.getElementById(id).innerHTML = text2;
	}
}
