var locationHref = window.location.href.split(/(.*?)#(.*)/);
if (locationHref[2]) alert(locationHref[2]);


var xmlhttp = getXMLHttp();

xmlhttp.open("GET", "/", true);
xmlhttp.setRequestHeader("Content-Type", "text/xml")

xmlhttp.onreadystatechange=function() {
    if (xmlhttp.readyState==4 || xmlhttp.readyState=="complete") {
    
       var xmlDoc=xmlhttp.responseXML;
       var textDoc=xmlhttp.responseText;
       
       //alert(textDoc);

    }
}
//xmlhttp.send(null)

// Aligns stretches frame when feature is longer than content
var stretch = new Action('stretch');
stretch.start = function (parent,arguments)
{

    if (document.getElementById('content') && document.getElementById('content_feature') &&  document.getElementById('frame_spacer')) {
    	
	    var cH  = document.getElementById('content').clientHeight;
	    var cfH = document.getElementById('content_feature').clientHeight;
    	
	    var val = cfH - cH - 40;
    	
	    if (val > 0) { document.getElementById('frame_spacer').style.height = val + "px"; }
	    
	    document.getElementById('frame_foot').style.bottom = '0px';
	   // alert(document.getElementById('frame_foot').style.bottom);
    }
}

new Rule('stretch', 'document.onload', '', 'stretch');