function getStyle(el,stylePropCss, stylePropJS){
 if (window.getComputedStyle)
  var y = window.getComputedStyle(el,null).getPropertyValue(stylePropCss);
 else if (el.currentStyle)
  var y = eval('el.currentStyle.' + stylePropJS);
 return y;
}

function hideDiv(id) {
	divEl = document.getElementById(id);
	divEl.style.visibility='hidden';
}
