function hidediv()
{
document.getElementById(arguments[0]).style.display = '';
if (arguments[0] != arguments[1]) {  
  for ( var i=1; i < arguments.length; i++ ) {
	  	document.getElementById(arguments[i]).style.display = 'none';
	  }
  }
}

function alterh1(colour, colour2)
{       
 var styleSheet, cssRule;
 if (document.styleSheets)
 {
  styleSheet = document.styleSheets[0];
  if (styleSheet)
  {
   if (styleSheet.cssRules)
    cssRule = styleSheet.cssRules[0]; // Firefox
   else if (styleSheet.rules)
    cssRule = styleSheet.rules[0];    // IE
   if (cssRule)
   {
    if (cssRule.style.backgroundColor == colour)
     {
     cssRule.style.backgroundColor = colour2;
     cssRule.style.Color = colour;
     }
    else
     {
     cssRule.style.backgroundColor = colour;
     cssRule.style.Color = colour2;
     }
   }
  }
 }
}