function addLoadEvent(func){
var oldonload=window.onload;
if(typeof window.onload != 'function'){
window.onload = func;
}else{
window.onload= function(){
oldload();
func();
}
}
}

function hideAtStart(){
$i=0;
var hideBlock=document.getElementById("test_0");
while (hideBlock){
		test = "test_" + $i;
		hideBlock=document.getElementById(test);
		hideBlock.style.display = "none";
		$i++;
		test = "test_" + $i;
		hideBlock=document.getElementById(test);
	}
}
addLoadEvent(hideAtStart);

function hidePasus(pasusId){
pasusId = document.getElementById(pasusId);
if (pasusId.style.display == "none"){
pasusId.style.display = "";
}else{
pasusId.style.display = "none";
}
}