		var include_help_file = Ext.extend(Object,
        {
            constructor : function (file_name, content)
            {
                if (file_name.trim() != '')
                {
                    Ext.MessageBox.wait('Loading Help...', 'Wait');
    
                    Ext.Ajax.request({
                        url: base_url+'/contacts/getHelpFile',
                        params:{filename:file_name},
                        success: function(response, opts){
                            var result = Ext.util.JSON.decode(response.responseText);
                            var contrHtml = Ext.util.Format.htmlDecode(result.context);
    
                            // Show Success Message
                            var helpView = new Ext.Window({
                                width:500,
                                height:660,
                                title: 'Help',
                                modal: true,
                                cls: 'x-window-dlg',
                                html: contrHtml
                            });
                            helpView.show();
                            Ext.MessageBox.hide();
                        },
                        failure: function (ta) { console.log('failure'); console.log(ta);},
                        headers: {
                        'my-header': 'foo'
                        }
                    });
                }
                else if (content.trim() != '')
                {
                    // Show Success Message
                    var helpView = new Ext.Window({
                        width:500,
                        height:660,
                        title: 'Help',
                        modal: true,
                        cls: 'x-window-dlg',
                        html: content.trim()
                    });
                    helpView.show();
                }
            }
        });

		function activateUser(){
				return false;
				}
		
		function logout(){
			Ext.Ajax.request({
		url:  getBaseUrl()+'index.php/ui/logout',
		
		success: function (){
			window.location = '/';
			},
		failure: function (ta) { console.log('failure'); console.log(ta);},
		headers: {
			'my-header': 'foo'
		},
		params: { foo: 'bar' }
	});
	
		
		
		
		}
		
		//Define the console to be empty if not available or if in the production environment
        if (typeof(console)=='undefined' || true)
        {
            if (typeof(console)=='undefined')
            {
            	console = new Object();
            	console.log = function (x){}
            }
            else
            {
            	console.log = function (x){}
            }
        }
        
        function isDevEnv()
        {
            return false;
        }
        
        function isQaEnv()
        {
            return false;
        }
        
        function isProdEnv()
        {
            return true;
        }
        
        function getBannerPath (){
            return 'http://images.groovezoo.com/app/./../banners/';
        
        }
        
        function getImagesBaseUrl ()
        {
    		return 'http://images.groovezoo.com/app/';
        }
        
        function getMediaBaseUrl ()
        {
    		return 'http://media.groovezoo.com/app/';
        }
        
		function getBaseUrl()
		{
            return 'http://groovezoo.com/app/';
		}
		
		//Global variables
		var game_activity_level_limit = 2;
		var gz_host_name              = 'groovezoo.com';
		var base_url                  = getBaseUrl()+'index.php';
		var media_base_url            = getMediaBaseUrl()+'index.php';
		var images_base_url           = getImagesBaseUrl()+'index.php';
		var max_file_size_for_exp     = 10;
		
        var find_people_load_member_id  = 0;
        var fmt_load_session_id         = 0;
        var fmt_load_mix_id             = 0;
        var create_open_session_flag    = false;
        
		function getAppVersion()
		{
		  return '4_3_8';
		}
		var _gz_app_version = getAppVersion();
		function getUserInfo ()
		{
				return 'false';
		
		}
				
		function isAdmin()
		{
    		    		return false;
    				}
		
		function isContestSessionAdmin()
		{
    		    		return false;
    				}
		
		// Enable Quick Tips
    	Ext.QuickTips.init();
        
        var WAV_MP3_CONVERSION_TYPE = 199;        
