
function swap(oImg, sSrc) {
	oImg.src = sSrc;
}

function fetchFlash(sSrc, width, height,classname) {
	if (sSrc != '?link=') {
		document.write(''
			+ '\n<div class="'+classname+'"><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="' + width + '" height="' + height + '" id="tmp" align="middle">'
			+ '\n	<param name="allowScriptAccess" value="sameDomain" />'
			+ '\n	<param name="movie" value="' + sSrc + '" />'
			+ '\n	<param name="quality" value="high" />'
			+ '\n	<param name="bgcolor" value="#ffffff" />'
			+ '\n	<embed src="' + sSrc + '" quality="high" bgcolor="#ffffff" width="' + width + '" height="' + height + '" name="tmp" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
			+ '\n</object></div>'
		+ '');
	}
}

function showCompany(url, id) {
	new_window = window.open(url + '/?company=' + id, "company" + id + "Win", "scrollbars=yes,resizable=yes,height=410,width=340,status=0");
	new_window.focus();
	return false;
}