	function first(){	// send the user to the first comic
		document.changeComic.comic.value = 1
		document.changeComic.submit()
	}

	function today(){	// send the user to today's comic
		document.changeComic.comic.value = document.changeComic.today.value
		document.changeComic.submit()
	}

	function selComic(){
		document.changeComic.comic.value = document.changeComic.pickAComic.value
		document.changeComic.submit()
	}

	function previous(){	// send the user to the previous comic
		document.changeComic.comic.value = (parseInt(document.changeComic.comic.value) - 1)
		document.changeComic.submit()
	}

	function next(){	// send the user to the next comic
		document.changeComic.comic.value = (parseInt(document.changeComic.comic.value) + 1)
		document.changeComic.submit()
	}
	function Comic(){
		document.getElementById('tehComic').innerHTML = "<img src="+Curl+" align=center>&nbsp;";

		//document.getElementById('holder').style.height = document.getElementById('theComic').height;
		//document.getElementById('theComic').src = document.getElementById('theComic').src;
	}

	function reposWin(){
		document.getElementById('mainWin').style.left = ((document.documentElement.scrollWidth/2) - (document.getElementById('mainWin').scrollWidth/2))+"px";
		if (((document.documentElement.scrollWidth/2) - (document.getElementById('mainWin').scrollWidth/2)) < 0)
			document.getElementById('mainWin').style.left = "0px";
	}

	function writeButtons(){
		myText = "&nbsp;&nbsp;<a href='introduction.html'>Introduction</a><br>";
		myText += "&nbsp;&nbsp;<a href='news.php'>News</a><br>";
		myText += "&nbsp;&nbsp;<a href='http://www.cafepress.com/loms' target=new>Store</a><br>";
		myText += "&nbsp;&nbsp;<a href='mailto:league@mad.scientist.com'>E-Mail</a><br>";
		document.getElementById("myButtons").innerHTML = myText;
	}
