function runTransform(loc) {
		if(document.implementation && document.implementation.createDocument){
		// Mozilla
		var xsltProcessor = new XSLTProcessor();
				
		// load the xslt file
		var myXMLHTTPRequest = new XMLHttpRequest();
		myXMLHTTPRequest.open("GET", "index.xsl", false);
		myXMLHTTPRequest.send(null);
			
		// get the XML document
		xslStylesheet = myXMLHTTPRequest.responseXML;
		xsltProcessor.importStylesheet(xslStylesheet);

		// load the xml file
		myXMLHTTPRequest = new XMLHttpRequest();
		myXMLHTTPRequest.open("GET", "index.xml", false);
		myXMLHTTPRequest.send(null);
				
		var xmlSource = myXMLHTTPRequest.responseXML;
				
		//transform
		 var resultDocument = xsltProcessor.transformToFragment(xmlSource, document);
		document.getElementById("Body").appendChild(resultDocument);
				
		}else if(window.ActiveXObject){
		// IE
		
		// Load XML
		xml = new ActiveXObject("MSXML2.DOMDocument");
		xml.async = false
		xml.load("index.xml")
			
		// Load XSL
		xsl = new ActiveXObject("MSXML2.DOMDocument");
		xsl.async = false
		xsl.load("index.xsl")
				
		// Transform
		document.getElementById("Body").innerHTML=xml.transformNode(xsl);
		}else{
		// Browser unknown
		alert("Browser unknown");
		}



document.getElementById('Body').scrollLeft=2800; 	
	}

			var scrolling = 0;	
			var xPos = 2800;	
function home() {
orig = document.getElementById('Body').scrollLeft;
if (orig < 2800) {
minus = 2800 - orig;
start(1,minus);
}
else if (orig > 2800) {
add = orig - 2800	;
start(0,add);
}
}
function start(direction,multiply) {
scrolling = 1;
orig = document.getElementById('Body').scrollLeft;
scroll(direction,multiply);
}
function scroll(direction,multiply) {
			if (scrolling == 1) {
				if(direction == 1) {
					document.getElementById('nav').style.height="0" + "px";
					document.getElementById('Body').scrollLeft = xPos;
                                     	
							if(document.getElementById('Body').scrollLeft >= orig + multiply) {
										document.getElementById('nav').style.height="30" + "px";
										scrolling =0;
										return false;
										}
		                                if (xPos != 4200) {
										xPos = xPos + 14;
										}
										else {
										document.getElementById('nav').style.height="30" + "px";
										scrolling =0;
										return false;
										}
				}
				else {
				    document.getElementById('nav').style.height="0" + "px";
					document.getElementById('Body').scrollLeft = xPos; 
                                                        
							if(document.getElementById('Body').scrollLeft <= orig - multiply) {
										document.getElementById('nav').style.height="30" + "px";
										scrolling = 0;
										return false;
										}						
										if (xPos != 700) {
										xPos = xPos - 14;
										}
										else {
										document.getElementById('nav').style.height="30" + "px";
										scrolling =0;
										return false;
										}
				}
				setTimeout('scroll('+ direction + ', '+ multiply +')',0);
			}
			return false;
			}
