var isW3C = (document.getElementById) ? true : false;var isAll = (document.all) ? true : false;function checkFeedForm() {    var elem = (isW3C) ? document.getElementById('feedConditions') : ((isAll) ? document.all['feedConditions'] : null);    if (elem) {        if (elem.checked != "") {			return true;		} else {			alert("Debes aceptar las condiciones de uso de los RSS Feeds de eDreams.");			return false;		}    } else {		return true;	}}function moreFeed(elemValue) {    var elem = (isW3C) ? document.getElementById('rss-dest') : ((isAll) ? document.all['rss-dest'] : null);		if (elemValue == null) {		var elemType = (isW3C) ? document.getElementById('rss-type') : ((isAll) ? document.all['rss-type'] : null);		elemValue = elemType.value;	}		if (elem) {		if (elemValue=='vuelos-desde-') {			showElement(elem);			} else {			hideVisible(elem);		}	}}function toggleVisibility(elem) {	if (elem.style.visibility=='hidden') {		showElement(elem);	} else {		hideVisible(elem);	}}function showElement(elem) {	elem.style.visibility='visible';}function hideVisible(elem) {	elem.style.visibility='hidden';}