//reloads the window if Nav4 resized
function CCrepage(init) {  
	if (init==true) with (navigator) 
		{if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
			document.CVpgW=innerWidth; document.CVpgH=innerHeight; onresize=CCrepage; 
		}
	}else{
		if (innerWidth!=document.CVpgW || innerHeight!=document.CVpgH) {
			location.reload();
		}
	}
return}

CCrepage(true);

function CCdate() {
	months=new Array("January","February","March","April","May","June","July",
					"August","September","October","November","December")
	today=new Date()
	document.write(months[today.getMonth()] + " " + today.getDate() + ", " + today.getYear())
return}

function gohole(xdir) {
	xloc=self.location.pathname
	xbeg=xloc.lastIndexOf("/")+1
	xend=xloc.lastIndexOf(".")
	xloc=xloc.slice(xbeg,xend)
	xloc=(xloc/1)+xdir
	xloc="0"+xloc
	xloc=xloc.slice(-2)
	self.location=xloc+".html"
}

function CCprintd(x) {
		wide=600
		hi=400
		xleft = 0
		xtop = 0
		winfeats='top=' + xtop + ',left=' + xleft + ',dependent=yes,width=' + wide + ',height=' + hi + ',screenX=' + xleft + ',screenY=' + xtop + ',titlebar=yes,status=yes,menubar=yes,toolbar=yes'
		winfeats='top=' + xtop + ',left=' + xleft + ',dependent=yes,width=' + wide + ',height=' + hi + ',screenX=' + xleft + ',screenY=' + xtop + ',titlebar=no,status=no,scrollbars=yes'
		print_win = window.open(x+'diary_print.asp','Print',winfeats);
}


