<!--// add :'s and required fields to forms of class myForms

function initForms() {

	// get the forms of class myforms
	$$('div.myForms label').each(function(element) {
		if (!element.hasClassName('radio')) {
			element.insert({bottom: '&nbsp;:&nbsp;'});	
		} else {
			element.insert({'top': '&nbsp;&nbsp;'});	
		}
	});

	// add the : in the case of a <span class="label">
	$$('div.myForms span.label').each(function(element) {
		element.insert({bottom: '&nbsp;:&nbsp;'});	
	});

	// get the forms of class myforms
	$$('div.myForms input.required').each(function(element) {
		element.insert({after: '<span class="required"></span>'});
	});
	
	// get the forms of class myforms
	$$('div.myForms select.required').each(function(element) {
		element.insert({after: '<span class="required"></span>'});
	});
}

Event.observe(window, 'load', function() {
	initForms();
});
//-->
