function ConfirmDelete(strQuestion) {
	if (confirm(strQuestion)) return true;
	else return false;
}



function DisableRightClick() {
   
   //Dishabilita click derecho mouse script III- By Renigade (renigade@mediaone.net)
   //For full source code, visit <a href="/out.php?http%3A%2F%2Fwww.dynamicdrive.com" target="_blank">http://www.dynamicdrive.com</a>
   var message = "";

   function clickIE(){
    if (document.all){
     (message);
     return false;
    }
   }

   function clickNS(e){
    if (document.layers || (document.getElementById && !document.all)){
     if (e.which == 2 || e.which == 3){
      (message);
      return false;
     }
    }
   }

   if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown = clickNS;
   } else {
    document.onmouseup = clickNS;
    document.oncontextmenu = clickIE;
   }
   document.oncontextmenu = new Function("return false")
}


function ToggleDiv(divName) {
	document.all(divName).style.visibility = 'display';
}
			
function validInput(evt) {
	evt = (evt) ? evt : event
	var key = (evt.which) ? evt.which : evt.keyCode;
	if (key > 47 && key < 58) return true;
	else return false;
}

function ValidInfo() { 
		
			var dltOrientacion = document.all("dltOrientacion").value;
			var dltBarrera = document.all("dltBarrera").value;
			
			alert("prueba");
			
			if (dltOrientacion != "")
				{
					alert(dltOrientacion);
					return false;
				}
				
			document.forms[0].submit();
			return true;
		}
