function initBody(){
	;
}

function abrirJanela(url,nome,w,h,conf) {  //abre uma janela  conf = toolbar,location,status,menubar,scrollbars,resizable
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	novajanela=window.open(url,nome,'width='+w+',height='+h+',left='+winl+',top='+wint+','+conf);
	novajanela.resizeTo(w+10,h+80);
	novajanela.moveTo(winl,wint);
	novajanela.window.focus();
}//fim function abrirJanela(url,nome,w,h,conf)

function elementFocus(element){ //seleciona o foco no elemento do form
	if ( element.type == "text" || element.type == "radio" ){
		element.select();
		element.focus();	
	}
	if ( element.type == "select-one")
		element.focus();		
}//fim function elementFocus(element)

function pularEdit(n,t,target) { //pula altomaticamente para o proximo campo a ser preenchido
	if (n==t)
		elementFocus(target);
}
