function changeDisplay(objName){
	if (document.getElementById(objName).style.display != "block") {
		this.obj = document.getElementById(objName);
		this.obj.style.display = "block";
		
		//alert (objName + ' name');
	} else {
		this.obj = document.getElementById(objName);
		this.obj.style.display = "none";}
	return;
}

/*onmouseover="ToggleArrowOver(this, ' ."'".$name."', '".$base_url. "'" .')" onmouseout="ToggleArrowOut(this, ' ."'".$name. "', '".$base_url. "'" .')" */

/*************************************************************************
  This code is from Dynamic Web Coding at www.dyn-web.com
  Copyright 2001-4 by Sharon Paine 
  See Terms of Use at www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

function initScrollLayer() {
  // arguments: id of layer containing scrolling layers (clipped layer), id of layer to scroll, 
  // if horizontal scrolling, id of element containing scrolling content (table?)
  var wndo = new dw_scrollObj('wn', 'lyr1', 't1');
  
  // pass id's of any wndo's that scroll inside tables
  // i.e., if you have 3 (with id's wn1, wn2, wn3): dw_scrollObj.GeckoTableBugFix('wn1', 'wn2', 'wn3');
  dw_scrollObj.GeckoTableBugFix('wn'); 
}

/* function to find the size of the open browser window and call the appropriate stylesheets */
/* code found in tutorial at site created by Mark Wilton-Jones: 	 http://www.howtocreate.co.uk/tutorials/javascript/browserwindow  */
function findSize() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
 //var w = window.open("");
// var d=w.document;
// d.open();
 if (myWidth <= 800 ) {
  	document.writeln('<link href=\"css/blaikiesm.css\" rel=\"stylesheet\" type=\"text/css\" />');
  	document.writeln('<style type=\"text/css\">');
	document.writeln('@import \"css/scroll-rel-hsm.css\";');
	document.writeln('</style>');
  	
	}
}

