<!-- // Function to find/set agent -->
function buBroker(){
	// jQuery Required
	var object = jQuery("#agentList li:contains('Curley')"); // li:contains('NAME OF AGENT')
	// HTML cannot contain any unescaped ' or any returns
	var html = '<li><a href="http://melaniecurley.nywaterfronthomes.com" class="agentPhoto"><img src="http://cdn.homes.com/cgi-bin/readimage_v2/235898917" alt="" width="68" border="0"></a><div class="agentInfo"><h3>Curley<span>, Melanie</span></h3><p>Licensed Real Estate Broker, Owner, GRI, CBR, SRES<br>Thousand Islands Realty,LLC<br><a href="mailto:melc@gisco.net">melc@gisco.net</a><br>(315) 686-5500</p></div><div class="agentButns"><a href="http://melaniecurley.nywaterfronthomes.com"><img src="/images/content/butn_agent-aboutme.gif" alt="" width="102" border="0" height="18"></a><a href="/content/listings.html/*?ag_id=1184395"><img src="/images/content/butn_agent-mylistings.gif" alt="" width="102" border="0" height="18"></a></div><div class="clear"></div></li>';
	if(typeof(object) == 'object'){
		if(object.length){
			return object;
		}else{
			return html;
		}
	}else{
		return html;
	}	
}

<!-- // Javascript with jQuery -->
jQuery(document).ready(function(){
	jQuery("#agentList li:first").before(buBroker());
	jQuery("#agentList").find("li:odd").addClass("oddRow").end().find("li:even").removeClass("oddRow");
});
