// JavaScript Document
// C. LGrace 2003, please do not copy without consent

var fsize = 10;
DrawTextToolBar ();


function DrawTextToolBar () {

var strToolBar;
var strBrowser = navigator.appName;

strToolBar = '<table width="100%" border="0"><tr id = "ToolBar" name = "Toolbar" style = "position:absolute;"><td width="94%">&nbsp;</td>'
	if (strBrowser.indexOf("Microsoft")>=0){
		strToolBar = strToolBar+ '<td width="3%"><a href= "javascript:ZoomIn();"><img border = "0" src="../../images/icons/plusFont.GIF" width="23" height="20"></a></td>'
		strToolBar = strToolBar + '<td width="3%"><a href= "javascript:ZoomOut();"><img border = "0" src="../../images/icons/minFont.GIF" width="23" height="20"></a</td>'
	}
strToolBar = strToolBar + '<td width="3%"><a href= "javascript:print();"><img border = "0" src="../../images/icons/print.gif" ></a</td>'
strToolBar = strToolBar + '</tr></table>'

document.write (strToolBar);


return 0;
}

function LocateToolBar () {
	var ToolBar = document.getElementById("ToolBar");
	ToolBar.style.position = "absolute"
	ToolBar.style.top = document.body.scrollTop

}


function ZoomIn()
{
	var i =0	
	var bodyElems;
	
	bodyElems = document.body.children
	if(bodyElems){
		fsize = fsize + 2
	
			for (i=0;i < bodyElems.length;i++){
				bodyElems[i].style.fontSize = fsize + "pt"
				
			}
	}else{
		//alert();
		document.body.style= ("font-size:"+fsize+"pt");
	
	}
	
}

function ZoomOut(){
	var i =0	
	var bodyElems;
	
	bodyElems = document.body.children
	
		fsize = fsize - 2
		if (fsize > 0) {
			for (i=0;i < bodyElems.length;i++){
				bodyElems[i].style.fontSize = fsize + "pt"
			}
		}else {
		
			fsize = 2
		}
}