<!--
var color="FFFFFF";
function change(side,i) {
	if (side == "left")
		var color = "#FFFFFF";
	else
		var color = "#EEEEEE";
    if (document.layers)
        window.document.layers[i].bgColor = color;
    else if (document.all)
        window.document.all[i].style.background = color;
}
function changeBack(side,i) {
	if (side == "left")
		var color = "#EEEEEE";
	else if (side == "health")
		var color = "#D68E8E";
	else if (side == "family")
		var color = "#ECD992";
	else
		var color = "#CCCCCC";
	
    if (document.layers){
        window.document.layers[i].bgColor = color;
		//alert("side="+side+" and bgcolor="+color);
    } else if (document.all){
        window.document.all[i].style.background = color;
		//alert("side="+side+" and background="+color);
	}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function cookie(name, value, expires, path, domain, secure) 
{ 
    // Passed Values 
    this.name=name; 
    this.value=value; 
    this.expires=expires; 
    this.path=path; 
    this.domain=domain; 
    this.secure=secure; 

    // Read cookie 
    this.read=function() 
    { 
        // To allow for faster parsing 
        var ck=document.cookie; 

        var arg = this.name + "="; 
        var alen = arg.length; 
        var clen = ck.length; 
        var i = 0; 

        while (i < clen) 
        { 
            var j = i + alen; 
            if (ck.substring(i, j) == arg) 
            { 
                var endstr = ck.indexOf (";", j); 
                if (endstr == -1) endstr = ck.length; 
                return unescape(ck.substring(j, endstr)); 
            } 
            i = ck.indexOf(" ", i) + 1; 
            if (i == 0) break; 
        } 
        return null; 
    }
	// Read cookie expiration
    this.expdate=function() 
    { 
        // To allow for faster parsing 
        var ck=document.cookie; 

        var arg = this.expires + "="; 
        var alen = arg.length; 
        var clen = ck.length; 
        var i = 0; 

        while (i < clen) 
        { 
            var j = i + alen; 
            if (ck.substring(i, j) == arg) 
            { 
                var endstr = ck.indexOf (";", j); 
                if (endstr == -1) endstr = ck.length; 
                return unescape(ck.substring(j, endstr)); 
            } 
            i = ck.indexOf(" ", i) + 1; 
            if (i == 0) break; 
        } 
        return null; 
    }

    // Set cookie 
    this.set=function() 
    { 
        // Store initial value of "this.expires" for re-initialization. 
        expStore=this.expires; 

        // Set time to absolute zero. 
        exp = new Date(); 
        base = new Date(0); 
        skew = base.getTime(); 
        if (skew > 0)  exp.setTime (exp.getTime() - skew); 
        exp.setTime(exp.getTime() + (this.expires*24*60*60*1000)); 
        this.expires=exp; 

        document.cookie = this.name + "=" + escape (this.value) + 
                ((this.expires) ? "; expires=" + this.expires.toGMTString() : "") + 
                ((this.path) ? "; path=" + this.path : "") + 
                ((this.domain) ? "; domain=" + this.domain : "") + 
                ((this.secure) ? "; secure" : ""); 

        // Re-initialize 
        this.expires=expStore; 
    } 

    // Kill cookie 
    this.kill=function() 
    { 
        document.cookie = this.name + "=" + 
                ((this.path) ? "; path=" + this.path : "") + 
                ((this.domain) ? "; domain=" + this.domain : "") + 
                "; expires=Thu, 01-Jan-70 00:00:01 GMT"; 
    } 

    // Change cookie settings. 
    this.changeName=function(chName) { this.kill(); this.name=chName; this.set(); } 
    this.changeVal=function(chVal) { this.kill(); this.value=chVal; this.set(); } 
    this.changeExp=function(chExp) { this.kill(); this.expires=chExp; this.set(); } 
    this.changePath=function(chPath) { this.kill(); this.path=chPath; this.set(); } 
    this.changeDomain=function(chDom) { this.kill(); this.domain=chDom; this.set(); } 
    this.changeSecurity=function(chSec) { this.kill(); this.secure=chSec; this.set(); } 
} 
//-->