//  load css stylesheet
document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='http://www.anchored.com/scripts/style.css'>")

/*
//  overloads & qualifications:
// This is a portion of a browser detection script, but it is broken because the
// part that defines kIsNav and kOSType is not here. I don't know what happened to it. -Alex
if (kIsNav) {
	if (kOSType=="mac") {
	} else {	// win default
		document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='http://www.anchored.com/scripts/win_ns4.css'>")	// nav4 win
	}
} else {	// mie default
	if (kOSType=="mac") {
		if (kBrwIntVersion >= 5) {
			document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='http://www.anchored.com/scripts/mac_ie5.css'>")	// mie5 mac
		}
	} else {	// win default
		document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='http://www.anchored.com/scripts/win_ie4.css'>")	// mie4 win
	}
}
*/

//  navigation definitions
var nav_about_off    = new Image(54,42);  nav_about_off.src    = "http://www.anchored.com/img/nav/nav_about_off.jpg"
var nav_about_on     = new Image(54,42);  nav_about_on.src     = "http://www.anchored.com/img/nav/nav_about_on.jpg"
var nav_anchored_off = new Image(155,42); nav_anchored_off.src = "http://www.anchored.com/img/nav/nav_anchored_off.jpg"
var nav_anchored_on  = new Image(155,42); nav_anchored_on.src  = "http://www.anchored.com/img/nav/nav_anchored_on.jpg"
var nav_contact_off  = new Image(79,42);  nav_contact_off.src  = "http://www.anchored.com/img/nav/nav_contact_off.jpg"
var nav_contact_on   = new Image(79,42);  nav_contact_on.src   = "http://www.anchored.com/img/nav/nav_contact_on.jpg"
var nav_films_off    = new Image(58,42);  nav_films_off.src    = "http://www.anchored.com/img/nav/nav_films_off.jpg"
var nav_films_on     = new Image(58,42);  nav_films_on.src     = "http://www.anchored.com/img/nav/nav_films_on.jpg"
var nav_photo_off    = new Image(110,42); nav_photo_off.src    = "http://www.anchored.com/img/nav/nav_photo_off.jpg"
var nav_photo_on     = new Image(110,42); nav_photo_on.src     = "http://www.anchored.com/img/nav/nav_photo_on.jpg"
var nav_resume_off   = new Image(62,42);  nav_resume_off.src   = "http://www.anchored.com/img/nav/nav_resume_off.jpg"
var nav_resume_on    = new Image(62,42);  nav_resume_on.src    = "http://www.anchored.com/img/nav/nav_resume_on.jpg"


// navigation rollover functions
function setImgSrc(namedImgTag, imgVar) {
	if (document.images) {
		document.images[namedImgTag].src = eval(imgVar + ".src");
	}
}
function setImgSrcTo(namedImgTag, imgVar) {
	if (document.images) {
		document.images[namedImgTag].src = eval(imgVar + ".src");
	}
}

