// ###########################
// created by: Ben Weeks
// Created Date: 13th March 2006
// Company: webtechy.co.uk
//
// Modified By:
// Modified Date:
// Modified Comment:
//
// Version: 1.00
// ###########################

var sSwitchtoLiveID = "AuthoringPreviewAnchor"; // This may change with subsequent releases.

function MoveDetails() {
	if (document.getElementById) {
	  if (!document.getElementById(sSwitchtoLiveID)) // We don't want this stuff happening in edit mode.
	    {			
		if(document.getElementById("CouncillorDetailsDiv")) {
			if(document.getElementById("NewCouncillorDetailsDiv")) {
				var sHTML = document.getElementById("CouncillorDetailsDiv").innerHTML;
				//alert(sHTML);
				document.getElementById("CouncillorDetailsDiv").innerHTML = "";
				document.getElementById("CouncillorDetailsDiv").style.display = "none";
				document.getElementById("NewCouncillorDetailsDiv").innerHTML = sHTML;
			
			}
		}
	}
	    
	}
}

MoveDetails();
