function handleChange(event) { 
	strPath = event.path;
	if (strPath.substr(0,1) == "/")
		strPath = strPath.substr(1);
	arrPath = strPath.split('/');
	strSection = arrPath[0];
	strQS = SWFAddress.getQueryString();
	
	switch (strSection) {
		case "": // for the intro page ie. home
			top.scrollID.toElement('homeScroll');
			SWFAddress.setTitle('STC Associates - Global Brand Management');
			break;		
		
		case "bios": // for the bio page which is in the about section
			if (strQS != "") {
				SWFAddress.setTitle("STC Associates - "+strQS);
				if (top.aboutframe.location != event.path+"?"+strQS)
					top.aboutframe.location = event.path+"?"+strQS;
			}
			else {
				SWFAddress.setTitle("STC Associates - STC Team");
				if (top.aboutframe.location != event.path)
					top.aboutframe.location = event.path;
			}
			
			top.scrollID.toElement('aboutScroll');
			break;		
		
		default: 
			eval("objCFrame = " + strSection + "frame");
			if (strQS != "") {
				if (top.aboutframe.location != event.path+"?"+strQS)
					top.objCFrame.location = event.path+"?"+strQS;
				}
			else {
				if (top.aboutframe.location != event.path)
					top.objCFrame.location = event.path;
			}
			
			top.scrollID.toElement(strSection+'Scroll');
			setTimeout('SWFAddress.setTitle(objCFrame.document.title)',500); //small delay to help page title load
			break;		
			
		}
	
	
		if (objIntroMovie) 
			top.objIntroMovie.sendEvent("STOP","true");  // stop the intro movie whenever the user navigates
}

SWFAddress.addEventListener(SWFAddressEvent.CHANGE, handleChange);
