// JavaScript Document
		function runTransform(){
			if(document.implementation && document.implementation.createDocument){
				// Mozilla
		
				var xsltProcessor = new XSLTProcessor();
				
				// load the xslt file
				var myXMLHTTPRequest = new XMLHttpRequest();
				myXMLHTTPRequest.open("GET", myXSL, false);
				myXMLHTTPRequest.send(null);
				
				// get the XML document
				xslStylesheet = myXMLHTTPRequest.responseXML;
				xsltProcessor.importStylesheet(xslStylesheet);
				
				// load the xml file
				myXMLHTTPRequest = new XMLHttpRequest();
				myXMLHTTPRequest.open("GET", myXML, false);
				myXMLHTTPRequest.send(null);
				
				var xmlSource = myXMLHTTPRequest.responseXML;
				
				//transform
				 var resultDocument = xsltProcessor.transformToFragment(xmlSource, document);
				document.getElementById(myElement).appendChild(resultDocument);
				
			}else if(window.ActiveXObject){
				// IE
				
				// Load XML
				xml = new ActiveXObject("MSXML2.DOMDocument");
				xml.async = false
				xml.load(myXML)
				
				// Load XSL
				xsl = new ActiveXObject("MSXML2.DOMDocument");
				xsl.async = false
				xsl.load(myXSL)
				
			
				// Transform
				document.getElementById(myElement).innerHTML=xml.transformNode(xsl);
			}else{
				// Browser unknown
				alert("Browser unknown");
			}
		
		}