// JavaScript Document

function limpa_campo(qual, texto, tipo){
		var element = document.getElementById(qual);
	if(element.value=='' && tipo=='out'){
		element.value=texto;
	}else if(element.value==texto && tipo=='in'){
		element.value='';
	}
}

// Função para Abrir Pop Up

function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

