	// Image highlights 
	function move_in(img_name,img_src) {
		if (document.images) { document.images[img_name].src=img_src }
	}
	function move_out(img_name,img_src) {
		if (document.images) { document.images[img_name].src=img_src }
	}
	// Floater plain
	function floater(width,height,url) {
		floaterWin = window.open(url,'floaterDoc','height='+height+',width='+width+',left=0,top=0,dependent=yes,resizable=yes,scrollbars=no');
		window.floaterWin.focus();
	}
	// Floater with scrollbars       
	function floaterScroll(width,height,url) {
		scrollfloaterWin = window.open(url,'floaterScrollDoc','height='+height+',width='+width+',left=0,top=0,dependent=yes,resizable=yes,scrollbars=yes');
		window.scrollfloaterWin.focus();
	}
	// Popup
	function openWindow(width, height, name, url) {
		SepWindow = window.open(url, name, 'height='+height+', width='+width+', left=0, top=0, dependent=yes, resizable=yes, scrollbars=yes');
		window.SepWindow.focus();
	}

	// Zoom
	function openZoom(media,href,width,height) {
		if (width<468) { width=468; }
		width += 13; height += 159;
		zoomWin = window.open('/memberzone/postcard/view.php?media='+escape(media)+'&'+'href='+escape(href)+'&frames=0','zoomDoc','width='+width+',height='+height+',toolbar=no,resizable=yes,scrollbars=no');
		window.zoomWin.focus();
	}

	// Video
	function openVideo(file,width,height) {
		if (!width) { width = 192; }
		if (!height) { height = 132; }
		winWidth = width + 32;
		winHeight = height + 160;
		if (winWidth<490) { winWidth=490; }
		videoWin = window.open('/tool/video.php?file='+escape(file)+'&width='+width+'&height='+height,'videoDoc','width='+winWidth+',height='+winHeight+',toolbar=no,resizable=yes,scrollbars=no');
		window.videoWin.focus();
	}
	// Trailer
	function openTrailer(movie_id, format, lang) {
		if (format) { format = '&format='+format } else { format = '' }
		trailerWin = window.open('http://www.cineman.ch/tool/trailer.php?movie_id='+movie_id+format+'&lang='+lang,'trailerDoc','width=550,height=450,dependent=yes,toolbar=no,status=no,menubar=no,resizable=yes,scrollbars=no');
		window.trailerWin.focus();
	}
	function openInterviewTrailer(movie_id, id_interview) {
		trailerWin = window.open('/tool/trailer_interview.php?movie_id='+movie_id+'&id_interview='+id_interview,'trailerDoc','width=550,height=400,dependent=yes,toolbar=no,status=no,menubar=no,resizable=yes,scrollbars=no');
		window.trailerWin.focus();
	}
	function openVideoreview(movie_id) {
		trailerWin = window.open('/tool/trailer_videoreview.php?movie_id='+movie_id, 'trailerDoc' ,'width=550,height=400,dependent=yes,toolbar=no,status=no,menubar=no,resizable=yes,scrollbars=no');
		window.trailerWin.focus();
	}

	// Artikel drucken/senden
	function openAction(url,name,features) {
		quelle = window.document.location.href;
		window.open(url+'?file='+quelle,name,features);
	}

	// Artikel drucken/senden neu mit encodierter Quelle (01.09.2005)
	function openActionNew(url,name,features) {
		quelle = window.document.location.href;
		while(quelle.indexOf("&") != -1){
			quelle = quelle.replace(/&/, "kfmnn");
		}
		while(quelle.indexOf("+") != -1){
			quelle = quelle.replace(/\+/, "plssgn");
		}
		window.open(url+'?file='+quelle,name,features);
	}

	function ausklapp(zellennr) {
		var zelle_klein = 'beitrag_klein_' + zellennr;
		var zelle_gross = 'beitrag_gross_' + zellennr;
		document.getElementById(zelle_klein).style.display = 'none';
		document.getElementById(zelle_gross).style.display = 'inline';
	}
	function einklapp(zellennr) {
		var zelle_klein = 'beitrag_klein_' + zellennr;
		var zelle_gross = 'beitrag_gross_' + zellennr;
		document.getElementById(zelle_klein).style.display = 'inline';
		document.getElementById(zelle_gross).style.display = 'none';
	}
