// 覧覧覧覧覧覧覧 DATE YEAR

today = new Date(); DateYear = today.getYear(); Brsr=navigator.appName
if (Brsr=="Netscape") { if (DateYear < 99) { DateYear = DateYear + 2000; } else { DateYear = DateYear + 1900 } }
function Year() { document.write(DateYear) }



// 覧覧覧覧覧覧覧 CACHE IMAGES ARRAY

function LoadImg() {
	image = new Array(); for (a=15; a<21; a++) { image[a] = new Image() }
	ImgF = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
		"home.anim.gif","home.stat.gif","about.anim.gif","about.stat.gif","contact.anim.gif","contact.stat.gif")

	for (a=15; a<21; a++) { image[a].src = "/images/design/" + ImgF[a] }
}



// 覧覧覧覧覧覧覧 GET DOMAIN

if (location.href.search("http://kaizenmuse/") != -1) {
WURL = "http://kaizenmuse"; } else { WURL = "http://www.kaizenmuse.com" }



// 覧覧覧覧覧覧覧 LINK MOUSEOVER APPEARANCES / TOP LINK

MenuSide = "#fff"; MenuSide2 = "#f6f6f6"; MenuBord = "#de8"; MenuBord2 = "#60bfdf"
function LNK(a,b) {
	if (a.style) { a.style.cursor = "pointer"; a.style.backgroundColor = MenuSide; a.style.borderColor = MenuBord; }
	window.status = WURL + b; return true
}

function LNK2(a) { if (a.style) { a.style.backgroundColor = MenuSide2; a.style.borderColor = MenuBord2; } window.status = ""; return true }
function LNK3(a,b) { if (a.style) { a.style.cursor = "pointer"; a.style.backgroundColor = "#fff"; } window.status = WURL + b; return true }
function LNK4(a) { if (a.style) { a.style.backgroundColor = "#f8f8f8"; } window.status = ""; return true }

function TOP(a) { if (a.style) { a.style.cursor = "pointer"; a.style.backgroundColor = "#ddd"; } window.status = "Go to top of page"; return true }
function TOP2(a) { if (a.style) { a.style.backgroundColor = "#fff"; } window.status = ""; return true }



// 覧覧覧覧覧覧覧 LINKS

function Go(a) { location = a }
function GoTop() { window.scrollTo(0,0) }



// 覧覧覧覧覧覧覧 LEFT MENU COLORS

STL = "\n<style type=\"text/css\">\n"; STL2 = "\n</style>\n";
MenuSTL = " { font-variant: small-caps; color: #000; }"
if (location.href.search("/programs/") != -1) {
	if (location.href.search("kmcc-training.html") != -1) {
		document.write(STL, ".MenuA { border-color: #c8da3a; }\na.M3:link, a.M3:visited, a.M3:hover ", MenuSTL, STL2);
		MenuBord = "#e8ff7a"; MenuBord2 = "#c8da3a"
	} else {
		document.write(STL, ".MenuA { border-color: #c8da3a; }\na.M1:link, a.M1:visited, a.M1:hover ", MenuSTL, STL2);
		MenuBord = "#e8ff7a"; MenuBord2 = "#c8da3a" } }
else if (location.href.search("/coaches/") != -1) {
	document.write(STL, ".MenuA { border-color: #903f98; }\na.M2:link, a.M2:visited, a.M2:hover ", MenuSTL, STL2);
	MenuBord = "#f07ff8"; MenuBord2 = "#903f98" }
else if (location.href.search("/products/") != -1) {
	document.write(STL, ".MenuA { border-color: #e7d500; }\na.M4:link, a.M4:visited, a.M4:hover ", MenuSTL, STL2);
	MenuBord = "#fff799"; MenuBord2 = "#e7d500" }
else if (location.href.search("/inspiration/") != -1) {
	document.write(STL, ".MenuA { border-color: #888; }\na.M5:link, a.M5:visited, a.M5:hover ", MenuSTL, STL2);
	MenuBord = "#ddd"; MenuBord2 = "#888" }
else if (location.href.search("/newsletter/") != -1) {
	document.write(STL, ".MenuA { border-color: #ed1c24; }\na.M6:link, a.M6:visited, a.M6:hover ", MenuSTL, STL2);
	MenuBord = "#faa"; MenuBord2 = "#ed1c24" }
else if (location.href.search("contact.html") != -1 || location.href.search("contact-sent.html") != -1) {
	document.write(STL, ".MenuA { border-color: #c8da3a; }", STL2);
	MenuBord = "#e8ff7a"; MenuBord2 = "#c8da3a" }
else if (location.href.search("/about/") != -1) {
	document.write(STL, ".MenuA { border-color: #fff430; }", STL2);
	MenuBord = "#ffa430"; MenuBord2 = "#fff430" }





