
 function replaceCrossRefs(s) {
s=s.replace('VIPERDB:','http://viperdb.scripps.edu/info_page.php?USEJAVAWS&VDB=');
s=s.replace('ALIGN{','http://www.bioinformatics.org/strap/strap.php?USEJAVAWS&align=');
s=s.replace('LOC{','http://www.bioinformatics.org/strap/strap.php?USEJAVAWS&dialog=L&align=');
s=s.replace('BLAST{','http://www.bioinformatics.org/strap/strap.php?USEJAVAWS&dialog=B&align=');
s=s.replace('STRAPec{','http://www.bioinformatics.org/strap/strap.php?USEJAVAWS&rename=sp&align=UNIPROT_EC:');
s=s.replace('PRINTS:','http://soap.genome.ad.jp/dbget-bin/www_bget?prints+');
s=s.replace('PIR:','http://pir.georgetown.edu/cgi-bin/nbrfget?uid=');
s=s.replace('INTACT:','http://www.ebi.ac.uk/intact/search/do/search?searchString=');
s=s.replace('PDOC:','http://www.expasy.org/cgi-bin/nicedoc.pl?');
s=s.replace('PROSITE:','http://www.expasy.org/cgi-bin/nicesite.pl?');
s=s.replace('TCDB:','http://www.tcdb.org/tcdb/index.php?tc=');
s=s.replace('MEMTRANS_HSAP:','http://www.membranetransport.org/protein.php?pOID=hsap2&pSynonym=');
s=s.replace('PFAM:','http://pfam.sanger.ac.uk/family?acc=');
s=s.replace('Pfam:','http://pfam.sanger.ac.uk/family?acc=');
s=s.replace('PfamA:','http://pfam.sanger.ac.uk/family?acc=');
s=s.replace('TCDB{','http://www.tcdb.org/simple_search.php/??QUERY=');
s=s.replace('TDB{','http://www.membranetransport.org/search.php??type=%&family=All+Families+&protein=All+Transporters&search=S&substrate1=');
s=s.replace('ENST','http://www.ensembl.org/Homo_sapiens/transview?transcript=ENST');
s=s.replace('ENSP','http://www.ensembl.org/Homo_sapiens/protview?peptide=ENSP');
s=s.replace('PMID:','http://www.ncbi.nlm.nih.gov:80/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=');
s=s.replace('PMID','http://www.ncbi.nlm.nih.gov:80/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=');
s=s.replace('PUBMED:','http://www.ncbi.nlm.nih.gov:80/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=');
s=s.replace('pmid:','http://www.ncbi.nlm.nih.gov:80/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=');
s=s.replace('PubMed=','http://www.ncbi.nlm.nih.gov:80/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=');
s=s.replace('MEDLINE=','http://www.ncbi.nlm.nih.gov:80/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=');
s=s.replace('UBIC:','http://www.bioinformatics.ubc.ca/resources/tools/');
s=s.replace('PUBMEDCENTRAL:','http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=');
s=s.replace('OVIDWEB:','http://ovidsp.tx.ovid.com/spa/ovidweb.cgi?T=JS&PAGE=fulltext&D=ovft&AN=');
s=s.replace('ENSG{','http://www.ensembl.org/Homo_sapiens/Search/Summary?species=Homo_sapiens;idx=;q=');
s=s.replace('ENSEMBL{','http://www.ensembl.org/Homo_sapiens/Search/Summary?species=all;idx=;q=');
s=s.replace('ENSG','http://www.ensembl.org/Homo_sapiens/geneview?gene=ENSG');
s=s.replace('ENSMUSG','http://www.ensembl.org/Mus_musculus/geneview?gene=ENSMUSG');
s=s.replace('IPI','http://www.ebi.ac.uk/cgi-bin/dbfetch?db=IPI&style=raw&id=IPI');
s=s.replace('UPI','http://www.ebi.ac.uk/cgi-bin/dbfetch?db=UNIPARC&style=raw&id=UPI');
s=s.replace('BRENDAec{','http://www.brenda-enzymes.info/php/result_flat.php4?ecno=');
s=s.replace('BRENDAec:','http://www.brenda-enzymes.info/php/result_flat.php4?ecno=');
s=s.replace('KEGGr:','http://www.genome.jp/dbget-bin/www_bget?rn+');
s=s.replace('KEGGec{','http://www.genome.jp/dbget-bin/www_bget?enzyme+');
s=s.replace('KEGGpw:','http://www.genome.jp/dbget-bin/get_pathway?org_name=ko&mapno=');
s=s.replace('KEGGc:','http://www.genome.jp/dbget-bin/www_bget?compound:');
s=s.replace('KLIGAND:','http://www.genome.jp/dbget-bin/www_bget?cpd:');
s=s.replace('PUBMED{','http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?CMD=search&DB=pubmed&term=');
s=s.replace('ISI{','http://apps.isiknowledge.com/UA_GeneralSearch.do??fieldCount=1&SID=newSession&action=search&product=UA&search_mode=GeneralSearch&value(select1)=TS&value(input1)=');
s=s.replace('CITEXPLORE{','http://www.ebi.ac.uk/citexplore/performQuery.do??queryString=');
s=s.replace('UNIPROT{','http://www.uniprot.org/uniprot/?sort=score&query=');
s=s.replace('GOOGLE{','http://www.google.com/search?q=');
s=s.replace('METACYC{','http://metacyc.org/META/substring-search?type=NIL&object=');
s=s.replace('UMBBDec{','http://umbbd.msi.umn.edu/servlets/pageservlet?ptype=e&ECcode=');
s=s.replace('METACYCec{','http://metacyc.org/META/substring-search?type=NIL&object=');
s=s.replace('INTENZec{','http://www.ebi.ac.uk/intenz/query?cmd=SearchEC&ec=');
s=s.replace('EXPASYec{','http://www.expasy.org/cgi-bin/nicezyme.pl?');
s=s.replace('REACTOMEec{','http://www.reactome.org/cgi-bin/link?SOURCE=EC&ID=');
s=s.replace('NISTec{','http://xpdb.nist.gov/enzyme_thermodynamics/enzyme_compose_query.pl?EC=');
s=s.replace('GO:','http://www.ebi.ac.uk/ontology-lookup/?termId=GO%3A');
s=s.replace('NCBI_TAXONOMY:','http://www.ncbi.nlm.nih.gov:80/htbin-post/Taxonomy/wgetorg?id=');
s=s.replace('PDB:','http://www.rcsb.org/pdb/cgi/explore.cgi?pdbId=');
s=s.replace('PDB_RCSB:','http://www.rcsb.org/pdb/cgi/explore.cgi?pdbId=');
s=s.replace('PDB_CATALYTIC_SITE:','http://www.ebi.ac.uk/thornton-srv/databases/cgi-bin/CSA/CSA_Site_Wrapper.pl?pdb=');
s=s.replace('PDB_SUM:','http://www.ebi.ac.uk/pdbsum/');
s=s.replace('JENA:','http://www.fli-leibniz.de/cgi-bin/ImgLib.pl?EXPAND=interactive,tool&CODE=');
s=s.replace('PDB_DALI:','http://ekhidna.biocenter.helsinki.fi/dali/daliquery?find=');
s=s.replace('PDB_COLUMBA:','http://wbi.informatik.hu-berlin.de/columba/columba.cgi?action=single_result&pdbid=');
s=s.replace('PDB_PQS:','http://pqs.ebi.ac.uk/pqs-bin/pqs-hits?px=');
s=s.replace('UNIPROT:','http://www.ebi.uniprot.org/entry/');
s=s.replace('UNIPROTKB:','http://www.ebi.uniprot.org/entry/');
s=s.replace('SWISS:','http://www.ebi.uniprot.org/entry/');
s=s.replace('UR050:','http://www.ebi.uniprot.org/entry/');
s=s.replace('UR090:','http://www.ebi.uniprot.org/entry/');
s=s.replace('UR100:','http://www.ebi.uniprot.org/entry/');
s=s.replace('EMBL:','http://www.ebi.ac.uk/cgi-bin/dbfetch?db=EMBL&id=');
s=s.replace('EMBLCDS:','http://www.ebi.ac.uk/cgi-bin/dbfetch?db=EMBLCDS&id=');
s=s.replace('NCBI_AA:','http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=nuccore&id=');
s=s.replace('NCBI_NT:','http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=nuccore&id=');
s=s.replace('NCBI_GEO:','http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=');
s=s.replace('WIKI:','http://en.wikipedia.org/wiki/');
s=s.replace('WIKI:','http://en.wikipedia.org/wiki/');
s=s.replace('BIOWIKI:','http://pdbwiki.org/index.php/');
s=s.replace('BIOPERL:','http://www.bioperl.org/wiki/');
s=s.replace('BIOWIKI:','http://biowiki.org/');
s=s.replace('WIKTION:','http://en.wiktionary.org/wiki/');
s=s.replace('BioinfWIKI:','http://wiki.bioinformatics.org/');
s=s.replace('BioinfOrg:','http://www.bioinformatics.org/');
s=s.replace('REACTOM:','http://www.reactome.org/cgi-bin/control_panel_st_id?ST_ID=');
s=s.replace('WWONLINE:','http://www.wordwebonline.com/en/');
s=s.replace('BIONITY:','http://www.bionity.com/lexikon/e/');
s=s.replace('PDBWIKI:','http://pdbwiki.org/index.php/');
s=s.replace('PRODOM:','http://prodom.prabi.fr/prodom/current/cgi-bin/request.pl?question=SPTR&query=');
s=s.replace('INTERPRO:','http://www.ebi.ac.uk/interpro/IEntry?ac=');
s=s.replace('FSSP:','http://jura.ebi.ac.uk:8765/holm/qz?find=');
s=s.replace('BIOCYC_PW:','http://biocyc.org/META/NEW-IMAGE?type=PATHWAY&object=');
s=s.replace('MRANKER{','http://cbdm.mdc-berlin.de/tools/medlineranker/cgi-bin/ranker.pl??trset=allmesh&bgset=medline&tset=trset&trset_text=');
s=s.replace('MRANKERR{','http://cbdm.mdc-berlin.de/tools/medlineranker/cgi-bin/ranker.pl??trset=allmesh&bgset=medline&tset=recent&trset_text=');
s=s.replace('MolEvolFormats*','http://www.molecularevolution.org/mbl/resources/fileformats/');
s=s.replace('EBI_Formats*','http://www.ebi.ac.uk/help/formats_frame.html');
s=s.replace('/FTId=','http://www.expasy.ch/cgi-bin/get-sprot-variant.pl?');
s=s.replace('FTId=','http://www.expasy.ch/cgi-bin/get-sprot-variant.pl?');
s=s.replace('COMPOUND_CHEBI:','http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:');
s=s.replace('COMPOUND_3DMET:','http://www.3dmet.dna.affrc.go.jp/bin2/show_data.e?acc=');
s=s.replace('COMPOUND_PUBCHEM:','http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?sid=');
s=s.replace('DASTY:','http://www.ebi.ac.uk/dasty/client/ebi.php?label=BIOSAPIENS&q=');
s=s.replace('Spice-Browser*','http://www.efamily.org.uk/software/dasclients/spice/');
s=s.replace('CE_CL*','http://cl.sdsc.edu/');
s=s.replace('Vast*','http://www.ncbi.nlm.nih.gov/Structure/VAST/vasthelp.html');
s=s.replace('GangstaPlus*','http://agknapp.chemie.fu-berlin.de/gplus/');
s=s.replace('Dali*','http://ekhidna.biocenter.helsinki.fi/dali');
s=s.replace('Asymmetric_unit*','http://www.rcsb.org/robohelp/data_download/biological_unit/asymmetric_unit.htm');
s=s.replace('GFF_EXPASY:','http://beta.uniprot.org/uniprot/?format=gff&query=');
s=s.replace('NCBI_NEIGHBOR:','http://structure.ncbi.nlm.nih.gov/Structure/vast/vastsrv.cgi?sdid=');
s=s.replace('GO:','http://www.ebi.ac.uk/ego/GTerm?format=obo&id=GO:');
s=s.replace('PMID:','http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmode=text&rettype=medline&id=');
s=s.replace('PUBMED:','http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmode=text&rettype=medline&id=');
s=s.replace('PMID','http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmode=text&rettype=medline&id=');
s=s.replace('pmid','http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmode=text&rettype=medline&id=');
return s;
 }