﻿/*
========================================

Utilizar aqui somente os Inits para scripts globais... 

Para as WP(BOX) cada uma deve ser responsável por chamar o seu Init. Veja como exemplo o tpu\videos.ascx que no final da página chama seus inits.

========================================
*/

Sys.Application.add_load(function(){


	try {
	
		try {
			Home_Init();
		} catch(ex0) {
			// nada;
		}
		
		try {
			SexyAlert_Init();
		} catch(ex1) {
			nvaFx.Dialogs.ShowError('Erro na inicialização do SexyAlert !','Não foi possível iniciar o componente.', "Init.js > Load() > SexyAlert_Init()");
		}

		try {
			Easing_Init();
		} catch(ex2) {
			// Nada
		}
		
		
		


		var loginElement = document.getElementById('ctl00_IdWelcome_ExplicitLogin')
		if(loginElement == null) {
			var oRibbon = document.getElementById('s4-ribbonrow')
			oRibbon.style.display = "block";
		}
	
	} catch(ex) {
		// nada.
	}
		

});

