function getDynamicContent()
		{
		//alert('ok');
		// loop through the page looking for forms that have a name with 'cms' 
		if (!document.getElementsByTagName) return false;
		elementsForms = document.getElementsByTagName("form");
		for (var intCounter = 0; intCounter < elementsForms.length; intCounter++)
		{
		
		if(elementsForms[intCounter].id.indexOf('cms')>-1)
		    {
			validateForm(elementsForms[intCounter].id);
			}
			
		}
		
		 }
		 
		function validateForm(currentForm)
		{
		ajaxFunction(currentForm);
		}

<!-- 
//Browser Support Code
function ajaxFunction(myvar)
{

	var ajaxRequest;  // The variable that makes Ajax possible!
	
	try
	{
		// Opera 8.0+, Firefox, Safari
		ajaxRequest = new XMLHttpRequest();

	} catch (e){
		// IE
		try{
			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try{
				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e){
				// Something went wrong
				//alert("ajax not supported... ?");
				return false;
			}
		}
	}
	
	
	// Create a function that will receive data sent from the server
	ajaxRequest.onreadystatechange = function()
	{
		if(ajaxRequest.readyState == 4)
		{
		
		//alert('ajax is ok');
		//get the area to display data
		
		theDiv = document.getElementById(myvar);
		//get the content
		theDiv.innerHTML = ajaxRequest.responseText;
	
		}
	}
	//alert('asp file is '+ myvar);
	ajaxRequest.open("GET",'/dynamicfiles/' +myvar +'.asp', true);
	ajaxRequest.send(null); 
}

//-->
