function Is (){
    var agt=navigator.userAgent.toLowerCase()
    this.major = parseInt(navigator.appVersion)
    this.minor = parseFloat(navigator.appVersion)
    this.nav  = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1)))
    this.nav2 = (this.nav && (this.major == 2))
    this.nav3 = (this.nav && (this.major == 3))
    this.nav4 = (this.nav && (this.major == 4))
    this.navonly      = (this.nav && (agt.indexOf(";nav") != -1))
    this.ie   = (agt.indexOf("msie") != -1)
    this.ie3  = (this.ie && (this.major == 2))
    this.ie4  = (this.ie && (this.major == 4))
    this.opera = (agt.indexOf("opera") != -1)
    if (this.nav2 || this.ie3) this.js = 1.0
    else if (this.nav3 || this.opera) this.js = 1.1
    else if (this.nav4 || this.ie4) this.js = 1.2
    else if ((this.nav && (this.minor > 4.05)) || (this.ie && (this.major > 4))) 
         this.js = 1.2
    else this.js = 0.0 
}
var is = new Is();

function OnOff(anch){
	if(is.js>=1.1) {
		var core = "" + anch; // the anchor's href
		core = core.substring(core.lastIndexOf("/") + 1, core.lastIndexOf("."));
		var whole = document.images[core + "Img"].src;
		var head = whole.substring(0, whole.lastIndexOf("_"));
		var tail = whole.substring(whole.lastIndexOf("."), whole.length);
		if(whole.indexOf("_on.") > -1) {
			document.images[core + "Img"].src = head + "_off" + tail;
		} else {
			document.images[core + "Img"].src = head + "_on" + tail;
		}
	}
}

function ImageLoad(source){
	if(is.js>=1.1) {
		var img = new Image();
		img.src = source;
		return img;
	}
	return null;
}

function Preloads() {
	var im_01 = ImageLoad("images/logoSimple.gif");
	var im_02 = ImageLoad("images/assessment.gif");
	var im_03 = ImageLoad("images/design.gif");
	var im_04 = ImageLoad("images/production.gif");
	var im_05 = ImageLoad("images/promotion.gif");
	var im_06 = ImageLoad("images/clients.gif");
}

im_01 = ImageLoad("images/assessment_off.gif");
im_02 = ImageLoad("images/design_off.gif");
im_03 = ImageLoad("images/production_off.gif");
im_04 = ImageLoad("images/promotion_off.gif");
im_05 = ImageLoad("images/clients_off.gif");
im_06 = ImageLoad("images/contact_off.gif");
im_07 = ImageLoad("images/assessment_on.gif");
im_08 = ImageLoad("images/design_on.gif");
im_09 = ImageLoad("images/production_on.gif");
im_10 = ImageLoad("images/promotion_on.gif");
im_11 = ImageLoad("images/clients_on.gif");
im_12 = ImageLoad("images/contact_on.gif");