	var counter = 10;
	
	var viewall = false;
		var contentWidth = null;
		
		function changeDeptImage(pid, coll, seq){
			if(seq < 10){
				seq = '0'+seq;
			}
			document.getElementById(coll).innerHTML = '';
		}
		
		function fixClip(){
			var browserWidth = document.body.clientWidth ? document.body.clientWidth : window.innerWidth;
			if(browserWidth < 879){
				browserWidth = 879;
			}
			if(!viewall){ 
				displayDept(counter)
			}else{
				displayViewall()
			}
			if (document.getElementById){
				document.getElementById('contentMask2').style.clip = 'rect(0px,'+browserWidth+'px, 300px, 20px)';
				
				document.getElementById('contentMask2').style.width = '960px';
				document.getElementById('contentMask2').style.overflow = 'hidden';
				document.getElementById('content2').style.width = contentWidth+'px';
			}			
		}
				
		function getDeptMOver(span){
			return function(){span.style.visibility = 'visible'};
		}
		
		function getDeptMOut(span){
			return function(){span.style.visibility = 'hidden'};
		}
		
		function scrollMe(){
			// speed, dragwidth, trackWidth, trackObj, upObj, downObj, dragObj, contentMaskObj, contentObj
			myScroll = new ScrollObj(6,1,302,"track2","up2","down2","drag2","contentMask2","content2");
		}
		
		fixClip();
				scrollMe();
				if(! noScroll){
					document.getElementById('deptScroller2').style.display = 'block';
				}

				function displayDept(count){
					contentWidth = ((count * 300) + 95);
					var tds = document.getElementById('deptImgs2').getElementsByTagName('td');
					var tables = document.getElementById('deptImgs2').getElementsByTagName('table');
					for(i=0; i < tables.length; i++){
						if(division != 12204 && division != 12205 && division != 12105 && division != 12104){
							addEvent(tables[i], 'mouseover', getDeptMOver(tables[i].getElementsByTagName('span')[0]));
							addEvent(tables[i], 'mouseout', getDeptMOut(tables[i].getElementsByTagName('span')[0]));
						}else{
							(tables[i].getElementsByTagName('span')[0]).style.visibility = 'visible';
						}
					}
				}
				
				
