// JavaScript Document
			var newWindow = null;
			var scrolling = 0;	// Controls whether the layer is scrollin or not
			var yT = 25;	// Pixel position the top of the scrolling layer should be set to
			var lT = 25;	// Initial position for the top of the layer
			var yI = 5;	// Increment that the scrolling layer should move at
			var yH = 0;
			var domStyle;	// Stores the generic DOM for the scrolling layer to access style properties
			var dom;	// Stores the generic DOM for the scrolling layer
			var isDHTML = 0;
			var isLayers = 0;
			var isAll = 0;
			var isID = 0;

			if (document.images){ 
			imag = new Array();

			imag[0] = "images/arrowUp_off.gif";
			imag[1] = "images/arrowUp_on.gif";

			imag[2] = "images/arrowDown_off.gif";
			imag[3] = "images/arrowDown_on.gif";

			imag[4] = "images/arrowTop_off.gif";
			imag[5] = "images/arrowTop_on.gif";

			imag[6] = "images/arrowBottom_off.gif";
			imag[7] = "images/arrowBottom_on.gif";

			im = new Array();
			for (var i = 0; i < imag.length; i++)
				{
					im[i] = new Image();
					im[i].src = imag[i];
					}
			}

if (document.getElementById) {isID = 1; isDHTML = 1;}
else {
if (document.all) {isAll = 1; isDHTML = 1;}
else {
browserVersion = parseInt(navigator.appVersion);
if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)) {isLayers = 1; isDHTML = 1;}
}}


var isIE = 0;

if (navigator.appName.indexOf('Microsoft Internet Explorer') != -1) {isIE = 1;}

var xC = 5;
var theDelay = 0;
var frameRateMax = 48;
var	frameRate = 1;

function scrollPageTo(xN) {
	
	if (xC > xN) { 
		xC = xC - frameRate;
		posDif = (xC - xN)/(frameRate/2);
		if (xC < xN) { frameRate = 1; return; }
	}
	else {
		xC = xC + frameRate;
		posDif = (xN - xC)/(frameRate/2);
		if (xC > xN) { frameRate = 1; return; }
	}
	if (isIE) {
		document.body.scrollLeft = xC;
	}	
	else {
		scrollTo(xC,0);
	}
	if ((posDif >= frameRateMax) && (frameRate != frameRateMax)) frameRate = frameRate + 1;
	else  if (frameRate > 1) frameRate = frameRate - 2;
	setTimeout ('scrollPageTo(' + xN + ')',theDelay);
}



function findDOM(objectID1,objectID2,withStyle) {
	if (withStyle == 1) {
		if (isID) { return (document.getElementById(objectID2).style) ; }
		else { 
			if (isAll) { return (document.all[objectID2].style); }
		else {
			if (isLayers) { 
				if (objectID1) { return (document.layers[objectID1].layers[objectID2]); }
				else { return (document.layers[objectID2]); }
			}
		};}
	}
	else {
		if (isID) { return (document.getElementById(objectID2)) ; }
		else { 
			if (isAll) { return (document.all[objectID2]); }
		else {
			if (isLayers) { 
				if (objectID1) { return (document.layers[objectID1].layers[objectID2]); }
				else { return (document.layers[objectID2]); }
			}
		};}
	}
}


function openWindow(contentURL,windowName,windowWidth,windowHeight) {
	widthHeight = 'height=' + windowHeight + ',width=' + windowWidth + ',scrollbars=yes';
	newWindow = window.open(contentURL,windowName,widthHeight);
	newWindow.focus()
}

function closeWindow() {
	if (newWindow != null)  {	
	 newWindow.close();
	 newWindow = null;
	}
}		
		function startScroll(objectID1,objectID2,direction) {
			domStyle = findDOM(objectID1,objectID2,1);
			dom = findDOM(objectID1,objectID2,0);
			scrolling = 1;
			yT = domStyle.top;
			if (document.getElementById) {
				pxLoc = yT.indexOf('px');
				if (pxLoc >= 1) yT = yT.substring(0,pxLoc); 
			}
			if (window.innerHeight != null) 
				yH = window.innerHeight - 25;
			else 
				yH = document.body.clientHeight - 25;
			if (dom.offsetHeight != null) 
				yH = yH - dom.offsetHeight;
			else
				yH = yH - dom.clip.height;
			scroll(direction);
		}	
		
		function scroll(direction) {
			if (scrolling == 1) {
				if ((direction == 1) && (yT <= lT)) {
					yT = (yT/1) + yI;
					if (yT > lT) yT = lT; 
					domStyle.top = yT; 
				}
				else { 
					if ((direction == 0) && (yT >= yH)) {
						yT -= yI;
						if (yT < yH) yT = yH; 
						domStyle.top = yT; }
				}
				if (document.getElementById) {
					yT = domStyle.top;
					pxLoc = yT.indexOf('px');
					if (pxLoc >= 1) yT = yT.substring(0,pxLoc); 
				}
				code2run = 'scroll('+ direction + ')';
				setTimeout(code2run,0);
			}
			return false;
		}
		
		function stopScroll() { 
			scrolling = 0;
			dom = null;
			domStyle = null;
			return false;
		}
		
		function URB(objectID1,objectID2) {
			domStyle = findDOM(objectID1,objectID2,1);
			dom = findDOM(objectID1,objectID2,0);
			if (window.innerHeight != null) 
				yH = window.innerHeight - 25;
			else 
				yH = document.body.clientHeight - 25;
			if (dom.offsetHeight != null) 
				yH = yH - dom.offsetHeight;
			else
				yH = yH - dom.clip.height;
			domStyle.top = yH;
			dom = null;
			domStyle = null;
		}
		
		function URT(objectID1,objectID2) {
				domStyle = findDOM(objectID1,objectID2,1);
				domStyle.top = lT;
				dom = null;
				domStyle = null;
		}
			
		function toggle(imgName,num){	
			if (document.images && imgName){
				imgName.src = im[num].src;
			}
			return false;
		}

