/**
 * @author DENIS ROUSSEAU
 * @version 1.4.4.0.1
 * @Title: Statistic configuration for www.lk.dk
 */
/*****************************************************************************
* Xiti default settings (not mandatory): used when no settings below for current page 
******************************************************************************/
xtsd = '' ;
xtsite = '' ;
xtn2 = '';
xtpage = 'home';
/*****************************************************************************
* Google Analytic default account (not mandatory): used when no setting below for current page
******************************************************************************/
gasiteID = '' ;

/*****************************************************************************
* General settings
******************************************************************************/
/* Common path to be removed from URI before mapping (without end slash), remove next folder if required */
STAT_PathRemover = {Common:'/sites', Next:false};
/* Decide for whole site if content markers are raised Asynchronously (true) or Synchronously (false) */
/* Preview is set to true to force getStatPreviewMap using */ 
STAT_Method = {Async:true, Preview:true};
/* Xiti sources relative path */
STAT_XitiSrc = {Sync:'/js/stat/xtcore.js', Async:'/js/stat/xtcore.js', Clicks:'/js/stat/xtclicks.js'};
/*****************************************************************************
* Settings maps
******************************************************************************/
/* Retrieve only site accounts */
function getStatGlobalMap()
{
    var sm = [] ;
	/*-----------------------------------------------------------------------------------
	* Path pattern (without last slash), GA Site ID (if any), xiti server (xtsd), xiti Site ID (xtsite)
	* Notes: 
	* > None are mandatory, but if xiti server or xiti site ID are missing without default values defined above, no tag is raised
	*-----------------------------------------------------------------------------------*/
    sm.push(['*', '', 'http://logi242', '493758']);
 	/*----------------------------------------------------------------------------------*/
    return sm;
}
/* Retrieve all settings, or only level 2 and pages (when site account are already set globally or in getStatGlobalMap) */
/*****************************************************************************
* Settings map
******************************************************************************/
function getStatSettingsMap()
{
    var sm = [] ;
	/*-----------------------------------------------------------------------------------
	* URL pattern (whole or part, without extension neither last slash), GA Site ID (if any), xiti server (xtsd), xiti Site ID (xtsite), xiti Level 2 (xtn2), chapters::pageName (xtpage)
	* Notes: 
	* > None are mandatory, but if xiti server or xiti site ID are missing without default values defined above, no tag is raised
	* > To exclude content tag while allowing click tags, put '!' in one of Xiti parameters (xtsd, xtsite or xtpage)
	* > Start by most complete path (specific cases), then decrease up to shorter paths (common cases)
	*   Example: /support will map /support/* except /support/others if declared above
	* > Don't write last slash: "/ww/en" will map "/ww/en/" too
	*-----------------------------------------------------------------------------------*/
	sm.push(['/Lauritz+Knudsen/professionel', '', '', '', '117']);
	sm.push(['/Lauritz+Knudsen/arkitekt', '', '', '', '118']);
	sm.push(['/Lauritz+Knudsen/privat', '', '', '', '115']);
	sm.push(['/Lauritz+Knudsen/om-lauritz-knudsen', '', '', '', '7']);
	sm.push(['/Lauritz+Knudsen', '', '', '', '12']);
	sm.push(['*', '', '', '', '12']);
	/*----------------------------------------------------------------------------------*/
    return sm;
}

function getStatPreviewMap()
{
    var pm = [] ;
	/*----------------------------------------------------------------------------------
	 * Xiti site ID, preview ID, preview server, GA preview ID
	 *----------------------------------------------------------------------------------*/
	var h = window.location.hostname ;
	/* if we're not on production server */
	if (h != 'www.lk.dk')
	{
		pm.push(['493758', '493771', 'http://logi242']); // default 
	}
	return pm ;	
}

function getStatSecuredServerMap()
{
    var pm = [] ;
	/*----------------------------------------------------------------------------------
	 * http server, https server   
	 *----------------------------------------------------------------------------------*/
    pm.push(['*', 'https://logs1242']); // default
	return pm ;	
}

function getStatDownloadMap()
{
    var pm = [] ;
	/*----------------------------------------------------------------------------------
	 * path, node (id or tag:class, default => document), extension1 | extension2 | ...    
	 *----------------------------------------------------------------------------------*/
	return pm ;	
}

function getStatExternalMap()
{
    var pm = [] ;
	/*----------------------------------------------------------------------------------
	 * path, node (id or tag:class, default => document)  
	 *----------------------------------------------------------------------------------*/
 	return pm ;	
}

function getStatInternalMap()
{
    var pm = [] ;
	/*----------------------------------------------------------------------------------
	 * path, node (id or tag:class, default => document)  
	 *----------------------------------------------------------------------------------*/
 	return pm ;	
}











