function getStyleClass (className) {
  if (document.all) {
    for (var s = 0; s < document.styleSheets.length; s++)
      for (var r = 0; r < document.styleSheets[s].rules.length; r++)
        if (document.styleSheets[s].rules[r].selectorText == '.' + className)
          return document.styleSheets[s].rules[r];
  }
  else if (document.getElementById) {
    for (var s = 0; s < document.styleSheets.length; s++)
      for (var r = 0; r < document.styleSheets[s].cssRules.length; r++)
        if (document.styleSheets[s].cssRules[r].selectorText == '.' + className)
          return document.styleSheets[s].cssRules[r];
  }
  return null;
}
function changeStyleClass(className) {
	hlLink = document.getElementById('showhighlight');
	if (hlLink.title != 'Please highlight the key points for me') {
		getStyleClass(className).style.backgroundColor='#ffffff';
		hlLink.innerHTML = '&raquo; Please highlight the key points for me&#8230;';
		hlLink.title = 'Please highlight the key points for me';
	}else {
		getStyleClass(className).style.backgroundColor='#e8f3c5';
		hlLink.innerHTML = '&raquo; Please hide the key points for me&#8230;';
		hlLink.title = 'Please hide the key points for me';
	}
	return null;
}
function winop(str){
	window.open(str, "win", "width=705,height=390,menubar=no")
}
function goUrl(url)
{
	window.open(url, '', "title=no, menubar=no,toolbar=no,location=no,status=no,scrollbars=no,resizable=no, width=780, height=560");	
}
