// JavaScript Functions by Cam Owen (CRComic.net)

	function hideimage(){
		document.getElementById('imagebox').style.display='none';
		document.getElementById('imageb').style.display='none';
		return false;
	}
	function showimage(imgn, wid, hei, tex){
		document.getElementById('imageb').style.marginLeft= String(Math.round((-1)*(wid/2)));
		document.getElementById('imageb').style.marginTop= String(Math.round((-1)*(hei/2)));
		var ht='<img src="http://crcomic.net/img/'+imgn+'.jpg" width="'+wid+'" height="'+hei+'" onclick="hideimage()" />\n<div style="background-color: #000; text-align:center; color: #FFF; font-size:x-small; line-height:0.9; font-family: Helvetica, Arial, sans-serif">'+tex+'</div>'
		document.getElementById('imageb').innerHTML=ht;
		document.getElementById('imagebox').style.display='';
		document.getElementById('imageb').style.display='';
		return false;
	}