/* JavaScript Remote */

		/*--- Tab rollovers --*/
		if (document.images) {
			
			tabHome = new Image
			tabServices = new Image
			tabClients = new Image
		    tabResources = new Image
			tabAbout = new Image
			tabContact = new Image
			/* Hover*/
			tabHomeHvr = new Image
			tabServicesHvr = new Image
			tabClientsHvr = new Image
		    tabResourcesHvr = new Image
			tabAboutHvr = new Image
			tabContactHvr = new Image
			
			tabHome.src = "images/link_imgs/tabs_01.gif"
			tabServices.src = "images/link_imgs/tabs_02.gif"
			tabClients.src = "images/link_imgs/tabs_03.gif"
			tabResources.src = "images/link_imgs/tabs_04.gif"
			tabAbout.src = "images/link_imgs/tabs_05.gif"
			tabContact.src = "images/link_imgs/tabs_06.gif"
			/* Hover */
			tabHomeHvr.src = "images/link_imgs/tabs_hvr_01.gif"
			tabServicesHvr.src = "images/link_imgs/tabs_hvr_02.gif"
			tabClientsHvr.src = "images/link_imgs/tabs_hvr_03.gif"
			tabResourcesHvr.src = "images/link_imgs/tabs_hvr_04.gif"
			tabAboutHvr.src = "images/link_imgs/tabs_hvr_05.gif"
			tabContactHvr.src = "images/link_imgs/tabs_hvr_06.gif"
			/* particular page hover  */

	}

		function chgImg(imgZone,newImg) {
			if (document.images) {
				document[imgZone].src= eval(newImg + ".src")
			
		}
	}
	
/*---------- spotLight random image + text generator -------------*/	
	spotLight = new Array("images/pantages2.jpg","images/computers.jpg","images/sailing.jpg")
	
	/*--- spotLight titles ---*/
		spotTitle = new Array(
		"Another Successful Capital Campaign",
		"Another Successful Technology Grant",
		"Chart your organization&#39;s course"
	)
	/*--- spotLight captions ---*/
		spotCopy = new Array(
		"Over $5 million raised for the Broadway Center for the Performing Arts in Tacoma, WA to renovate the historic Pantages Theater.",
		"We helped the Confederated Tribes of the Colville land a $500,000 USDA RUS grant for broadband infrastructure. Now a small native community in Washington has the same internet speed as someone in Manhattan.",
		"We facilitate strategic planning to help your organization find its way."
	)
		
		imgCt = spotLight.length
		firstTime = true
						
function rotateSpotLight() {
		if (document.images) {
			if(firstTime) {
				thisPic = Math.floor
				((Math.random() * imgCt))
				fistTime = false
				
			}else{
			thisPic++
			if (thisPic == imgCt) {
				thisPic = 0
			
			}
		}
			
		document.spotlight.src = spotLight[thisPic]
		document.getElementById('copy').innerHTML= spotCopy [thisPic]
		document.getElementById('title').innerHTML= spotTitle [thisPic]
	}
}
	
	
	
	
