if (xmlScrollView && typeof xmlString !== undefined) {
	var myFeaturedFrame = new xmlScrollView();
	
	// The id of the element where the html will be written to
	myFeaturedFrame.setOutPutElement('featuredAgent');
	
	// The root tag for the elemets to recourse
	myFeaturedFrame.setItemRoot('Agent');
	
	// Setup the variables to replace with tag values              
	myFeaturedFrame.declareVariable('PortraitUrl', '%PortraitUrl%');
	myFeaturedFrame.declareVariable('ProfileUrl', '%ProfileUrl%');
	myFeaturedFrame.declareVariable('Name', '%Name%');
	myFeaturedFrame.declareVariable('BrokerageName', '%BrokerageName%');								
	myFeaturedFrame.declareVariable('Phone', '%Phone%');
	
	var template = '<div class="featAgentWrapper">';
	template += '<div class="photo"><a href="%ProfileUrl%"><img class="scrollImage" src="%PortraitUrl%" alt="%Name%" \/><\/a><\/div>';
	template += '<div class="name">%Name%<\/div>';	
	template += '<div class="phone">%Phone%<\/div>';	
	template += '<div class="brokerage">%BrokerageName%<\/div>';
	template += '<div class="link"><a href="%ProfileUrl%">View My Profile<\/a><\/div>';
	template += '<\/div>';
	
	myFeaturedFrame.setTemplate(template);
	myFeaturedFrame.outputFromString(xmlString);
	myFeaturedFrame.setScrollDelay(5);              
}