function flash(path,w,h) {
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+w+'" height="'+h+'" id="nav" align="middle">');
		document.write('<param name="allowScriptAccess" value="sameDomain" />');
		document.write('<param name="movie" value="'+path+'" />');
		document.write('<param name="quality" value="high" />');
		document.write('<param name="bgcolor" value="#ffffff" />');
		document.write('<embed src="'+path+'" quality="high"  width="'+w+'" height="'+h+'" name="nav" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
		document.write('<'+'/object>');
} 
	
	
function hoverImg(id) {
	src=document.getElementById(id).src;
	origsrc=src;
	if(src.indexOf('_alpha_active.gif')>-1) {
		hoversrc=src.substr(0,src.indexOf('_alpha_active.gif'))+'_hover.gif';
	} else if(src.indexOf('_active.gif')>-1) {
		hoversrc=src.substr(0,src.indexOf('_active.gif'))+'_hover.gif';
	} else if(src.indexOf('immenu')>-1) {
		hoversrc=src.substr(0,src.indexOf('mode=0'))+'mode=_active';
	} else {
		hoversrc=src.substr(0,src.indexOf('.gif'))+'_hover.gif';
	}
	document.getElementById(id).src=hoversrc;
//	alert(origsrc);
}

function hoverImgReset(id) {
//	src=document.getElementById(id).src;
//	hoverResetsrc=src.substr(0,src.indexOf('_hover.gif'))+'.gif';
	document.getElementById(id).src=origsrc;
}

function bgHoverOn(id) {
	document.getElementById(id).style.backgroundColor='yellow'; 
}

function bgHoverOut(id) {
		document.getElementById(id).style.backgroundImage='url(http://www2007.h2omedia.de/wp-content/themes/h2omedia2007/images/0.gif)';
}

