function goAmazon(artist,mode) {
    document.location.href = "http://www.amazon.com/exec/obidos/external-search?mode=" + mode + "&tag=russellsultimate2-20&keyword=" + artist;
}

function addLink(title,theurl) {
    document.location.href = "http://www.total-cheats.com/site/addlink.php?title=" + title + "&url=" + theurl;
}

function bookHTML(title,aid,imageurl,cdtitle,listprice) {
	document.write('<td><center><b><small></small></b><br><a href="http://www.amazon.com/exec/obidos/ASIN/' + aid + '/ref=nosim/russellsultimate2-20"><img src="' + imageurl + '" border="1"><br>' + cdtitle + '</a><br><small><font color="red"><b>' + listprice + '</b></font><br><a href="http://www.amazon.com/exec/obidos/external-search?mode=books&tag=russellsultimate2-20&keyword=' + escape(title,1) + '%20Strategy">(more books)</a></small><center></td>');
}

function gameboLink() {
	document.write('<br><b><a href="http://www.gamebo.com"><font color="#800000">Bored? Play Free Online Games at Gamebo.com!</font></a></b><br>');
}

function setCookie(NameOfCookie, value, expirehours) {
  var ExpireDate = new Date ();
  ExpireDate.setTime(ExpireDate.getTime() + (expirehours * 3600 * 1000));
  document.cookie = NameOfCookie + "=" + escape(value) + ((expirehours == null) ? "" : "; expires=" +
ExpireDate.toGMTString()) + "; path=/;";
}

var xCache = Math.floor(Math.random()*99999);
//document.write('<scr'+'ipt src="http://a1.interclick.com/getJs.aspx?a=&b=2,3,4,5&c=1&d=&t=12&wsid=2158&v=3.0&ind=&x='+xCache+'"></scr'+'ipt>');
