/*************************************************************************
  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.php
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/
var wndo1;
function initScrollLayers() {
  // arguments: id of layer containing scrolling layers (clipped layer), id of layer to scroll, 
  // if horizontal scrolling, id of element containing scrolling content (table?)
  wndo1 = new dw_scrollObj('wn1', 'lyr1');

  // Read instructions if your scrolling layers are inside tables 
}
function menuFix() {
	var sfEls = document.getElementById("nav").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
		this.className+=(this.className.length>0? " ": "") + "sfhover";
	}
	sfEls[i].onMouseDown=function() {
	this.className+=(this.className.length>0? " ": "") + "sfhover";
	}
	sfEls[i].onMouseUp=function() {
	this.className+=(this.className.length>0? " ": "") + "sfhover";
	}
	sfEls[i].onmouseout=function() {
	this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),"");
	}
	}
}
function initialize(){
	initScrollLayers();
	menuFix();
}
var isFirefox = (window.navigator.userAgent.indexOf('Firefox') != -1);

function button_up() {
	if (isFirefox) {
		document.writeln('<img src="image\/btn-up-trans.png" width="14" height="15" alt="" \/>');
	}else{
		document.writeln('<img src="image\/space.gif" width="14" height="15" alt="" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'image\/btn-up-trans.png\',sizingMethod=\'image\');" \/>');
	}
}
function button_dw() {
	if (isFirefox) {
		document.writeln('<img src="image\/btn-dn-trans.png" width="14" height="15" alt="" \/>');
	}else{
		document.writeln('<img src="image\/space.gif" width="14" height="15" alt="" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'image\/btn-dn-trans.png\',sizingMethod=\'image\');" \/>');
	}
}