// JavaScript Document
//init pngFix
$(document).ready(function(){ 
        $(document).pngFix(); 
    }); 



//scroller


	var viewall = false;
			var contentWidth = null;			
					
			function fixClip(){
				var browserWidth = document.body.clientWidth ? document.body.clientWidth : window.innerWidth;
				
				if(!viewall){ 
					displayDept(counter)
				}else{
					displayViewall()
				}
				if (document.getElementById){
					$("#main #scrollcontent").css('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,388,"track","up","down","drag","contentMask","scrollcontent");
			}		

