
	//------------------------------------------------------------------------------------------||
	//----| Clears Text Field if not changed
	//------------------------------------------------------------------------------------------||
	
	function focusText(field, text) { 
    	if (field.value == text) field.value = '';
    }
    
	//------------------------------------------------------------------------------------------||
	//----| Repopulates a Text Field if not Changed
	//------------------------------------------------------------------------------------------||
	
	function blurText(field, text) { 
    	if (field.value.trim() == '') field.value = text;    
    }    

	//------------------------------------------------------------------------------------------||
	//----| Scroll Variables
	//------------------------------------------------------------------------------------------||

	var haltScroll 	= true;
	var scrollStep	= 1;
	var scrollSpeed	= 20;

	//------------------------------------------------------------------------------------------||
	//----| Scroll Mouse Over
	//------------------------------------------------------------------------------------------||

	function scrollMouseOverUp(divName) {
		haltScroll = false;
		scrollDivUp(divName);
	}

	function scrollMouseOverDown(divName) {
		haltScroll = false;
		scrollDivDown(divName);
	}
	
	function scrollMouseOut(divName) {
		haltScroll = true;
	}

	function scrollDivToTop(divName){
		document.getElementById(divName).scrollTop=0;
	} 

	function scrollDivToBottom(divName){
		document.getElementById(divName).scrollTop=document.getElementById(divName).scrollHeight
	} 

	function scrollDivUp(divName){
		if (!haltScroll) {		
			document.getElementById(divName).scrollTop -= scrollStep;
			timerDown=setTimeout("scrollDivUp('"+divName+"')",scrollSpeed);
		}
	}

	function scrollDivDown(divName){
		if (!haltScroll) {		
			document.getElementById(divName).scrollTop += scrollStep;
			timerDown=setTimeout("scrollDivDown('"+divName+"')",scrollSpeed);
		}
	}
	
	//------------------------------------------------------------------------------------------||
	//----| Sliding Billboard
	//------------------------------------------------------------------------------------------||

	var timeNormal	= 10000;
	var timePost	= 20000;
	var timeOut 	= timeNormal;
	var current 	= 1;
	var change 		= window.setTimeout('changeSlideFolio()', timeOut);		
	
	function changeSlideFolio() { 
		timeOut		= timeNormal;
		current = current + 1;
		if (current >= lastSlide) current = 1;
		slideFolio(current);
		change = window.setTimeout('changeSlideFolio()', timeOut);
	}
	
	function clickSlide(col) { 
		window.clearTimeout(change);
		timeOut 	= timePost;
		current 	= col;			
		slideFolio(col);
		change 		= window.setTimeout('changeSlideFolio()', timeOut);			
	}
	
	function slideFolio(col){
		var x 			= ((col-1)*-980);
		var folioChange = new Fx.Tween(storyDiv, {duration:1200});
		folioChange.start('left', x);
	}		
	
	//------------------------------------------------------------------------------------------||
	//----| Pop Up
	//------------------------------------------------------------------------------------------||

	function popup(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=642,height=525,left = 340,top = 262');");
	}
	
