/*************************************************************************
  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?)
  
	for(var k=0, wndo=""; k<=4; k++)
	{
		if(wndo)
	 		wndo = "";
	  
		//if(k==1 && window.location.href.match(/c1$/) && !document.getElementById('lyrr1'))
	 	if(k==1 && window.location.href.match(/c1$/) )
			l = document.getElementById("wn1").childNodes[1].id;
		else
			l = 'lyr' + k;
		
		//alert(l)
		if(document.getElementById(l))
		{
			wndo = new dw_scrollObj('wn' + k, l);
			wndo.setUpScrollbar("dragBar" + k, "track"+ k, "v", 1, 1);
	  		dw_scrollObj.GeckoTableBugFix('wn'+ k); 
	 	}
	  
  }
  
 
  
}
