

    // First, we must tell jStore where to find the HTML file which embeds our flash script.  
    // If you move the jStore.swf or jStore.Flash.html files out of their default directories (document root),  
    // use this variable to define where to access the .html file. Within the .html file, you can set up the  
    // path to the .swf file.  
    // Then, set up the default engine we wish to use.  
    jQuery.extend(jQuery.jStore.defaults, {  
        project: 'demo-guide',  
        engine: 'flash',  
        flash: 'fileadmin/sys/js/lib/jStore/jStore.Flash.html'  
    }) 
     
    // Next, we need to wait for jStore to prepare the storage engine
    jQuery.jStore.ready(function(engine){
		jQuery.jStore.flashReady(function(){
			// Finally, we need to wait for the storage engine to be ready
			// Once this function is called, you can use the jStore interface synchronously
			engine.ready(function(){
				var engine = this;
				if( jQuery.jStore.get('naviChecked') == 'yes' )
				{
					hidePopover();
					naviActive = 1;
					naviInit = 0;
					archiveInit = 0;
					archiveActive = 0;
				}
				else
				{
					naviActive = 0;
					naviInit = 0;
					archiveInit = 0;
					archiveActive = 0;
				}
            })  
        })
    });  

    // Once the engine is prepared, we can do whatever we need with it  
    function dothis(){
		//jQuery.jStore.remove('counter');
		jQuery.jStore.remove('naviChecked'); 
    }

function telljStore()
{
	jQuery.jStore.set('naviChecked', 'yes');
}  
     
    // Finally, we trigger jStore's load function. This is a new step in the   
    // activation procedure of jStore, since Version 1.1  
    $(function(){ 
        jQuery.jStore.load();  
    });

