// JavaScript Document
	
	// Capturamos el nombre de la variable hidden
	var name_field = document.location.hash;
	
	//alert(name_field);

	// Si esta vacio le asigno por defecto sendPDFid;
	if (!name_field) name_field = 'sendPDFid';
	
	// Creo el campo hidden en el documento
	document.write('<input type="hidden" id="sendPDFid" name="sendPDFid" value="none" />');
	
	// Declaro la funcion sendPDF
	function sendPDF(rutafile){
		// asigno el valor a la variable 
		document.getElementById("sendPDFid").value = rutafile;
	}
