var ver = navigator.appVersion.toLowerCase();
var name = navigator.appName.toLowerCase();
var stdptsz, lrgptsz, smallptsz, vlrgptsz, introsize1, introsize2;

if (ver.indexOf("mac") != -1 ) {
	if (ver.indexOf("safari") != -1) {
		vlrgptsz = 14;
		lrgptsz = 11;
		redptsz = 10;
		stdptsz = 9;
		smallptsz = 8.5;
	} else if (name.indexOf("microsoft") != -1) {
		if (ver.indexOf("5.") != -1) {
			vlrgptsz = 14;
			lrgptsz = 11;
			redptsz = 10;
			stdptsz = 9;
			smallptsz = 8.5;
		} else {
			vlrgptsz = 17;
			lrgptsz = 14;
			redptsz = 13;
			stdptsz = 12;
			smallptsz = 10;
		}
	} else {
		vlrgptsz = 14;
		lrgptsz = 11;
		redptsz = 9.5;
		stdptsz = 9;
		smallptsz = 8.5;
	}
} else {
	if (name.indexOf("microsoft") != -1) {
		vlrgptsz = 14;
		lrgptsz = 11;
		redptsz = 10;
		stdptsz = 9;
		smallptsz = 7;
	} else {
		vlrgptsz = 14;
		lrgptsz = 11;
		redptsz = 10;
		stdptsz = 9;
		smallptsz = 7.5;
	}
}

document.writeln("<STYLE>");
document.writeln(".lightname { font-family: Arial, Helvetica, sans-serif; font-size: " + vlrgptsz + "pt; font-style: normal; font-weight: bold; color: #FFFFFF;}");
document.writeln(".introText1 { font-family: Arial, Helvetica, sans-serif; font-size: " + vlrgptsz + "pt; font-style: normal; font-weight: bold; color: #FFFFFF;}");
document.writeln(".introText2 { font-family: Arial, Helvetica, sans-serif; font-size: " + lrgptsz + "pt; font-style: normal; font-weight: bold; color: #FFFFFF;}");
document.writeln(".maintext { font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: normal; font-weight: normal; color: #FFFFFF;}");
document.writeln(".italictext { font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: italic; font-weight: normal; color: #FFFFFF;}");
document.writeln(".text { font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: normal; font-weight: normal; color: #FFFFFF;}");
document.writeln(".blacktext { font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: normal; font-weight: normal; color: #000000;}");
document.writeln(".midblacktext { font-family: Arial, Helvetica, sans-serif; font-size: " + (stdptsz + 1) + "pt; font-style: normal; font-weight: normal; color: #000000;}");
document.writeln(".smallblacktext { font-family: Arial, Helvetica, sans-serif; font-size: " + smallptsz + "pt; font-style: normal; font-weight: normal; color: #000000;}");
document.writeln(".smalltext { font-family: Arial, Helvetica, sans-serif; font-size: " + smallptsz + "pt; font-style: normal; font-weight: normal; color: #000000;}");
document.writeln(".upcomingtext { font-family: Arial, Helvetica, sans-serif; font-size: " + smallptsz + "pt; font-style: normal; font-weight: normal; color: #FFFFFF;}");
document.writeln(".smallitalictext { font-family: Arial, Helvetica, sans-serif; font-size: " + smallptsz + "pt; font-style: italic; font-weight: normal; color: #FFFFFF;}");
document.writeln(".largetext { font-family: Arial, Helvetica, sans-serif; font-size: " + lrgptsz + "pt; font-style: normal; font-weight: normal; color: #000000;}");
document.writeln(".largeboldtext { font-family: Arial, Helvetica, sans-serif; font-size: " + lrgptsz + "pt; font-style: normal; font-weight: bold; color: #000000;}");
document.writeln(".largeredboldtext { font-family: Arial, Helvetica, sans-serif; font-size: " + lrgptsz + "pt; font-style: normal; font-weight: bold; color: #9d1c24;}");
document.writeln(".vlargeredboldtext { font-family: Arial, Helvetica, sans-serif; font-size: " + (lrgptsz + 2) + "pt; font-style: normal; font-weight: bold; color: #9d1c24;}");
document.writeln(".redtext { font-family: Arial, Helvetica, sans-serif; font-size: " + redptsz + "pt; font-style: normal; font-weight: bold; color: #9d1c24;}");
document.writeln(".greytext { font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: normal; font-weight: normal; color: #333333;}");

document.writeln(".lightname { font-family: Arial, Helvetica, sans-serif; font-size: " + vlrgptsz + "pt; font-style: normal; font-weight: bold; color: #FFFFFF;}");
document.writeln(".introText1 { font-family: Arial, Helvetica, sans-serif; font-size: " + vlrgptsz + "pt; font-style: normal; font-weight: bold; color: #FFFFFF;}");
document.writeln(".upcomingtext { font-family: Arial, Helvetica, sans-serif; font-size: " + smallptsz + "pt; font-style: normal; font-weight: normal; color: #FFFFFF;}");

document.writeln(".homepageintrotext { font-family: Arial, Helvetica, sans-serif; font-size: " + (vlrgptsz + 4) + "pt; font-style: normal; font-weight: bold; color: #444444;}");
document.writeln(".homepagebodytext { font-family: Arial, Helvetica, sans-serif; font-size: " + (stdptsz + 1)+ "pt; font-style: normal; font-weight: normal; color: #444444;}");
document.writeln(".homepagebodyboldtextplusone { font-family: Arial, Helvetica, sans-serif; font-size: " + (stdptsz + 2)+ "pt; font-style: normal; font-weight: bold; color: #444444;}");
document.writeln(".homepagebodytextplusone { font-family: Arial, Helvetica, sans-serif; font-size: " + (stdptsz + 2)+ "pt; font-style: normal; font-weight: normal; color: #444444;}");

document.writeln(".bookonlinetext { font-family: Arial, Helvetica, sans-serif; font-size: " + (stdptsz + 2) + "pt; font-style: normal; font-weight: bold; color: #FFFFFF;}");
document.writeln(".addresslinetext { font-family: Arial, Helvetica, sans-serif; font-size: " + (stdptsz + 1) + "pt; font-style: normal; font-weight: bold; color: #444444;}");

document.writeln(".whatsontitletext { font-family: Arial, Helvetica, sans-serif; font-size: " + (vlrgptsz + 2) + "pt; font-style: normal; font-weight: bold; color: #444444;}");
document.writeln(".monthboldtext { font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: normal; font-weight: bold; color: #444444;}");
document.writeln(".introwhatsondatetext { font-family: Arial, Helvetica, sans-serif; font-size: " + lrgptsz + "pt; font-style: italic; font-weight: normal; color: #444444;}");

document.writeln(".actnametext { font-family: Arial, Helvetica, sans-serif; font-size: " + lrgptsz + "pt; font-style: italic; font-weight: bold; color: #000000;}");
document.writeln(".actdescriptiontext { font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: normal; font-weight: normal; color: #444444;}");
document.writeln(".eventdatestext { font-family: Arial, Helvetica, sans-serif; font-size: " + smallptsz + "pt; font-style: italic; font-weight: normal; color: #444444;}");

document.writeln("a { text-decoration:underline; font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #15208a;}");
document.writeln("a:visited { text-decoration:underline; font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #15208a;}");
document.writeln("a:hover { text-decoration:none; font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #000000;}");

document.writeln("a.monthanchor { text-decoration:underline; font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: normal; font-weight: bold; color: #15208a;}");
document.writeln("a:visited.monthanchor { text-decoration:underline; font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: normal; font-weight: bold; color: #15208a;}");
document.writeln("a:hover.monthanchor { text-decoration:none; font-family: Arial, Helvetica, sans-serif; font-size: " + stdptsz + "pt; font-style: normal; font-weight: bold; color: #15208a;}");

document.writeln("a.upcomingtextlink { color: #444444; text-decoration:none;  font-family: Arial, Helvetica, sans-serif; font-size: " + (smallptsz + 1) + "pt; font-style: normal; font-weight: bold;  }");
document.writeln("a:visited.upcomingtextlink { color: #444444; text-decoration:none;  font-family: Arial, Helvetica, sans-serif;  font-size: " + (smallptsz + 1) + "pt; font-style: normal; font-weight: bold; }");
document.writeln("a:hover.upcomingtextlink { color: #141c6f; text-decoration:none;  font-family: Arial, Helvetica, sans-serif;  font-size: " + (smallptsz + 1) + "pt; font-style: normal; font-weight: bold; }");

document.writeln("</STYLE>");

var imageList = [

				];
				
function loaded() {
	for (i=0; i < imageList.length; i++) {
		tmpImage = new Image();
		document.images[document.images.length] = tmpImage;
		tmpImage.src = imageList[i];
	}

}

function mouseOut(button) {
	var img = eval("document.images." + button);
		
	img.src = "Images/Buttons/Up/" + button + ".jpg";
	return;
}

function mouseOver(button) {
	var img = eval("document.images." + button);

	img.src = "Images/Buttons/Over/" + button + ".jpg";
	return;
}
