// JavaScript Document

function loaddiv(idname)
{
  if(idname == 1)
  {
		id = "rss"; 
		id2 = "news"
		document.getElementById(id).style.visibility = "visible";
		document.getElementById(id2).style.visibility = "hidden";
  }
  else if(idname == 2)
  {
		id = "news";  
		id2 = "rss";
	   document.getElementById(id).style.visibility = "visible";
	   document.getElementById(id2).style.visibility = "hidden";
  }
 
}


function getElementStyle(elemID, IEStyleProp, CSSStyleProp) {
    var elem = document.getElementById(elemID);
    if (elem.currentStyle) { 
        return elem.currentStyle[IEStyleProp];
    } else if (window.getComputedStyle) {
        var compStyle = window.getComputedStyle(elem, "");
        return compStyle.getPropertyValue(CSSStyleProp);
    }
    return "";
}