<!--

function changeBgnd(nr) {
	document.getElementById("site").style.backgroundImage='url(img/palmedia_bgnd_'+nr+'.jpg)';
}

function changeStyle(nr) {
	if(nr != '0') { document.getElementById("CSS").href = 'css/screen_'+nr+'.css'; }
	else { document.getElementById("CSS").href = 'css/screen.css'; }
}

function embedFlash(file) 	// Preparing Websites with Active Content for Announced Browser Changes
{											// Einbetten von Flash Filme vorallem für IE, wegen Active-x Probleme
											// variable "file" wird von der besuchten website übergeben, und soll die einbindung vereinfachen.
											// diese entspricht dem dateinamen inkl pfad der flash animation.
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n');
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" \n');
	document.write('width="720" height="540" class="inhalt_index">\n');
	document.write(' <param name="movie" value="');  
	document.write(file);	// hier bei "file" wird automatisch die flash-dateiname ausgegeben
	document.write('" />\n');
	document.write('<param name="quality" value="high" /><param name="SCALE" value="exactfit" />\n');
	document.write('<embed src="');
	document.write(file);	// hier bei "file" wird automatisch die flash-dateiname ausgegeben
	document.write('" width="720" height="540" style="background-image:url(Bilder/inhalt_empty.jpg) " quality="high" \n');
	document.write(' pluginspage="http://www.macromedia.com/go/getflashplayer" \n');
	document.write(' type="application/x-shockwave-flash" scale="exactfit"></embed>\n');
	document.write('</object>\n');
}

-->
