bild1= new Image();
bild1.src= "Daten/Audio_Video/SSchweiz1.jpg";
bild2 = new Image();
bild2.src="Daten/Audio_Video/SSchweiz1_on.jpg";

function wechsel() {
	window.document.images["video1"].src= bild2.src;
}
function zurueck() {
	window.document.images["video1"].src=bild1.src;
}
/******************************/
/* Funktionen für den Overlay */
/******************************/

function moveVideo(){
	var s = getWinSize();
	var sp = getScrollXY();

	var top1 = $('#Top1');
	var off = top1.offset();
	var w = top1.width();

	var overlay = $('#video_overlay');
	overlay.css("left", off.left + ( w - overlay.width() ) / 2 );
	if( s.h < 450 ){
		overlay.css("top", 0);
	}else{
		overlay.css("top", ( s.h  - 450 ) / 2 + sp[1] );
	}
}
function play_video( url_to_swf, w ){
	if( typeof url_to_swf == "undefined" ){
		return false;
	}

	if( typeof w == "undefined" ){
		w = 800;
	}

	var c = document.getElementById("video_dummy");
	if (!c) {
		var c = document.createElement("div");
		c.setAttribute("id", "video_dummy");
		document.getElementById("video_content").appendChild(c);
	}
	swfobject.embedSWF(url_to_swf, "video_dummy", w, "400", "9.0.0");
	$('#video_overlay').width(w).show();
	moveVideo();
	return true;
}
function hide_video(){
	$('#video_overlay').hide();
	swfobject.removeSWF("video_dummy");
}