<!--
	function pageCalc(pagenum,precat,subcat,isCI)
	{
		document.supercounterform.AM_page.value=pagenum;
		if(isCI)
		{
			document.supercounterform.pre_cat_open.value=precat;
			document.supercounterform.id.value=subcat;
		}
		else
		{
			document.supercounterform.pre_cat_open.value=0;
			document.supercounterform.id.value=0;
		}
		document.supercounterform.submit();
	}
	
	function counterCalc(countervalue)
	{
		document.supercounterform.AM_supercounter.value=countervalue;
	}
	function commitSearch()
	{
		stringvalue = document.getElementById("fulltext").value;
		if(stringvalue.length<4)
		{
			alert("Ser Suchbegriff sollte mindestens 4 Zeichen lang sein!");
			return;
		}
		else
		{
			/*
			document.supercounterform.AM_layoutID.value=6;
			document.supercounterform.AM_search.value=1;
			document.supercounterform.send_form.value=1;
			document.supercounterform.method="POST";
			*/
			document.searchform.submit();
		}
	}

    function commitPicDelete(posid,lang_id)
    {
      if(lang_id==49) message = confirmtDeleteDE;
      else message = confirmDeleteEN;
	  doit = confirm(message);
	  if(!doit)
	  { return; }
	  else
	  {
    	document.singleeditform.AM_deletepic.value=1;
    	document.singleeditform.AM_picposid.value=posid;
    	document.singleeditform.submit();			 
	  }    
    }  
    
    function getWindow(url,title,props,posX,posY)
    {
      customWindow = window.open(url,title,props);
      customWindow.moveTo(posX,posY);
      customWindow.focus();
    } 
    
    function switchSetcardPanel(tobeshown,tobehidden)
    {
    	document.getElementById(tobehidden).style.display="none";
    	document.getElementById(tobeshown).style.display="";
    }  
   

    
      	
//-->
