function show_refDB( refDB,refID ){
	
	form = document.searchForm;
	lang = form.lang.value;
	if (lang == "pt"){ oneLetterLang = "p"; }
	if (lang == "es"){ oneLetterLang = "e"; }
	if (lang == "en"){ oneLetterLang = "i"; }

	if (refDB == 'LILACS'){
		id = refID.substr(refID.indexOf('-')+1);

		refUrl = "http://bases.bireme.br/cgi-bin/wxislind.exe/iah/online/?IsisScript=iah/iah.xis&base=" + refDB + "&lang=" + oneLetterLang + "&nextAction=lnk&exprSearch=" + id + "&indexSearch=ID" + "#1";
	}else{	
		refUrl = "http://cochrane.bvsalud.org/doc.php?db=" + refDB + "&id=" + refID;
	} 
	refWindow = window.open(refUrl, "reference", "height=590,width=730,menubar=yes,toolbar=yes,location=no,resizable=yes,scrollbars=yes,status=no,left=400");
	refWindow.focus();
	
	return false;
}



