
function setTitle(oid, url, title, date) {
	var o = document.getElementById(oid);
	if(o) {
		o.innerHTML = createText(title, url, date, oid, '/swf/h1date', 670, 38);
	}
}

function createText(s, url, date, id, src, w, h) {
	s = escape(s);
	url = escape(url);
	date = escape(date);
	return '<div onmouseover="linkOver(\'myTitle' + id + '\')" onmouseout="linkOut(\'myTitle' + id + '\')">' + AC_FL_RunContentStr('codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0', 'id', 'myTitle' + id, 'name', 'myTitle' + id, 'width', w,'height', h,'src','titel'+ id,'quality','high','pluginspage', 'http://www.macromedia.com/go/getflashplayer','bgcolor', '#ffffff', 'wmode', 'transparent', 'movie', src + '?t=' + s + '&url='+url + '&d='+date) + '</div>';
}

function linkOver(id){
	var m = getFlashMovieObject(id);
	if(m){
		m.linkOver();
	}
}

function linkOut(id){
	var m = getFlashMovieObject(id);
	if(m){
		m.linkOut();
	}
}

function getFlashMovieObject(movieName){
	//alert(navigator.appName);
	if (document.embeds && document.embeds[movieName]){
		return document.embeds[movieName]; 
	} else if (window.document[movieName]) {
		return window.document[movieName];
	} else { // if (navigator.appName.indexOf("Microsoft Internet")!=-1)	{
		return document.getElementById(movieName);
	}
}