function updateAjax(url, divName) {
	$(divName).style.display = 'block';
	//$(divName).innerHTML = '<table cellpadding="10" cellspacing="10" width="100%" height="100%"><td align="center" valign="middle"><img src="/images/loadin.gif.gif" width="32" height="32"></td></tr></table>';
	new Ajax.Updater(divName, url, { method: 'get', evalScripts: true});
}

function openWindow(url, windowName, width, height) {
	window.open(url, windowName, 'menubar=0,resizable=0,width='+width+',height='+height);
}


