/*****************************
***************************************************
    Add Groups Description
    -----------------------------------------------------------------------------
    The following script will append a description under the "Find Content" title
	
********************************************************************************/

$E.onDOMReady(function(){ 


	var url = window.location.href.replace(/^http:\/\//gi,'');
	
	
	if(url == "physicianspracticetoolbox.com/contentsearch") {

		// Create a new DIV element and give it some content
		descriptionDiv = document.createElement("div");
		descriptionDiv.style.width = "483px";
		descriptionDiv.style.position = "relative";
		descriptionDiv.style.padding = "0px 15px 15px 0px";
		descriptionDiv.innerHTML = "<div id=\"roundedcornr_box_712816\" style=\"background: #E6E6E6\;\">"
			+ "<div id=\"roundedcornr_top_961745\" style=\"background: url(http://static.sixent.com/content/1/0/85720001/69/roundedcornr_961745_tr.png) no-repeat top right\; width: 100%\; height: 10px\; font-size: 1px\;\">"
				+ "<div style=\"background: url(http://static.sixent.com/content/1/0/85720001/66/roundedcornr_961745_tl.png) no-repeat top left\; width: 100%\; height: 10px\; font-size: 1px\;\"></div>"
				+ "</div>"
				+ "<div style=\"padding: 7px 10px\;\">"
					+ "<div style=\"float:left\; padding: 0px 17px 7px 0px\; margin: -7px\;\">"
						+ "<img width=50px src=\"http://static.sixent.com/content/1/0/85720001/65/ppt-group-info-icon.png\" />"
					+ "</div>"
					+ "<div id=\"roundedcornr_content_961745\" style=\"font-size: 12px\;\">"
						+ "<div>To SEARCH, please use the Search area to the right.</div><div>Type in what you are searching for & click the green tab.</div> <div>You have several choices listed below the Search area if you want to narrow your Search.</div>" 	
					+ "</div>"
				+ "</div>"
				+ "<div id=\"roundedcornr_bottom_961745\" style=\"background: url(http://static.sixent.com/content/1/0/85720001/67/roundedcornr_961745_br.png) no-repeat bottom right\; width: 100%\; height: 10px\; font-size: 1px\;\">"
				+ "<div style=\"background: url(http://static.sixent.com/content/1/0/85720001/68/roundedcornr_961745_bl.png) no-repeat bottom left\; width: 100%\; height: 10px\; font-size: 1px\;\"></div>"
			+ "</div>"
		+ "</div>";
									   
									   
									   
		// Add the newly created element and it's content into the DOM
		existing_div = $("rm-contactsContent");
		parent_element = existing_div.parentNode;
		parent_element.insertBefore(descriptionDiv, existing_div);
		
		
	
	}
})