function getContent(page) {
    xmlhttp_getContent = new XMLHttpRequest();
    xmlhttp_getContent.open('GET', 'content/'+page+'.php' , true);
    xmlhttp_getContent.send();
    xmlhttp_getContent.onreadystatechange = function(){
	if (xmlhttp_getContent.readyState == 4 && xmlhttp_getContent.status == 200) {
	    document.getElementById('div_contentMain').innerHTML = xmlhttp_getContent.responseText;
	    if (page == 'news') {
		getNews(currentItem);
		getNewsBody(currentItem);
	    }
	    if (page == 'media') {
		//window.setTimeout("startShowcase()",1000);
		new Showcase.Horizontal($$('#showcase li'), $$('a.controls'), {size: 5});
	    }
	    if (page == 'home') {
		getNews(currentItem);
	    }
	}
    }
}

function startShowcase(){new Showcase.Horizontal($$('#showcase li'), $$('a.controls'));}

