		/*************************** below code can be in a js file  *****************************/
		var response = null 
		function prompt2(prompttitle, message, sendto) { 
		promptbox = document.createElement('div'); 
		promptbox.setAttribute ('id' , 'prompt') 
			document.getElementsByTagName('body')[0].appendChild(promptbox) 
			promptbox = eval("document.getElementById('prompt').style") 
			promptbox.position = 'absolute' 
			promptbox.top = 50 
			promptbox.left = 250 
			promptbox.width = 200 
			promptbox.border = 'outset 1 #bbbbbb' 
			
			document.getElementById('prompt').innerHTML = "<table width=100% border=0 bgcolor=#e5e5e5 cellspacing=0 cellpadding=0 bordercolor='#CCCCCC'><tr><td colspan=3>"+
			"<img src='/imagesLaCuisine/spacer.gif' width=8 height=1></td></tr><tr><td>&nbsp;</td><td align='center'><img src='/imagesLaCuisine/confirmacion_ima_01.gif' width='367' height='52'></td>"+
    		"<td>&nbsp;</td></tr><tr><td><img src='/imagesLaCuisine/spacer.gif' width=8 height=100></td> <td class=texto_negro> <img src='/imagesLaCuisine/spacer.gif'  width=10 height=10>"+message+"<br>"+
      		"<img src='/imagesLaCuisine/spacer.gif' width=362 height=20> <img src='/imagesLaCuisine/spacer.gif' width=10 height=10>"+
   			"</td><td><img src='/imagesLaCuisine/spacer.gif' width=8 height=220></td></tr><tr>"+
			"<td><img src='http:/imagesLaCuisine/spacer.gif' width=1 height=1></td><td bgcolor=#000000><img src='/imagesLaCuisine/spacer.gif' width=1 height=1></td>"+
			"<td><img src='/imagesLaCuisine/spacer.gif' width=1 height=1></td></tr><tr><td colspan=3><img src='/imagesLaCuisine/spacer.gif' width=8 height=8></td>"+
			"</tr><tr><td>&nbsp;</td><td><div align=right><input type='button' class='prompt' value='Aceptar' onMouseOver='this.style.border=\"1 outset #dddddd\"' onMouseOut='this.style.border=\"1 solid transparent\"' onClick='" + sendto + "();'> <input type='button' class='prompt' value='Cancelar' onMouseOver='this.style.border=\"1 outset transparent\"' onMouseOut='this.style.border=\"1 solid transparent\"' onClick='document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'></div>"+
			"</td><td>&nbsp;</td></tr><tr><td colspan=3><img src='/imagesLaCuisine/spacer.gif' width=8 height=8></td></tr></table>"

			
//			document.getElementById('prompt').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' width='100%'><tr valign='middle'><td width='22' height='22' style='text-indent:2;' class='titlebar'></td><td class='titlebar'>" + prompttitle + "</td></tr></table>" 
//			document.getElementById('prompt').innerHTML = document.getElementById('prompt').innerHTML + "<table cellspacing='0' cellpadding='0' border='0' width='100%' class='promptbox'><tr><td>" + message + "</td></tr><tr><td><input type='text' value='E:\\cuisineimg\\temp' id='promptbox' onblur='this.focus()' class='promptbox'></td></tr><tr><td align='right'><br><input type='button' class='prompt' value='Aceptar' onMouseOver='this.style.border=\"1 outset #dddddd\"' onMouseOut='this.style.border=\"1 solid transparent\"' onClick='" + sendto + "(document.getElementById(\"promptbox\").value); document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'> <input type='button' class='prompt' value='Cancelar' onMouseOver='this.style.border=\"1 outset transparent\"' onMouseOut='this.style.border=\"1 solid transparent\"' onClick='" + sendto + "(\"\"); document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'></td></tr></table>" 
//			document.getElementById("promptbox").focus() 
		} 
		
		
		
		function myfunction(value) { 
			if(value.length<=0)
				return false;
			else{
//				document.getElementById('output').innerHTML="Espere mientras se generan las paginas";
				alert("Este proceso puede tardar por favor espere un momento")
				parent.ContenidoBuffer1.location.href="../demo.asp?rutaArchivos=" + value
				document.getElementById('output').innerHTML="<b>"+value+"</b>,<br> Espere mientras se generan las paginas"
			}
		} 


		/***************************  js file code *****************************/
		function callPrompt(){
			prompt2('Generador de HTML','Está seguro que desea borrar todos los artículos del carrito de compras?','myfunction');
		}

	