function checknav() {
		var docpageid = document.pageid;
		if(docpageid) {
			nImg=document.getElementById(docpageid).src.replace(".jpg","-on.jpg");
			document.getElementById(docpageid).src=nImg;
			document.getElementById(docpageid).setAttribute('className', 'noRollover');
			document.getElementById(docpageid).setAttribute('class', 'noRollover');
		}
	}

	function initRollover() {
	  if (!document.getElementById) return
	  var imgarr = document.getElementById('t4container').getElementsByTagName('img');
	  var tempImgSrc;

		for (var i = 0; i < imgarr.length; i++) {
			if ((imgarr[i].getAttribute('className') == 'rollClass') || (imgarr[i].getAttribute('class') == 'rollClass')){
				imgarr[i].onmouseover = function() {
					if (tempImgSrc = this.getAttribute('src').indexOf(".jpg")!=-1){
						tempImgSrc = this.getAttribute('src').replace(".jpg","-on.jpg");
	           			this.setAttribute('src',tempImgSrc);
					} else {
						tempImgSrc = this.getAttribute('src').replace(".gif","-on.gif");
	           			this.setAttribute('src',tempImgSrc);
					}
					
					
		       }
		       	imgarr[i].onmouseout = function() {
		       		if (tempImgSrc = this.getAttribute('src').indexOf(".jpg")!=-1){
						tempImgSrc = this.getAttribute('src').replace("-on.jpg",".jpg");
	           			this.setAttribute('src',tempImgSrc);
					} else {
						tempImgSrc = this.getAttribute('src').replace("-on.gif",".gif");
	           			this.setAttribute('src',tempImgSrc);
					}
		       }
			}
	  	}
	}
