
function showpage()	{
	var body = document.getElementsByTagName("body")[0];
    for (var child = body.firstChild; child; child = child.nextSibling)
    {
        if (child.nodeType == 1 && child.getAttribute("selected") == "true")
        {
            showPage(child);
            break;
        }
    }

      setTimeout(scrollTo, 0, 0, 1);
};

 var bool=true;
function cache(id){
		if(bool==true){
			document.getElementById(id).style.display='block';
			document.getElementById('but').value="-";
			bool=false;
		}else{
			document.getElementById(id).style.display='none';
			document.getElementById('but').value="+";
			bool=true;
		}
	};


function affiche_article(){
		document.getElementById('article').style.display='block';

};



window.onload=showpage;


 window.onorientationchange=function(){
	showpage();
	affiche_article();
}








