



				function $(id){ return document.getElementById(id); }
				Number.prototype.decimal = function(n){ pot = Math.pow(10, parseInt(n)); return parseInt(this * pot) / pot; }
				function creAjax()
				{
					var xmlhttp=false;
					try {
						xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
					} catch (e) {
						try {
							xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
						} catch (E) {
							xmlhttp = false;
						}
					}
					if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
						xmlhttp = new XMLHttpRequest();
					}
					return xmlhttp;
				}

				function conectAjax(url, target)
				{
					ajax = creAjax();
					ajax.onreadystatechange = function () {if (ajax.readyState == 4) {$(target).innerHTML = ajax.responseText;}};
					ajax.open('GET', url, true);
					ajax.send(null);
				}