	// Use larger fonts for Mac platform
	if (navigator.appVersion.indexOf('Mac') != -1) {
		document.write('<LINK REL=STYLESHEET HREF="bh_mac.css" TYPE="text/css">');
	} else {
		document.write('<LINK REL=STYLESHEET HREF="bh_pc.css" TYPE="text/css">');
	}

	// Preload Images
	blackpix = new Image(1,1);
	blackpix.src = "images/blackpix.gif";

	redpix = new Image(1,1);
	redpix.src = "images/redpix.gif";

	yellowpix = new Image(1,1);
	yellowpix.src = "images/yellowpix.gif";

	bluepix = new Image(1,1);
	bluepix.src = "images/bluepix.gif";

	greenpix = new Image(1,1);
	greenpix.src = "images/greenpix.gif";

	// Reposition Images and Text
	//function reposition(object,x,y) {
	//	if (document.layers && document.layers[object] != null) {
	//		document.layers[object].left = x;
	//		document.layers[object].top = y;
	//	}
	//	else if (document.all) {
	//		document.all[object].style.left = x;
	//		document.all[object].style.top = y;
	//	}
	//}
	
	function initLargePicture() {
	/*
		if (document.layers) {
			document.layers['span_pic1_large'].left = document.layers['content_cell'].left;
			document.layers['span_pic1_large'].top = document.layers['content_cell'].top;
		} else if (document.all) {
			document.all['span_pic1_large'].style.left = document.all['content_cell'].style.left;
			document.all['span_pic1_large'].style.top = document.all['content_cell'].style.top;
		}
	*/
		if (document.layers) {
			document.layers['span_pic1_large'].left = '0px';
			document.layers['span_pic1_large'].top = '0px';
		} else if (document.all) {
			document.all['span_pic1_large'].style.left = '0px';
			document.all['span_pic1_large'].style.top = '0px';
		}
	}
	
	// Switch between yellow and red button
	function changeImage(imgName,imgObj) {
		if (document.images) {
			document.images[imgName].src = eval(imgObj+".src");
		}
	}

	// Swap between small and large picture
	function swapPicture(hidelayer,showlayer) {
		if (document.layers) {
			document.layers[hidelayer].visibility = 'hidden';
			document.layers[showlayer].visibility = 'visible';
		}
		else if (document.all) {
			document.all[hidelayer].style.visibility = 'hidden';
			document.all[showlayer].style.visibility = 'visible';
		}
	}

	function positionLargeImage(imageName){
		var height, width;
		if (document.all) {
			height = document.body.offsetHeight;
			width = document.body.offsetWidth;
		} else if (document.layers) {
			height = window.innerHeight;
			width = window.innerWidth;
		}
		//alert(width);
		var left, top;
		top = 166;
		left = ((width / 2) - 220)
		if (left < 165) {
			left = 165;
		} 
		//alert(left);
		if (document.layers) {
			document.layers[imageName].left = left + 'px';
			document.layers[imageName].top = top + 'px';
		} else if (document.all) {
			document.all[imageName].style.left = left + 'px';
			document.all[imageName].style.top = top + 'px';
		}
	}
