var x ="0000";

function SagWat(txt){
	window.status = txt;
	setTimeout("SagNix()",3000);
             }

function SagNix(){
	window.status="Steuerung ist bereit..";
             }

function voll() {


window.top.moveTo(-15, -60);
var high = screen.height+60;
var wide = screen.width+20;

window.top.outerHeight = high;
window.top.outerWidth = wide;

window.top.resizeTo(wide, high);

}

function normal() {

window.top.moveTo(0, 0);
var high = screen.height-25;
var wide = screen.width;

window.top.outerHeight = high;
window.top.outerWidth = wide;

window.top.resizeTo(wide, high);

}

function lade(was) {
//var wohin="/cgi-bin/ris/gen_mod.cgi?"+was";

	document.ausgabe.wohin.value=was;
	document.ausgabe.submit();

}

function cam5(was,x) {

	if(was != 1) {
	parent.frames.AKTION.location.href="/cgi-bin/ris/cam_mod.cgi?"+was+"&"+x+"&";}
	else {
	parent.frames.AKTION.location.href="/cgi-bin/ris/gen_mod.cgi?leer&daten&";
	}

}

function exit(was) {
	parent.frames.AKTION.location.href="/cgi-bin/ris/gen_mod.cgi?leer&daten&";
}

function Clip(string) {
      fenster = window.open(string,"new","width=220,height=300,directories=no,status=yes,scrollbars=no,resize=no,menubar=yes,locationbar=no,screenx=0,screeny=0,pageXOffset=0,pageYOffset=0,top=0,left=0;");
fenster.focus();
}

function fenster(string) {
var hoch = screen.height-50;
var wide = screen.width-10;
      fenster2 = window.open(string,"neu","width="+wide+",height="+hoch+",directories=no,status=yes,scrollbars=no,resize=no,menubar=no,locationbar=no,toolbar=yes,screenx=0,screeny=0,pageXOffset=0,pageYOffset=0,top=0,left=0;");
fenster2.focus();
}

function Checke(SchauMaMal)
{
var x = 1;
  if (SchauMaMal.name.value.length < 1)
  {
    alert("Bitte Vor- und Zuname angeben!! Nur dann ist eine korrekte Bearbeitung gewährleistet");
    SchauMaMal.name.focus();
	var x = 0;
	lade('tickets&daten&menu4');
//	return false;
  }
  if (SchauMaMal.email.value.length < 4)
  {
    alert("Bitte eine gültige Emailadresse angeben!");
    SchauMaMal.email.focus();
	var x = 0;
	lade('tickets&daten&menu4');
//	return false;
  }
  if(x == 1){lade('eticket&daten');}
}
