function change(id) {

if (!window.getComputedStyle) {
 window.getComputedStyle = function(el, pseudo) {
 this.el = el;
 this.getPropertyValue = function(prop) {
 var re = /(\-([a-z]){1})/g;
 if (prop == 'float') prop = 'styleFloat';
 if (re.test(prop)) {
 prop = prop.replace(re, function () {
 return arguments[2].toUpperCase();
 });
 }
 return el.currentStyle[prop] ? el.currentStyle[prop] : null;
 }
 return this;
 }
}







var child = document.getElementById(id);

var rm = document.getElementById(id+'1');

var cs = window.getComputedStyle(document.getElementById(id), "");



var csa = cs.getPropertyValue("display"); if (csa=="none"){ child.style.display = "block"; rm.innerHTML=' << '; }

else{ child.style.display = "none"; rm.innerHTML=' >> '; }

}

