function toggleZoom() {

document.layers["infolayer"].visibility = "hide"

	if (document.layers["zoomlayer"].visibility == "hide") {
	document.layers["zoomlayer"].visibility = "show"
	}
	else {
	document.layers["zoomlayer"].visibility = "hide"
	}
}

function toggleCenter() {
//	document.layers["infolayer"].visibility = "hide"
	document.layers["zoomlayer"].visibility = "hide"
}

function newSize() {
	if (document.newWidth.theWidth.value < 1) {
	self.location.reload();
	}
}

function radWindow() {
	
	if (document.datos.box1.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_DISCOTECAS_BARES,';
	}
	if (document.datos.box2.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_BANCOS,';
	}
	if (document.datos.box3.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_BIBLIOTECAS,';
	}
	if (document.datos.box4.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_CADES,';
	}
	if (document.datos.box5.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_CAJEROS,';
	}
	if (document.datos.box6.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_CEMENTERIOS,';
	}
	if (document.datos.box7.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_CENTROS_COMERCIALES,';
	}
	if (document.datos.box8.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_CINES,';
	}
	if (document.datos.box9.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_CLINICAS,';
	}
	if (document.datos.box10.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_COMIDAS_RAPIDAS,';
	}
	if (document.datos.box11.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_DROGUERIAS,';
	}
	if (document.datos.box12.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_EMBAJADAS,';
	}
	if (document.datos.box13.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_ESTACIONES_SERVICIO,';
	}
	if (document.datos.box14.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_HOTELES,';
	}
	if (document.datos.box15.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_IGLESIAS,';
	}
	if (document.datos.box16.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_MUSEOS,';
	}
	if (document.datos.box17.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_PARQUEADEROS,';
	}
	if (document.datos.box18.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_RESTAURANTES,';
	}
	if (document.datos.box19.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_SUPERMERCADOS,';
	}
	if (document.datos.box20.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_TEATROS,';
	}
	if (document.datos.box21.checked == true) {
		document.datos.sitio.value = document.datos.sitio.value + 'bog_UNIVERSIDADES,';
	}
	
	if (document.datos.select[1].value == 'dir') {
		document.datos.location.value = '&cmd=locate&address=' + document.datos.address1.value;
	}
	else {
		document.datos.location.value = '&cmd=locate&xy=' + document.datos.sitios[1].value;
	}

	radWin = window.open('http://216.85.157.28:8080/info.jsp?cmd=info&visible=' + document.datos.sitio.value + '&alrededor=' + document.datos.alrededor.value + document.datos.location.value, 'radWin', 'scrollbars=yes,width=300,height=200');
	radWin.focus();
//	document.datos.submit();
}