/* to powinno zadziałać przy body onload, ale na IE nie działa 
function getob() {
	var object = document.createElement("object");
	object.setAttribute("type", "application/x-shockwave-flash");
	object.setAttribute("data", "g/slides.swf");
	object.setAttribute("width", "230");
	object.setAttribute("height", "156");
	var para = document.createElement("param");
	para.setAttribute("name", "movie");	
	para.setAttribute("value", "g/slides.swf");		
	var paraii = document.createElement("param");
	paraii.setAttribute("wmode", "transparent");	
	var parent = document.getElementById('objectbox');
	parent.appendChild(object);
	object.appendChild(para);
	object.appendChild(paraii);
}

*/


document.write('<object type="application/x-shockwave-flash" \n');
document.write(' data="g/slides.swf" width="230" height="156" title="zobacz galerię zdjęć" >\n');
document.write('<param name="movie" value="g/slides.swf" />\n');
document.write('<param name="wmode" value="transparent" />\n');
document.write('<a href="?i=galeria"><img src="g/slides.gif" alt="Fotografie" width="230" height="156" /></a>\n');
document.write('</object>\n');

