// Based on code by...
// Maryanna Nesina
// mar@mail.bio.pu.ru
// http://www.bio.pu.ru/~mar
// http://www.webprogramming.boom.ru

function showDiv(name) {	
	if (document.getElementById) { 
  		// Type 1: IE5,6; NN6; Mozilla
  		// if our brouser supports DOM and we can get an object according to it's name
    	if (name) { // if there was a parametr
     		var Menu = document.getElementById(name); // get an object 
     		Menu.style.display = 'block'; // and show it, changing the style
    	}
    	return; // exit function
  	} // that's all for the first type of brousers

 	if(document.all) { 
  		// Type 2: For document.all stands IE4-6 and Opera5, but IE5,6 were gone as the 1-st type 
   	if (name) {
   		document.all[name].style.display = 'block'; //if there was a parametr, show that layer using style
  		}
    	return; // exit function
 	} // that's all for the second type of brousers

 	if (document.layers) { 
   	//Type 2: NN4
   	if (name) {
   		document.layers[name].display='block'; // if there was a parametr, show that layer using layer
   	}
    	return; // exit function
  	} // that's all for the second type of brousers (NN4)
}

function hideDiv(name) {	
	if (document.getElementById) { 
  		// Type 1: IE5,6; NN6; Mozilla
  		// if our brouser supports DOM and we can get an object according to it's name
    	if (name) { // if there was a parametr
     		var Menu = document.getElementById(name); // get an object 
     		Menu.style.display='none'; // and show it, changing the style
    	}
    	return; // exit function
  	} // that's all for the first type of brousers

 	if(document.all) { 
  		// Type 2: For document.all stands IE4-6 and Opera5, but IE5,6 were gone as the 1-st type 
   	if (name) {
   		document.all[name].style.display= 'none'; //if there was a parametr, show that layer using style
  		}
    	return; // exit function
 	} // that's all for the second type of brousers

 	if (document.layers) { 
   	//Type 2: NN4
   	if (name) {
   		document.layers[name].display='none'; // if there was a parametr, show that layer using layer
   	}
    	return; // exit function
  	} // that's all for the second type of brousers (NN4)
} 

// 
function showFull(name) {
	showDiv('full'+name);
	hideDiv('ex'+name);
}
