var e1_start_statusText = "ÜberKings - Rock of the 60s und 70s";
var e1_bandinfo_statusText = "ÜberKings Bandinfo";
var e1_technik_statusText = "Technik";
var e1_termine_statusText = "ÜberKings Live - Termine";
var e1_demo_statusText = "ÜberKings Demos";
var e1_download_statusText = "Download Area";
var btn_instantcontact_statusText ="ÜberKings Instant Contact";

var pix_banner_josef_statusText = "Josef Kirschgen - Schlagzeug";
var pix_banner_bernd_statusText = "Bernd Renn - Bass und Gesang";
var pix_banner_pit_statusText = "Pit Hupperten - Lead Gesang";
var pix_banner_markus_statusText = "Markus Wienstroer - Gitarre und Gesang";


function changeImage(imageActual,imageChange,statusText){
  imageActual.src = "images/"+imageChange;
  window.status=statusText;
}



var pfad = "images/";
function showImage(image){
	popup_image = pfad+image;
	var popup = window.open("popup.html","Popup","width=540,height=550,reziseable=no,location=no,toolbar=0,menubar=no,titlebar=yes");
	popup.focus();
}


function shop(){
	var popup = window.open("shop.html","Shop","width=790,height=550,reziseable=no,location=no,toolbar=no,menubar=no,titlebar=yes");
	popup.focus();
}

function democd(){
	var popup = window.open("democd.html","Shop","width=790,height=550,reziseable=no,location=no,toolbar=no,menubar=no,titlebar=yes");
	popup.focus();
}

function instantContact(){
	var instantContact = window.open("instantcontact.html","InstantContact","width=272,height=400,reziseable=no,location=no,toolbar=0,menubar=no,titlebar=yes");
	instantContact.focus();
}

function guestbook(){
	var guestbook = window.open("guestbook/guestbook.php","Gästebuch","width=600,height=700,reziseable=no,location=no,toolbar=0,menubar=no,scrollbars=yes");
	guestbook.focus();
}

/*
Text="ÜberKings - Rock Of The 60s And 70s";
Fuelltext=" ";
Geschwindigkeit = 40;
Position= 0;
SText=Fuelltext+Text+Fuelltext+Text;
function statusZeile() {
    if ( Position == (Fuelltext.length + Text.length)) {
        Position = 0;
        }
    StText=SText.substring(Position,SText.length);
    window.defaultStatus = StText;
    Position ++ ;
    setTimeout( "StatusLauftext()" , Geschwindigkeit );
}
*/


var status = 1;
function checkForm(){
	if(self.document.formular_shop.Vor_und_Nachname.value.length==0){
		alert("Bitte geben Sie Ihren Vor- und Nachnamen an");
		self.document.formular_shop.Vor_und_Nachname.focus();
		status=0;
		return false;
	}
	if(self.document.formular_shop.Str_und_Nr.value.length==0){
		alert("Bitte geben Straße und Hausnummer  an");
		self.document.formular_shop.Str_und_Nr.focus();
		status=0;
		return false;
	}
	if(self.document.formular_shop.PLZ_und_Ort.value.length==0){
		alert("Bitte geben Sie Ihre Postleitzahl und Wohnort  an");
		self.document.formular_shop.PLZ_und_Ort.focus();
		status=0;
		return false;
	}
	if(self.document.formular_shop.EMail.value.length==0){
		alert("Bitte geben Sie Ihre E-Mail-Adresse an");
		self.document.formular_shop.EMail.focus();
		status=0;
		return false;
	}
	status = 1;
	if(status==1){
		self.document.formular_shop.submit();
	}
}

var statusInstantcontact = 1;
function checkFormInstantcontact(){
	if(self.document.formular_instantcontact.Vor_und_Nachname.value.length==0){
		alert("Bitte geben Sie Ihren Namen ein.");
		self.document.formular_instantcontact.Vor_und_Nachname.focus();
		statusInstantcontact=0;
		return false;
	}
	if(self.document.formular_instantcontact.EMail.value.length==0){
		alert("Bitte geben Sie Ihre E-Mail-Adresse an");
		self.document.formular_instantcontact.EMail.focus();
		statusInstantcontact=0;
		return false;
	}
	if(self.document.formular_instantcontact.Text.value.length==0){
		alert("Sie haben noch keinen Text eingegeben.");
		self.document.formular_instantcontact.Text.focus();
		statusInstantcontact=0;
		return false;
	}
	statusInstantcontact = 1;
	if(statusInstantcontact==1){
		self.document.formular_instantcontact.submit();
	}
}

var price_rebirth=15;
function price(){
	actualPrice=self.document.formular_shop.Anzahl.value*price_rebirth;
	self.document.formular_shop.Zwischensumme.value= actualPrice+".00";
	self.document.formular_shop.Gesamtsumme.value= (actualPrice+7.2)+"0";
}


// var pix_presse_koelnerstadtanzeiger = "<img src=\"images/pix_presse_koelnerstadtanzeiger.gif\" width=\"562\" height=\"835\"  border=\"0\">";
var pix_presse_koelnerstadtanzeiger = "images/pix_presse_koelnerstadtanzeiger.gif";


function popupPresse(pix){
	var popup_presse=window.open('popup_presse_koelnerstadtanzeiger.html','ÜberKings','width=550,height=840');
	popup_presse.focus();
}
