function fixURL(hrefString){
			var locationString = document.location.href;
			var locationSplit = locationString.split("/");
			if(locationSplit[locationSplit.length-1]==''){
				locationSplit.pop();
			}
			var hrefSplit = hrefString.split("/");
			if(hrefSplit[0]==''){
				var loc = locationSplit[0]+"//"+locationSplit[2]+hrefString;
				return loc;
			}
			var protocols = ["http:", "https:", "ftp:", "file:", "sftp:", "gopher:", "irc:"];
			var inlist = protocols.any(function(urlPrefix){ 
							if(hrefSplit[0].toLowerCase()==urlPrefix){
								return true;
							} else {
								return false;
							}
					});
			if(!inlist){
				if(hrefString.toLowerCase().substr(0,7)=='mailto:'){
					return hrefString.substr(7).split("?").join(" ");
				}
				locationSplit.pop();
				if(hrefSplit[0]=='..'){
					locationSplit.pop();
					hrefSplit.shift();
				} else if(hrefSplit[0]=='.') {
					hrefSplit.shift();
				}
				loc = locationSplit.join("/");
				loc += "/"+hrefSplit.join("/");
				return loc;
			}
			return hrefString;
		}
				
		function showAnchors(){
			var alist= $('centerColumn').getElementsByTagName("a");
			for (var i=0; i<alist.length; i++){
				var source = alist[i].getAttribute("href");
					if (((source)&&(source!="#"))&&(source!=document.location)){
					new Insertion.After(alist[i]," <span class='linktext'>&nbsp; (&nbsp;"+fixURL(source)+"&nbsp;) </span> ");			 
				  }
			}	 
		}
		
		function hideAnchors(){
			var linktext = document.getElementsByClassName('linktext',$('centerColumn'));
			
			for (var i=0; i<linktext.length; i++){
				Element.remove(linktext[i]);
			}	 
		}
		function printLayout(){
			$('rightColumn').style.styleFloat='none';
			$('rightColumn').setAttribute("style","float:none");
			$('leftColumn').style.display='none';
			if(document.getElementById('rightcontent')){$('rightcontent').style.display='none';}
			$('rightColumn').style.width='570px';
			$('rightColumn').style.margin='0px';
			$('centerColumn').style.margin='0px';
			$('centerColumn').style.width='570px';
			$('print').style.width='570px';
			$('print').innerHTML='<a href="#" onclick="window.print();return false;"><img src="/infotech/images/action_print.gif" alt="a small printer icon" /> Print this page </a> <a href="#" onclick="standardLayout();return false;"><img src="/infotech/images/action_refresh_blue.gif" alt="" /> Show Web Version </a>';
			showAnchors();
		}
		function standardLayout(){
			
			$('rightColumn').style.width='200px';
			$('rightColumn').style.margin='10px 0px 15px 0px';
			if(document.getElementById('rightcontent')){$('rightcontent').style.display='block';}	
			$('leftColumn').style.display='block';
			$('centerColumn').style.width='420px';
			$('centerColumn').style.margin='45px 0px 20px 170px';
			$('centerColumn').style.display='block';	
			$('print').style.width='200px';
			$('print').innerHTML='<a href="#" onclick="printLayout();return false;"><img src="/infotech/images/action_print.gif" alt="" /> Show Printable Version </a>';
			$('rightColumn').style.styleFloat='right';
			$('rightColumn').setAttribute("style","float:right");
			hideAnchors();
		}