
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		splash_01 = newImage("links/splash_02.jpg");
		preloadFlag = true;
	}
}

function PageHeaderLogo()
{
	document.write("<A HREF='http://www.crimsoncrescent.com/main.shtml'><IMG SRC='http://www.crimsoncrescent.com/links/logo.gif' WIDTH='110' HEIGHT='110' BORDER='0' ALT='video game comics concept fan art illustration commission'></A>")
	document.write("<BR>")
	document.write("<FONT SIZE=2><B>Crimson Crescent Studios,</B></FONT><BR>")
}

function UpdateDate()
{
	document.write("<FONT SIZE=2><B>Updated:</B></FONT><BR>")
	document.write("15 November, 2008")
	document.write("<BR>")
}

function NavLinksVert()
{

	document.write("<BR>")
	document.write("<A HREF='http://www.crimsoncrescent.com/main.shtml'><FONT SIZE=3><B>NEWS</B></FONT></A><BR>")
	document.write("Info, Updates, plus <BR> Ranting and Raving (the R&R, no x-tra charge).")
	document.write("<BR><BR>")
	document.write("<A HREF='http://www.crimsoncrescent.com/3D/index.shtml'><FONT SIZE=3><B>3D</B></FONT></A><BR>")
	document.write("3D Graphics and Animations.")
	document.write("<BR><BR>")
	document.write("<A HREF='http://www.crimsoncrescent.com/commission/index.shtml'><FONT SIZE=3><B>COMMISSIONS</B></FONT></A><BR>")
	document.write("Available for long <BR>and short term work.")
	document.write("<BR><BR>")
	document.write("<A HREF='http://www.crimsoncrescent.com/concepts/index.shtml'><FONT SIZE=3><B>CONCEPTS</B></FONT></A><BR>")
	document.write("Video Games, Comics, & Various Sundry Concept Work.")
	document.write("<BR><BR>")
	document.write("<A HREF='http://www.crimsoncrescent.com/illustration/index.shtml'><FONT SIZE=3><B>ILLUSTRATION</B></FONT></A><BR>")
	document.write("Science Fiction, Fantasy, and Miscellaneous Illustrations.")
	document.write("<BR><BR>")
	document.write("<A HREF='http://www.crimsoncrescent.com/fanart/index.shtml'><FONT SIZE=3><B>FANART</B></FONT></A><BR>")
	document.write("Fanart from various games, anime, comics, et cetera.")
	document.write("<BR><BR>")
	document.write("<A HREF='http://www.crimsoncrescent.com/WIP/index.shtml'><FONT SIZE=3><B>WIP</B></FONT></A><BR>")
	document.write("Works In Progress <BR>covering various categories.")
	document.write("<BR><BR>")
	document.write("<A HREF='http://www.crimsoncrescent.com/links/index.shtml'><FONT SIZE=3><B>LINKS</B></FONT></A><BR>")
	document.write("Link You...Link Me...<BR>...Naturally...")
	document.write("<BR><BR>")
	
}

function ThisYear()
{
	var browserName = navigator.appName
	y = new Date()
	y.getYear()
	yearText = " "
	yearText = y.getYear()
	if (browserName == "Netscape")
		yearText = "2000" - "100" + yearText
	else if (browserName == "Microsoft Internet Explorer")
		yearText = yearText
	document.write(yearText)
	
}

function EmailLink()
{

	var addr1 = "mailto:"
	var addr2 = "cptoonz"
	var addr3 = "@"
	var addr4 = "crimsoncrescent.com"
	document.write('<A HREF="' + addr1 + addr2 + addr3 + addr4 + '">')
	document.write('cptoonz</A>')

}

function EmailLetUsKnowLink()
{

	var addr1 = "mailto:"
	var addr2 = "cptoonz"
	var addr3 = "@"
	var addr4 = "crimsoncrescent.com"
	document.write('<A HREF="' + addr1 + addr2 + addr3 + addr4 + '">')
	document.write('let us know!</A>')

}

function AdsBanner()
{

document.write("<A HREF='http://www.crimsoncrescent.com/ads/index.shtml'><IMG SRC='http://www.crimsoncrescent.com/ads/temp_ad_nav.jpg' WIDTH='468' HEIGHT='60' BORDER='1' ALT='Banner ad space holder...'></A>")

}

function AdsSkyscraper()
{

document.write("<A HREF='http://www.crimsoncrescent.com/ads/index.shtml'><IMG SRC='http://www.crimsoncrescent.com/ads/temp_ad_sky.jpg' WIDTH='120' HEIGHT='600' BORDER='1' ALT='Skyscraper ad space holder...'></A>")

}