// JavaScript Document

// Inicialização de objetos 		
var util = new Util();
var form = new Form(util); // para formulários
var mascaras = new Mascaras();

function $(id)
{
	if(document.getElementById(id))
		return document.getElementById(id);
	else 
		alert('Element não definido!');
}


function retornoMsg(msg)
{
	alert(util.url_decode(msg));
}

function redirJs(url)
{
	window.location.href = url;	
}


window.onload = function()
{
	if(document.getElementById('menu_produtos'))
		initMenu(); // menu signovinces
}