// Variablen

// Funktionsaufrufe

// Funktionen
// alphabetisch geordnet
function ccH(yPos) { //call flevSlideDiv
	flevSlideDiv('help',110,yPos,10,0,0)
}
	
function sjH(yPos) { //call flevSlideDiv
	flevSlideDiv('help',310,yPos,10,0,0)
}

function CurrentComp_IDset(actcomp,lastcomp){
  this.actcomp = actcomp;
  this.lastcomp = lastcomp;
}

function Datum_fis(){
	var d = new Date();
	var year = d.getFullYear();
	var month = d.getMonth();
	var date = d.getDate()
	var hours = d.getHours();
	var minutes = d.getMinutes();
	var seconds = d.getSeconds()
	var day = d.getDay();
	
	//var dateArray = new Array("Sun", "Mon", "Tue");
	//dateArray = dateArray.concat("Wed","Thu", "Fri");
	//dateArray = dateArray.concat("Sat");
	
	var monthArray = new Array("Jan", "Feb", "Mar", "Apr");
	monthArray = monthArray.concat("Mai", "Jun","Jul", "Aug");
	monthArray = monthArray.concat("Sep", "Oct", "Nov", "Dec");

	//dateValue = "" + dateArray[day]
	//dateValue += ", " + year
	//dateValue += ((month < 10) ? ".0" : ".") + month
	//dateValue += ((date < 10) ? ".0" : ".") + date
	var dateValue = " " + date
	dateValue += " " + monthArray[month]
	dateValue += " " + year
	
	var timeValue = "" + ((hours >12) ? hours -12 :hours)
	if (timeValue == "0") timeValue = 12;
	timeValue += ((minutes < 10) ? ":0" : ":") + minutes
	timeValue += ((seconds < 10) ? ":0" : ":") + seconds
	timeValue += (hours >= 12) ? " P.M." : " A.M."

	return(dateValue + " " + timeValue);
}

function reload_all_cc() {
	tmt_DivSwitch('reload');
	parent.parent.frames.nav.location.href = parent.parent.frames.nav.location.href ;
	//parent.frames.results.location.reload();
	parent.frames.results_list.location.href = parent.frames.results_list.location.href;
	parent.frames.results_footer.location.href = parent.frames.results_footer.location.href;
	window.setTimeout('tmt_DivSwitch(\'reload\')',30000)
}

function reload_all_cc_nav() {
	self.location.reload();
	//parent.frames.results.location.reload();
	parent.frames.results.results_list.location.href = parent.frames.results.results_list.location.href ;
	parent.frames.results.results_footer.location.href = parent.frames.results.results_footer.location.href;
}

function reload_all_sj() {
	//self.location.reload();
	//parent.frames.results.location.reload();
	//parent.frames.sl_foot.location.reload();
	parent.frames.current.location.href = parent.frames.current.location.href;
	parent.frames.rl_list.location.href = parent.frames.rl_list.location.href;
	parent.frames.rl_foot.location.href = parent.frames.rl_foot.location.href;
}

//replaced functions
function reload_all__OLD_warIn_sj_current__() {
	self.location.reload();
	//parent.frames.results.location.reload();
	//parent.frames.event_name.location.reload();
	parent.frames.rl_list.location.href = parent.frames.rl_list.location.href;
	parent.frames.rl_foot.location.href = parent.frames.rl_foot.location.href;
}