window.onload = init;

function init() {
	init_dgvi();
	if (gid('banner_bottom') != undefined) {
		swfobject.embedSWF('/img/misc/ani-ironman-20090616.swf', 'banner_bottom', '470', '60', '9', 0, 0, 0, 0);
	}
	if (gid('start_flash') != undefined) {
		swfobject.embedSWF('/img/misc/start.swf', 'content_inner_div', '470', '370', '9', 0, 0, 0, 0);
		gid('content_inner_div').style.marginTop = '30px';
	}
}

function win(url,name,feat) {
	name=window.open(url,name,feat);
	name.focus();
}
function tranq(f,u) {
	m = new Array("&#105;","&#116;","&#111;","&#109;","&#97;","&#108;");
	document.write("<a href="+m[3]+m[4]+m[0]+m[5]+m[1]+m[2]+"&#58;"+u+"&#64;"+f+">");
	document.write(u+"&#64;"+f+"</a>");
}
function img_switch(id,img) {
	document.getElementById(id).src = img;
}

function init_dgvi() {
	var e = document.getElementById('dgiv');
	if (e != undefined) {
		setTimeout("show_dgvi()",800);
	}
}
function show_dgvi(e) {
	var e = document.getElementById('dgiv');
	e.style.display='block';
}

function img_brosch(id,z) {
	var e = document.getElementById(id);
	e.style.display = z;
}

function gid(id) {
	return document.getElementById(id);
}

