

		var response = null 

var winW = 0, winH = 0;

if (parseInt(navigator.appVersion)>3) {
 if (navigator.appName=="Netscape") {
  winW = window.innerWidth;
  winH = window.innerHeight;
 }
 if (navigator.appName.indexOf("Microsoft")!=-1) {
  winW = document.body.offsetWidth;
  winH = document.body.offsetHeight;
 }
}



			

			function prompt2(promptpicture, prompttitle, message, message2, sendto) { 

				promptbox = document.createElement('div'); 

				promptbox.setAttribute ('id' , 'prompt') 
				
				
					document.getElementsByTagName('body')[0].appendChild(promptbox) 

					promptbox = eval("document.getElementById('prompt').style") 

					promptbox.position = "Fixed" 

					promptbox.top = "100px" 

					w=winW
					w=(w/2)-150
					w2=w + "px" 
					promptbox.left = w2//"300px" 
					

					
					


					promptbox.width = "300px"
					//document.getElementById('prompt').left=500
					

					promptbox.border = 'outset 1px #bbbbbb' 



					
					
//onblur='this.focus()'					

					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'><img src='" + promptpicture + "' height='18' width='18'></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' id='promptbox' class='promptbox'></td></tr><tr><td>" + message2 + "</td></tr><tr><td><input class='promptbox' type='text' id='xxx' /></td></tr><tr><td>&nbsp;</td></tr><tr><td align='right'><br><input type='button' class='prompt' value='OK' onMouseOver='this.style.border=\"1 outset #dddddd\"' onMouseOut='this.style.border=\"1 solid transparent\"' onClick='" + sendto + "(document.getElementById(\"promptbox\").value,document.getElementById(\"xxx\").value); document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'> <input type='button' class='prompt' value='Cancel' 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(value1,value2) { 

			if(value1.length<=0)

				

				return false;

			else

				/*document.getElementById('output').innerHTML="<b>"+value+"</b>";
				document.getElementById('output2').innerHTML="<b>"+value2+"</b>";*/
				
				document.getElementById('output').value=value1;
				document.getElementById('output2').value=value2;
				document.getElementById('form_send').submit();
				
				//document.location="enviar_noticia.php?email="+value

		} 

		



