function showLyrics(a){var b=document.getElementById("lyrics");a=a.replace(/\n/g,"<br/>");b.innerHTML=a}function showMessage(b){var a=document.getElementById("message");a.innerHTML=b}window.onload=function(){var c=getUrlVars(),d=document.getElementById("artist"),a=document.getElementById("album"),b=document.getElementById("track");if(c.artist&&c.track){d.innerHTML=c.artist;a.innerHTML=c.album;b.innerHTML=c.track;lyricFetcher.fetch(c.artist,c.album,c.track,showLyrics)}else{if(getUrlVars()["message"]){showMessage(getUrlVars()["message"])}}};