/* # $Id: autonomous1.js 17330 2010-03-15 18:05:28Z xabier $
 */

function showBio(s) {
   document.getElementById("bioFrame").src = "/x/showbio?n=" + escape(s);
}

var Research = {
    m_over : function(el) {
	if (el.className.indexOf(" over") == -1)
	    el.className += " over";
    },
 
    m_out: function (el) {
	el.className = el.className.replace(/ over/, "");
    },

    m_showpdf: function (id) {
	var w = window.open("/x/research?id=" + encodeURIComponent(id));
	if (w) w.focus();
    },

    m_showtxt: function (id) {
	var w = window.open("/x/research-display.html?rid=" + encodeURIComponent(id));
	if (w) w.focus();
    },
    
    company_link: function(id) {
	location.href = "research-company.html?cid=" + encodeURIComponent(id);
    }
}

var Autonodaily = {
	m_showdaily: function (id) {
		var w = document.location = "/x/autonodaily.html?id=" + encodeURIComponent(id);
	}
}

