// JavaScript Document

function show_ads(section)
{
	var full_name = 'ads_section_' + section;
	document.write('<div id="' + full_name + '"></div>');
	new Ajax.Request('/ads/show.php?_section=' + section + '&_location=' + document.location,
		{
		method: 'get',
		evalJS: 'force',
		onComplete: function(t) {
			if($(full_name))
				$(full_name).update(t.responseText);

		}
	});
	return false;
}


