function galeria()
//essa é minha função em ajax
{
	   var img = createXMLHTTP();
	   img.open("post", "../objeto/objgaleria.asp", true);
	   img.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	   img.onreadystatechange=function(){
		   if (img.readyState==4){// abaixo o texto do gerado no arquivo executa.asp e colocado no div
			   document.all.divgaleria.innerHTML = img.responseText;}}
			   img.send("quadroid=" + frm1.quadroid.value);
}

function abrir_orcar(URL)
{
	var width = 432;
	var height = 250;
	var left = (screen.width - width) / 2;
	var top = (screen.height - height) / 2;
	//winprops = 'height='+height+',width='+width+',top='+top+',left='+left+',scrollbars=yes,resizable'
	winprops = 'height='+height+',width='+width+',top='+top+',left='+left+',scrollbars=yes,resizable, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no'
	win = window.open(URL, 'intro', winprops)
	if (parseInt(navigator.appVersion) >= 4) 
	{ 
		win.window.focus();
	}
}

function abrir_indicar(URL)
{
	var width = 432;
	var height = 250;
	var left = (screen.width - width) / 2;
	var top = (screen.height - height) / 2;
	//winprops = 'height='+height+',width='+width+',top='+top+',left='+left+',scrollbars=yes,resizable'
	winprops = 'height='+height+',width='+width+',top='+top+',left='+left+',scrollbars=yes,resizable, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no'
	win = window.open(URL, 'intro', winprops)
	if (parseInt(navigator.appVersion) >= 4) 
	{ 
		win.window.focus();
	}
}

