if (document.all && !document.getElementById) {
  document.getElementById = function(id) {
    return document.all[id];
  }
}

//show media story if the user clicks the relevant "read more" link
function show(id) 
{
  var stories=['cache1','pcworld1','sbd2','indep','trad1','pfa1','gdl1','hbd1','moi1','sbu1','hr1','ri1','post1','gdl2','wmn','showhome','livingetc','sb1','id1','hbd2','bfn1','gdl3','gdl4','sh1','hr2'];
  var medialen=stories.length;
  for (var i=0,len=medialen;i<len;++i)
  {
	allID=stories[i];
	document.getElementById(allID).style.display = 'none';
  }

  if (document.getElementById(id).style.display == "none") {
     document.getElementById(id).style.display = 'block';
  }
  scroll(0,0);
}
