if(typeof MetrixLab_PopupFolderName == "undefined")
{
	var MetrixLab_Intercept = 2;

	var MetrixLab_OverlayType = 'entry';

	var MetrixLab_PopupFolderName = 'p11026';
	var MetrixLab_PopupFolderName2 = 'p12195';
	var MetrixLab_ChooseOldNew = 0;
	
	var MetrixLab_ProjectNumber = 'p11026';
	var MetrixLab_CookieFolderName = 'p11026';
	var MetrixLab_Channel = escape(window.location.href);

	//if true the MetrixLab_CookieFolderName name should be the same in all projects
	var MetrixLab_GLOB_CookieSetup = true;

	var MetrixLab_PrivacyLanguage = 'nl';

	var MetrixLab_DivStartLeft = '100';
	var MetrixLab_DivStartTop = '100';

	var MetrixLab_OverlayWidth = 407;
	var MetrixLab_OverlayHeight = 326;
	
	var MetrixLab_OverlayWidth2 = 407;
	var MetrixLab_OverlayHeight2 = 326;

	var MetrixLab_Coordinate_YesButton = '26,261,238,287';
	var MetrixLab_Coordinate_NoButton = '258,261,380,287';
	var MetrixLab_Coordinate_CloseButton = '332,10,397,26';
	var MetrixLab_Coordinate_PrivacyButton = '0,0,0,0';
	var MetrixLab_Coordinate_MetrixButton = '25,302,97,314';
	
	var MetrixLab_Coordinate_YesButton2 = '26,260,238,286';
	var MetrixLab_Coordinate_NoButton2 = '258,260,380,286';
	var MetrixLab_Coordinate_CloseButton2 = '348,9,398,27';
	var MetrixLab_Coordinate_PrivacyButton2 = '0,0,0,0';
	var MetrixLab_Coordinate_MetrixButton2 = '27,302,96,314';

	var MetrixLab_AutoCloseInterval=0;
	var MetrixLab_ForceData='0';

	var MetrixLab_CookieName = "MetrixLab"+MetrixLab_CookieFolderName;
	var MetrixLab_UserID='';

	var MetrixLabGLOB_cookie;
	var MetrixLabGLOB_Try_count = 20;

	var MetrixLabGLOB_isChineseDomain=false;
	var MetrixLabGLOB_InviteIntercept=0;
	var MetrixLabGLOB_Coordinate_MoreButton='';

	//p11026_master intercepts
	var MetrixLabGLOB_CountryIntercept_ar_es=2;
	var MetrixLabGLOB_CountryIntercept_au_en=2;
	var MetrixLabGLOB_CountryIntercept_be_nl=2;
	var MetrixLabGLOB_CountryIntercept_be_fr=2;
	var MetrixLabGLOB_CountryIntercept_br_pt=2;
	var MetrixLabGLOB_CountryIntercept_ca_en=2;
	var MetrixLabGLOB_CountryIntercept_ca_fr=2;
	var MetrixLabGLOB_CountryIntercept_cn_zh=2;
	var MetrixLabGLOB_CountryIntercept_cz_cs=2;
	var MetrixLabGLOB_CountryIntercept_fr_fr=2;
	var MetrixLabGLOB_CountryIntercept_de_de=2;
	var MetrixLabGLOB_CountryIntercept_Global_en=2;
	var MetrixLabGLOB_CountryIntercept_in_en=2;
	var MetrixLabGLOB_CountryIntercept_it_it=2;
	var MetrixLabGLOB_CountryIntercept_jp_ja=2;
	var MetrixLabGLOB_CountryIntercept_kr_ko=2;
	var MetrixLabGLOB_CountryIntercept_my_en=2;
	var MetrixLabGLOB_CountryIntercept_sa_en=2;
	var MetrixLabGLOB_CountryIntercept_mx_es=2;
	var MetrixLabGLOB_CountryIntercept_nl_nl=2;
	var MetrixLabGLOB_CountryIntercept_pl_pl=2;
	var MetrixLabGLOB_CountryIntercept_ru_ru=2;
	var MetrixLabGLOB_CountryIntercept_es_es=2;
	var MetrixLabGLOB_CountryIntercept_se_sv=2;
	var MetrixLabGLOB_CountryIntercept_tw_zh=2;
	var MetrixLabGLOB_CountryIntercept_tr_tr=2;
	var MetrixLabGLOB_CountryIntercept_uk_en=2;
	var MetrixLabGLOB_CountryIntercept_us_en=2;
	var MetrixLabGLOB_CountryIntercept_dk_da=2;
	var MetrixLabGLOB_CountryIntercept_id_en=2;
	var MetrixLabGLOB_CountryIntercept_sg_en=2;
	var MetrixLabGLOB_CountryIntercept_ph_en=2;
	var MetrixLabGLOB_CountryIntercept_th_th=2;
	var MetrixLabGLOB_CountryIntercept_nz_en=2;
	var MetrixLabGLOB_CountryIntercept_vn_vi=2;
	var MetrixLabGLOB_CountryIntercept_hu_hu=2;
	var MetrixLabGLOB_CountryIntercept_gb_en=2;
	var MetrixLabGLOB_CountryIntercept_me_en=2;
	//---
	var MetrixLabGLOB_CountryIntercept_fi_fi=2;
	var MetrixLabGLOB_CountryIntercept_gr_el=2;
	var MetrixLabGLOB_CountryIntercept_hk_en=2;
	var MetrixLabGLOB_CountryIntercept_hk_zh=2;
	var MetrixLabGLOB_CountryIntercept_no_no=2;
	var MetrixLabGLOB_CountryIntercept_pt_pt=2;

	var MetrixLabGLOB_isAllowed=false;
	//The sections of the site where the script should run
	var MetrixLabGLOBMeta_NotAllowedSections=new Array();  
	MetrixLabGLOBMeta_NotAllowedSections[0]='main:homepage';

	var MetrixLab_Protocol = document.location.protocol;
	//The sections of the site where the script should run
	var MetrixLabGLOBMeta_AllowedSections=new Array();  
	MetrixLabGLOBMeta_AllowedSections[0]='main';
	MetrixLabGLOBMeta_AllowedSections[1]='main:homepage';
	MetrixLabGLOBMeta_AllowedSections[2]='CO:main';
	MetrixLabGLOBMeta_AllowedSections[3]='CO:main:homepage';
	MetrixLabGLOBMeta_AllowedSections[4]='CP:main';
	MetrixLabGLOBMeta_AllowedSections[5]='LI:main';
	MetrixLabGLOBMeta_AllowedSections[6]='HC:main';
	MetrixLabGLOBMeta_AllowedSections[7]='netforum';
	MetrixLabGLOBMeta_AllowedSections[8]='HC:netforum';
	MetrixLabGLOBMeta_AllowedSections[9]='SP:sms';
	MetrixLabGLOBMeta_AllowedSections[10]='sms';
	MetrixLabGLOBMeta_AllowedSections[11]='SP:p4c';
	MetrixLabGLOBMeta_AllowedSections[12]='p4c';
	MetrixLabGLOBMeta_AllowedSections[13]='sonicare';
	MetrixLabGLOBMeta_AllowedSections[14]='CP:sonicare';
	MetrixLabGLOBMeta_AllowedSections[15]='learning_center';
	MetrixLabGLOBMeta_AllowedSections[16]='HC:learning_center';
	MetrixLabGLOBMeta_AllowedSections[17]='LEARNING CENTER';
	MetrixLabGLOBMeta_AllowedSections[18]='mylife';
	MetrixLabGLOBMeta_AllowedSections[19]='mykitchen';
	MetrixLabGLOBMeta_AllowedSections[20]='inside_health';
	MetrixLabGLOBMeta_AllowedSections[21]='livablecities';
	MetrixLabGLOBMeta_AllowedSections[22]='tv_customizer';
	MetrixLabGLOBMeta_AllowedSections[23]='tvcustomizer';
	MetrixLabGLOBMeta_AllowedSections[24]='shop';
	MetrixLabGLOBMeta_AllowedSections[25]='annualreport2010';
	MetrixLabGLOBMeta_AllowedSections[26]='supportforum';
	MetrixLabGLOBMeta_AllowedSections[27]='lightcommunity';
	MetrixLabGLOBMeta_AllowedSections[28]='sound';
	MetrixLabGLOBMeta_AllowedSections[29]='CP:norelco';
	MetrixLabGLOBMeta_AllowedSections[30]='CP:male_grooming';
	MetrixLabGLOBMeta_AllowedSections[31]='foxparts';


	var _page_id = '';
	var _page_id_array = new Array();
	_page_id_array[0] = "CO:main:homepage:landing";
	_page_id_array[1] = "HC:main:healthcare_landingpage";
	_page_id_array[2] = "LI:main:landing_page";
	_page_id_array[3] = "LI:main:lighting_landing";
	_page_id_array[4] = "SP:sms:homepage";
	_page_id_array[5] = "SP:sms:findyourproduct";
	_page_id_array[6] = "SP:sms:software_drivers";
	_page_id_array[7] = "SH:shop:homepage";

	var MetrixLabGLOB_SearchEngines=new Array(25);
	for (i=0;i<MetrixLabGLOB_SearchEngines.length;i++)
	{
		MetrixLabGLOB_SearchEngines[i]=new Array(2);
	}

	MetrixLabGLOB_SearchEngines[0][0]='google.';
	MetrixLabGLOB_SearchEngines[0][1]='q=';

	MetrixLabGLOB_SearchEngines[1][0]='baidu.';
	MetrixLabGLOB_SearchEngines[1][1]='wd=';

	MetrixLabGLOB_SearchEngines[2][0]='yahoo.';
	MetrixLabGLOB_SearchEngines[2][1]='p=';

	MetrixLabGLOB_SearchEngines[3][0]='bing.';
	MetrixLabGLOB_SearchEngines[3][1]='text=';

	MetrixLabGLOB_SearchEngines[4][0]='yandex.';
	MetrixLabGLOB_SearchEngines[4][1]='q=';

	MetrixLabGLOB_SearchEngines[5][0]='naver.';
	MetrixLabGLOB_SearchEngines[5][1]='query=';

	MetrixLabGLOB_SearchEngines[6][0]='ask.';
	MetrixLabGLOB_SearchEngines[6][1]='q=';

	MetrixLabGLOB_SearchEngines[7][0]='aol.';
	MetrixLabGLOB_SearchEngines[7][1]='q=';

	MetrixLabGLOB_SearchEngines[8][0]='live.';
	MetrixLabGLOB_SearchEngines[8][1]='q=';

	MetrixLabGLOB_SearchEngines[9][0]='seznam.';
	MetrixLabGLOB_SearchEngines[9][1]='q=';

	MetrixLabGLOB_SearchEngines[10][0]='daum.';
	MetrixLabGLOB_SearchEngines[10][1]='q=';

	MetrixLabGLOB_SearchEngines[11][0]='mail.ru';
	MetrixLabGLOB_SearchEngines[11][1]='q=';

	MetrixLabGLOB_SearchEngines[12][0]='virgilio.';
	MetrixLabGLOB_SearchEngines[12][1]='qs=';

	MetrixLabGLOB_SearchEngines[13][0]='msn.';
	MetrixLabGLOB_SearchEngines[13][1]='q=';

	MetrixLabGLOB_SearchEngines[14][0]='icq.';
	MetrixLabGLOB_SearchEngines[14][1]='q=';

	MetrixLabGLOB_SearchEngines[15][0]='web.de';
	MetrixLabGLOB_SearchEngines[15][1]='su=';

	MetrixLabGLOB_SearchEngines[16][0]='startsiden.';
	MetrixLabGLOB_SearchEngines[16][1]='q=';

	MetrixLabGLOB_SearchEngines[17][0]='kvasir.';
	MetrixLabGLOB_SearchEngines[17][1]='q';

	MetrixLabGLOB_SearchEngines[18][0]='tiscali.';
	MetrixLabGLOB_SearchEngines[18][1]='query=';

	MetrixLabGLOB_SearchEngines[19][0]='busca.uol.';
	MetrixLabGLOB_SearchEngines[19][1]='q=';

	MetrixLabGLOB_SearchEngines[20][0]='eniro.';
	MetrixLabGLOB_SearchEngines[20][1]='search_word=';

	MetrixLabGLOB_SearchEngines[21][0]='altavista.';
	MetrixLabGLOB_SearchEngines[21][1]='q=';

	MetrixLabGLOB_SearchEngines[22][0]='centrum.cz';
	MetrixLabGLOB_SearchEngines[22][1]='q=';

	MetrixLabGLOB_SearchEngines[23][0]='myway.';
	MetrixLabGLOB_SearchEngines[23][1]='searchfor=';

	MetrixLabGLOB_SearchEngines[24][0]='goo.ne.jp';
	MetrixLabGLOB_SearchEngines[24][1]='MT=';

	function MetrixLabGLOB_IsSearchEngine(MetrixLabGLOB_URL)
	{
		var result=false;

		for (i=0;i<MetrixLabGLOB_SearchEngines.length;i++)
		{
			if (MetrixLabGLOB_URL.indexOf(MetrixLabGLOB_SearchEngines[i][0])>-1 && MetrixLabGLOB_URL.indexOf(MetrixLabGLOB_SearchEngines[i][1])>-1)
			{
				result=true;
				break;
			}
		}
		
		return result;
	}

	function MetrixLabGLOB_GetReferrerType(MetrixLabGLOB_URL)
	{
		var ReferrerType='';
		
		if (MetrixLabGLOB_URL=='')
		{
			ReferrerType='typed or bookmark';
		}
		else
		{
			if (MetrixLabGLOB_IsSearchEngine(MetrixLabGLOB_URL) && MetrixLabGLOB_URL.indexOf('origin')>-1)
			{
				ReferrerType='paid search';
			}		
			else if (MetrixLabGLOB_URL.indexOf('origin=1')>-1)
			{
				ReferrerType='banner';
			}
			
			else if (MetrixLabGLOB_IsSearchEngine(MetrixLabGLOB_URL) && MetrixLabGLOB_URL.indexOf('origin')==-1)
			{
				ReferrerType='organic search';
			}
			
			else if (!MetrixLabGLOB_IsSearchEngine(MetrixLabGLOB_URL) && MetrixLabGLOB_URL.indexOf('philips')==-1)
			{
				ReferrerType='other';
			}
		}
		
		return ReferrerType;
	}



	function MetrixLab_SetUserID()
	{
		var Today = new Date();
		MetrixLab_UserID=''+Today.getFullYear()+'_'+(Today.getMonth()+1)+'_'+Today.getDate()+'_'+Today.getHours()+'_'+Today.getMinutes()+'_'+Today.getSeconds()+'_'+Today.getMilliseconds();	
	}

	function MetrixLab_isCookieEnabled()
	{
		var cookieEnabled=(navigator.cookieEnabled)? true : false
		
		if (typeof navigator.cookieEnabled=="undefined" && !cookieEnabled)
		{ 
			document.cookie="MetrixLabTestCookie"
			cookieEnabled=(document.cookie.indexOf("MetrixLabTestCookie")!=-1)? true : false
		}    
		return cookieEnabled;      	
	}

	function MetrixLab_GetRandomNumber(MetrixLab_minValue,MetrixLab_maxValue)
	{
		var MetrixLab_result = 0;

		if (MetrixLab_minValue<=MetrixLab_maxValue)
		{
			MetrixLab_result=Math.round((Math.random()*(MetrixLab_maxValue-MetrixLab_minValue+1))+MetrixLab_minValue-0.5);
		}	
		return MetrixLab_result;
	}

	function MetrixLab_SetCookie(c_day)
	{
		var MetrixLab_expires = new Date();
		//set 14 day
		if (c_day == 14)
			c_day = c_day * 24;
		MetrixLab_expires.setTime(MetrixLab_expires.getTime() + (c_day*60*60*1000));
		document.cookie = MetrixLab_CookieName+"=1; expires=" + MetrixLab_expires.toGMTString() + "; path=/;";

		if (MetrixLab_GLOB_CookieSetup)
		{	
			MetrixLab_GLOB_setCookie(c_day);
		}
	}


	function MetrixLab_ShowOverlay()
	{
		MetrixLabGLOB_CheckSection();
		if(!MetrixLabGLOB_isAllowed)
			return false;
		MetrixLab_SetUserID();
		MetrixLab_SetCookie(14);
		MetrixLab_LoadOverlay();
		var omn= new Image(); 
		omn.src=MetrixLab_Protocol+"//philips.112.2o7.net/b/ss/philipstrialdev/1/H.20.3/s0?[AQB]&pageName=nps_survey_invite&ch=nps_survey&[AQE]"; 
		if (MetrixLab_AutoCloseInterval>0)
		{
				setTimeout("MetrixLab_CloseBanner1();",MetrixLab_AutoCloseInterval*1000);
		}
	}


	function MetrixLab_GLOB_setCookie(c_day)
	{
		var MetrixLabGLOB_Time = new Date();
		var MetrixLabGLOB_Script = document.createElement('script');
		//MetrixLabGLOB_Script.src='http://invitation.opinionbar.com/popups/p11026_master/cookie.asp?s='+MetrixLab_CookieName+'_GLOB&m=set&t='+c_day;
		MetrixLabGLOB_Script.src=MetrixLab_Protocol+'//ace3.adoftheyear.com/philips_p11026/cookie.php?s='+MetrixLab_CookieName+'_GLOB&m=set&t='+c_day;
		MetrixLabGLOB_Script.type='text/javascript';
		var MetrixLabGLOB_Body = document.getElementsByTagName('body').item(0);
		MetrixLabGLOB_Body.appendChild(MetrixLabGLOB_Script); 
	}

	function MetrixLab_Local_setCookie(cookie_value)
	{
		var MetrixLabLOCAL_Script = document.createElement('script');
		//MetrixLabLOCAL_Script.src='http://invitation.opinionbar.com/popups/p11026_master/cookie_local.asp?s='+MetrixLab_CookieName+'_LOCAL&m=set&cookievalue='+cookie_value;
		MetrixLabLOCAL_Script.src=MetrixLab_Protocol+'//ace3.adoftheyear.com/philips_p11026/cookie_local.php?s='+MetrixLab_CookieName+'_LOCAL&m=set&cookievalue='+cookie_value;
		MetrixLabLOCAL_Script.type='text/javascript';
		var MetrixLabGLOB_Body = document.getElementsByTagName('body').item(0);
		MetrixLabGLOB_Body.appendChild(MetrixLabLOCAL_Script); 
	}



	function MetrixLab_GLOB_getCookie()
	{
		var MetrixLabGLOB_Time = new Date();
		var MetrixLabGLOB_Script = document.createElement('script');
		//MetrixLabGLOB_Script.src='http://invitation.opinionbar.com/popups/p11026_master/cookie.asp?s='+MetrixLab_CookieName+'_GLOB&m=get&t='+MetrixLabGLOB_Time.getTime();
		MetrixLabGLOB_Script.src=MetrixLab_Protocol+'//ace3.adoftheyear.com/philips_p11026/cookie.php?s='+MetrixLab_CookieName+'_GLOB&m=get&t='+MetrixLabGLOB_Time.getTime();
		MetrixLabGLOB_Script.type='text/javascript';
		var MetrixLabGLOB_Body = document.getElementsByTagName('body').item(0);
		MetrixLabGLOB_Body.appendChild(MetrixLabGLOB_Script); 
	}

	function MetrixLab_Local_getCookie()
	{
		var MetrixLabLOCAL_Script = document.createElement('script');
		//MetrixLabLOCAL_Script.src='http://invitation.opinionbar.com/popups/p11026_master/cookie_local.asp?s='+MetrixLab_CookieName+'_LOCAL&m=get';
		MetrixLabLOCAL_Script.src=MetrixLab_Protocol+'//ace3.adoftheyear.com/philips_p11026/cookie_local.php?s='+MetrixLab_CookieName+'_LOCAL&m=get';
		MetrixLabLOCAL_Script.type='text/javascript';
		var MetrixLabGLOB_Body = document.getElementsByTagName('body').item(0);
		MetrixLabGLOB_Body.appendChild(MetrixLabLOCAL_Script); 
	}

	function MetrixLabGLOB_checkCookie()
	{                
		if (typeof MetrixLabGLOB_cookie != "undefined")
		{     
			if (MetrixLabGLOB_cookie==false)     
			{                         
				//cookie not set
				MetrixLab_ShowOverlay();
			}
			else
			{
				//cookie set
			}
			
		}
		else
		{ 
			MetrixLabGLOB_Try_count--;
			if (MetrixLabGLOB_Try_count>0)
			{
				setTimeout('MetrixLabGLOB_checkCookie();',500);
			}
		}
	}

	function MetrixLabGLOB_checkCookie_New(){
		if (typeof MetrixLabGLOB_cookie != "undefined")
		{     
			if (MetrixLabGLOB_cookie == false){
				MetrixLab_SetCookie(2);		
			}
		}
		else
		{ 
			MetrixLabGLOB_Try_count--;
			if (MetrixLabGLOB_Try_count>0)
			{
				setTimeout('MetrixLabGLOB_checkCookie_New();',500);
			}
			else {
				MetrixLab_SetCookie(2);		
			}
		}
	}

	function MetrixLabShouldDropCookie(){
			MetrixLab_GLOB_getCookie();
			MetrixLabGLOB_checkCookie_New();
	}

	function MetrixLab_CheckCookie()
	{
		if (document.cookie.indexOf(MetrixLab_CookieName)==-1)
		{
			if (MetrixLab_GLOB_CookieSetup)
			{
				MetrixLab_GLOB_getCookie();
				MetrixLabGLOB_checkCookie();
			}
			else
				MetrixLab_ShowOverlay();
		}
		
	}

	function Matrix_Lab_ReadMeta()
	{
		//if (!MetrixLabGLOB_isSupportPage)
		//{    
			MetrixLabGLOB_ForceItem1=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Division);
			MetrixLabGLOB_ForceItem2=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Section);
			MetrixLabGLOB_ForceItem3=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Country);
			MetrixLabGLOB_ForceItem4=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Language);
			MetrixLabGLOB_ForceItem5=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Catalogtype);
			MetrixLabGLOB_ForceItem6=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_ProductGroup);
			MetrixLabGLOB_ForceItem7=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_ProductCategory);
			MetrixLabGLOB_ForceItem11=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_ProductSubcategory);
			MetrixLabGLOB_ForceItem8=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Productid);
			MetrixLabGLOB_ForceItem9=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Pagename);
			MetrixLabGLOB_ForceItem10=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Hierarchy);    
			MetrixLabGLOB_ForceItem12=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Products);
			MetrixLabGLOB_ForceItem13=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Events);
			MetrixLabGLOB_ForceItem14=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Buname);

			//set the force data
			//check if 5-6 or 9 meta are

			setForceData(MetrixLabGLOB_ForceItem1, 1);
			setForceData(MetrixLabGLOB_ForceItem2, 2);
			setForceData(MetrixLabGLOB_ForceItem3, 3);
			setForceData(MetrixLabGLOB_ForceItem4, 4);
			setForceData(MetrixLabGLOB_ForceItem5, 5);
			setForceData(MetrixLabGLOB_ForceItem6, 6);
			setForceData(MetrixLabGLOB_ForceItem7, 7);
			setForceData(MetrixLabGLOB_ForceItem8, 8);	
			setForceData(MetrixLabGLOB_ForceItem9, 9);
			setForceData(MetrixLabGLOB_ForceItem10, 10);
			setForceData(MetrixLabGLOB_ForceItem11, 11);
			setForceData(MetrixLabGLOB_ForceItem12, 12);
			setForceData(MetrixLabGLOB_ForceItem13, 13);
			setForceData(MetrixLabGLOB_ForceItem14, 14);

			
			setLocalCookieFromMeta();
			

			_page_id = MetrixLabGLOB_ForceItem1 + ":" + MetrixLabGLOB_ForceItem2 + ":" + MetrixLabGLOB_ForceItem9;
			
		//}
	}

	function MetrixLab_CheckIntercept()
	{
		//check if homepage
		var MetrixLabGLOB_pageSection=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Section);
		for (i=0;i<MetrixLabGLOBMeta_NotAllowedSections.length;i++)
			if(MetrixLabGLOBMeta_NotAllowedSections[i].toLowerCase() == MetrixLabGLOB_pageSection.toLowerCase())
				return false;
		
		Matrix_Lab_ReadMeta();
		MetrixLab_RandomNumber = MetrixLab_GetRandomNumber(1,MetrixLab_Intercept);
		if (MetrixLab_RandomNumber==1)
		{
			MetrixLab_CheckCookie();
		}
		else
		{
			MetrixLabShouldDropCookie();
		}
	}

	function MetrixLab_GoToPrivacy()
	{
		PopupPrivacy = window.open('http://www.opinionbar.com/'+MetrixLab_PrivacyLanguage+'/privacy.asp','PopupPrivacy','resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,width=750,height=450');
	}

	function MetrixLab_GoToMetrixLab()
	{
		PopupPrivacy = window.open('http://www.MetrixLab.com/','PopupPrivacy','resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,width=750,height=450');
	}

	function MetrixLab_GoToWebSurvey()
	{
		var omn= new Image(); 
		omn.src=MetrixLab_Protocol+"//philips.112.2o7.net/b/ss/philipstrialdev/1/H.20.3/s0?[AQB]&pageName=nps_survey_invite_yes&ch=nps_survey&[AQE]"; 

		switch(MetrixLab_OverlayType)
		{
			case 'entry':
				MetrixLab_GoToWebSurveyEntry();
				
			break;
			case 'exit':
				MetrixLab_GoToWebSurveyExit();
			break;
			case 'entryexit':
				MetrixLab_GoToWebSurveyEntryExit();
			break;
		}
	}

	function MetrixLabGLOB_GetURLParamValue(ML_URL, ML_Param)
	{
		var ML_ParamValue="";
		var ML_StartTag=0;
		var ML_EndTag=0;
		var ML_TmpString="";

		ML_URL=new String(ML_URL);
		ML_Param=new String(ML_Param);

		if ((ML_URL.length>0)&&(ML_Param.length>0))
		{
			ML_Param=ML_Param.toLowerCase();
			ML_StartTag=ML_URL.toLowerCase().indexOf(ML_Param + "=");
			if (ML_StartTag>0)
			{
				ML_TmpString=ML_URL.substring(ML_StartTag+1+ML_Param.length,ML_URL.length);
				if (ML_TmpString.length>0)
				{
					ML_EndTag=ML_TmpString.indexOf("&");
					if (ML_EndTag>=0)
					{
						ML_ParamValue=ML_TmpString.substring(0,ML_EndTag);
					}
					else
					{
						ML_ParamValue=ML_TmpString;
					}
				}
			}
		}
		return ML_ParamValue;
	}

	function MetrixLabGLOB_GetMeasuredData()
	{
		var MetrixLabGLOB_scy='us';
		var MetrixLabGLOB_slg='en';
		var MetrixLabGLOB_ctn='';
		var MetrixLabGLOB_URL=window.location.href.toLowerCase();
		
		if (s)
		{
			MetrixLabGLOB_scy=s.prop1?s.prop1:'us';
			MetrixLabGLOB_slg=s.prop2?s.prop2:'en';
		}
		
		if (MetrixLabGLOB_URL.indexOf("productcode=")>0)
		{
			MetrixLabGLOB_ctn=MetrixLabGLOB_GetURLParamValue(MetrixLabGLOB_URL,'productcode');
		}
		else
		{
			if (MetrixLabGLOB_URL.indexOf("product=")>0)
			{
				MetrixLabGLOB_ctn=MetrixLabGLOB_GetURLParamValue(MetrixLabGLOB_URL,'product');
			}
			else
			{
				if (MetrixLabGLOB_URL.indexOf("ctn=")>0)
				{
					MetrixLabGLOB_ctn=MetrixLabGLOB_GetURLParamValue(MetrixLabGLOB_URL,'ctn');
				}
			
			}
		}
		
		return 'scy='+MetrixLabGLOB_scy+'|slg='+MetrixLabGLOB_slg+'|ctn='+MetrixLabGLOB_ctn+'|';
	}


	function MetrixLab_GoToWebSurveyEntry()
	{   
		readLocalCookie();    
		if (force_data != "")
			MetrixLab_ForceData = force_data.slice(0,-2);
		MetrixLab_ForceData += ";"+MetrixLabGLOB_MetaForceData	
		MetrixLab_ForceData = "0";
		if (MetrixLab_ForceData=='0')
		{	
			var params = "";
			 params  = 'width=850';
			 params += ',height=550';
			 params += ',top=0, left=0';
			 params += ',resizable=yes,scrollbars=yes,toolbar=no,menubar=no';
			if (MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Section) == "sms" || MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Section) == "p4c")
			{
				var MetrixLab_new_userID = MetrixLabGLOB_GetMeasuredData();
				PopupWebSurvey = window.open('http://websurvey2.opinionbar.com/go.asp?s='+MetrixLab_ProjectNumber+'&t=9&u='+MetrixLab_new_userID+'&c='+MetrixLab_Channel,'PopupWebSurvey',params);					
			}
			else
			{
				PopupWebSurvey = window.open('http://websurvey2.opinionbar.com/go.asp?s='+MetrixLab_ProjectNumber+'&t=4&c='+MetrixLab_Channel,'PopupWebSurvey',params);					
					//PopupWebSurvey = window.open('http://websurvey2.opinionbar.com/go.asp?s=test_zoltan_philips&c=overlay&t=4','PopupWebSurvey','resizable=yes,scrollbars=yes,toolbar=no,menubar=no,width=750,height=450');					
			}
		}
		else
		{
			PopupWebSurvey = window.open('http://websurvey2.opinionbar.com/go.asp?s='+MetrixLab_ProjectNumber+'&t=4&f=;'+MetrixLab_ForceData+'&c='+MetrixLab_Channel,'PopupWebSurvey','resizable=yes,scrollbars=yes,toolbar=no,menubar=no,width=850,height=550');
		}				

		MetrixLab_CloseBanner();
	}

	function MetrixLab_GoToWebSurveyExit()
	{
	   MetrixLab_SetCookie(14);
	   MetrixLab_ShowPopupEntryExit();
	   MetrixLab_CloseBanner();
	}

	function GoTowebSurveyEntryExit()
	{
	   MetrixLab_SetCookie(14);
	   MetrixLab_ShowPopupEntryExit();
	   MetrixLab_CloseBanner();
	}

	function MetrixLab_CloseBanner1()
	{
		var omn= new Image(); 
		omn.src=MetrixLab_Protocol+"//philips.112.2o7.net/b/ss/philipstrialdev/1/H.20.3/s0?[AQB]&pageName=nps_survey_invite_no&ch=nps_survey&[AQE]"; 
		MetrixLab_CloseBanner();
	}

	function MetrixLab_CloseBanner()
	{	
		
		var MetrixLab_Div=document.getElementById('MetrixLab_Div');
		if (MetrixLab_Div)
		{
			MetrixLab_Div.parentNode.removeChild(MetrixLab_Div);
		}
	}

	function MetrixLab_ShowPopupEntryExit()
	{
		if (force_data != "")
			MetrixLab_ForceData = force_data.slice(0,-2);
		MetrixLab_ForceData += ";"+MetrixLabGLOB_MetaForceData	
		MetrixLab_PopupAttributes="resizable=yes,scrollbars=yes,toolbar=no,menubar=no,width=390,height=370";
		
		MetrixLab_PopupWin=open('inv.htm', 'new_window', MetrixLab_PopupAttributes);
		MetrixLab_PopupWin.document.write('<html><head><title></title></head>');
		MetrixLab_PopupWin.document.write('<body>');
		
		
		MetrixLab_PopupWin.document.write('<scr'+'ipt>');
		MetrixLab_PopupWin.document.write("var metrixlab_userid='"+MetrixLab_UserID+"';");
		MetrixLab_PopupWin.document.write("var metrixlab_ForceData='"+MetrixLab_ForceData+"';");
		MetrixLab_PopupWin.document.write('</scr'+'ipt>');	
		MetrixLab_PopupWin.document.write("<script language='javascript' src='"+MetrixLab_Protocol+"//ace3.adoftheyear.com/philips_p11026/"+MetrixLab_PopupFolderName+"/exit.js'>");
		MetrixLab_PopupWin.document.write('</scr'+'ipt>');
		
		
		MetrixLab_PopupWin.document.write('</body></html>');	
		MetrixLab_PopupWin.blur();
		
	}

	function Metrixlab_SetDivVisible()
	{
		document.getElementById('MetrixLab_overlay').style.display='block';
	}

	function metrixlab_onready(el, func){
		this.args = new Array(el, func)
		this.doTry = function(){
				try{
						var el = eval(this.args[0])
						el.onloading = this.args[1]
						el.onloading()
						clearInterval(this.args[2])
				}
				catch(e){}
		}
		this.doTry.bind = function(object){
				var method = this;
				return function(){
						method.apply(object);
				}
		}
		this.args[2] = setInterval(this.doTry.bind(this), 250);
		return this
	}

	function MetrixLab_LoadOverlay()
	{    
		var MetrixLab_HTMLString="";
		MetrixLab_HTMLString += "<MAP name='MetrixLab_Popup_Map'>\n";
		MetrixLab_HTMLString += " <AREA shape='rect' coords='"+MetrixLab_Coordinate_YesButton+"' href='javascript:MetrixLab_GoToWebSurvey();' target='_self'>\n";
		MetrixLab_HTMLString += " <AREA shape='rect' coords='"+MetrixLab_Coordinate_NoButton+"' href='javascript:MetrixLab_CloseBanner1();' target='_self'>\n";
		MetrixLab_HTMLString += " <AREA shape='rect' coords='"+MetrixLab_Coordinate_CloseButton+"' href='javascript:MetrixLab_CloseBanner1();' target='_self'>\n";
		MetrixLab_HTMLString += " <AREA shape='rect' coords='"+MetrixLab_Coordinate_PrivacyButton+"' href='javascript:MetrixLab_GoToPrivacy();' target='_self'>\n";
		MetrixLab_HTMLString += " <AREA shape='rect' coords='"+MetrixLab_Coordinate_MetrixButton+"' href='javascript:MetrixLab_GoToMetrixLab();' target='_self'>\n";    
		MetrixLab_HTMLString += "</MAP>\n";
		MetrixLab_HTMLString += "<div id='MetrixLab_overlay' style='display:none;position:absolute; z-index:9999; left: "+MetrixLab_DivStartLeft+"px; top: "+MetrixLab_DivStartTop+"px;'>";    
		if(MetrixLab_ChooseOldNew == 0)
		{
			MetrixLab_HTMLString += "<img onload='Metrixlab_SetDivVisible();' src='"+MetrixLab_Protocol+"//ace3.adoftheyear.com/philips_p11026/"+MetrixLab_PopupFolderName+"/overlay_new.gif' USEMAP='#MetrixLab_Popup_Map' alt='' border='0' width='"+MetrixLab_OverlayWidth+"' height='"+MetrixLab_OverlayHeight+"' name='MetrixLab_overlay_gif' id='MetrixLab_gif'>";    
		}
		else
		{
			MetrixLab_HTMLString += "<img onload='Metrixlab_SetDivVisible();' src='"+MetrixLab_Protocol+"//ace3.adoftheyear.com/philips_p11026/2012/"+MetrixLab_PopupFolderName+"/overlay.gif' USEMAP='#MetrixLab_Popup_Map' alt='' border='0' width='"+MetrixLab_OverlayWidth+"' height='"+MetrixLab_OverlayHeight+"' name='MetrixLab_overlay_gif' id='MetrixLab_gif'>";    
		}
		MetrixLab_HTMLString += "</div>";
		
		var MetrixLab_Body=document.getElementsByTagName('body').item(0);
		var MetrixLab_Div = document.createElement('div');
		MetrixLab_Div.style.display='block';
		MetrixLab_Div.id='MetrixLab_Div';
		MetrixLab_Div.innerHTML = MetrixLab_HTMLString;
		MetrixLab_Body.appendChild(MetrixLab_Div);
	}




	var MetrixLabGLOB_isSupportPage = false;

	//The meta tags which will be read
	var MetrixLabGLOBMeta_Division='PHILIPS.METRICS.DIVISION';
	var MetrixLabGLOBMeta_Section='PHILIPS.METRICS.SECTION';
	var MetrixLabGLOBMeta_Country='PHILIPS.METRICS.COUNTRY';
	var MetrixLabGLOBMeta_Language='PHILIPS.METRICS.LANGUAGE';
	var MetrixLabGLOBMeta_Catalogtype='PHILIPS.METRICS.CATALOGTYPE';
	var MetrixLabGLOBMeta_ProductGroup='PHILIPS.METRICS.PRODUCTGROUP';
	var MetrixLabGLOBMeta_ProductCategory='PHILIPS.METRICS.PRODUCTCATEGORY';
	var MetrixLabGLOBMeta_ProductSubcategory='PHILIPS.METRICS.PRODUCTSUBCATEGORY';
	var MetrixLabGLOBMeta_Productid='PHILIPS.METRICS.PRODUCTID';
	var MetrixLabGLOBMeta_Pagename='PHILIPS.METRICS.PAGENAME';
	var MetrixLabGLOBMeta_Hierarchy='PHILIPS.METRICS.HIERARCHY';
	var MetrixLabGLOBMeta_Products ='PHILIPS.METRICS.PRODUCTS';
	var MetrixLabGLOBMeta_Events ='PHILIPS.METRICS.EVENTS';
	var MetrixLabGLOBMeta_Buname ='PHILIPS.METRICS.BUNAME';

	var MetrixLabGLOB_MetaForceData='';
	var MetrixLabGLOB_ForceItem1='';
	var MetrixLabGLOB_ForceItem2='';
	var MetrixLabGLOB_ForceItem3='';
	var MetrixLabGLOB_ForceItem4='';
	var MetrixLabGLOB_ForceItem5='';
	var MetrixLabGLOB_ForceItem6='';
	var MetrixLabGLOB_ForceItem7='';
	var MetrixLabGLOB_ForceItem8='';
	var MetrixLabGLOB_ForceItem9='';
	var MetrixLabGLOB_ForceItem10='';
	var MetrixLabGLOB_ForceItem11='';
	var MetrixLabGLOB_ForceItem12='';
	var MetrixLabGLOB_ForceItem13='';
	var MetrixLabGLOB_ForceItem14='';

	if (typeof _page!="undefined")
	{
		if (_page.area)
		{
			if(_page.area.toLowerCase()=="support")
			{
				MetrixLabGLOB_isSupportPage=true;
			}        
		}
	}
	else
	{
		if (location.href.indexOf('support.philips.com')!=-1)
		{
			MetrixLabGLOB_isSupportPage=true;
		}
	}

	var loc_cookie = "";
	//var cookie_arr = new Array();
	//for (var jj = 0;jj<14;jj++)
	//	cookie_arr[jj] = "";
	function readLocalCookieToArray()
	{
		var c_name_local = MetrixLab_CookieName+'_LOCAL';
		MetrixLabLocal_cookie = getCookie(c_name_local.toLowerCase());
		if (MetrixLabLocal_cookie != null && MetrixLabLocal_cookie != "")
		{
			var local_c = MetrixLabLocal_cookie.split('***');
			force_data = "";
			for(var i = 0;i < local_c.length;i++)
			{
				if(local_c[i+1] != "" && local_c[i+1] != undefined)
					cookie_arr[local_c[i]] = local_c[i+1];
				i++;	
			}
		}
	}

	function setLocalCookieFromMeta()
	{
		loc_cookie = "";
		/*readLocalCookieToArray();
		for (var i = 1 ; i< 14; i++)
		{
			if(eval("MetrixLabGLOB_ForceItem"+i) != "" && eval("MetrixLabGLOB_ForceItem"+i) != "-")
				loc_cookie+=i+"***"+eval("MetrixLabGLOB_ForceItem"+i)+"***";
			else
				if(cookie_arr[i]!= "")
					loc_cookie+=i+"***"+cookie_arr[i]+"***";
		}*/
		if(MetrixLabGLOB_ForceItem1 != "" && MetrixLabGLOB_ForceItem1 != "-")
			loc_cookie += "1***"+MetrixLabGLOB_ForceItem1+"***";
		if(MetrixLabGLOB_ForceItem2 != "" && MetrixLabGLOB_ForceItem2 != "-")
			loc_cookie += "2***"+MetrixLabGLOB_ForceItem2+"***";
		if(MetrixLabGLOB_ForceItem3 != "" && MetrixLabGLOB_ForceItem3 != "-")
		{
			if (MetrixLabGLOB_ForceItem3 == "sa")
				MetrixLabGLOB_ForceItem3  = "me";
			loc_cookie += "3***"+MetrixLabGLOB_ForceItem3+"***";
		}
		if(MetrixLabGLOB_ForceItem4 != "" && MetrixLabGLOB_ForceItem4 != "-")			
			loc_cookie += "4***"+MetrixLabGLOB_ForceItem4+"***";
		if(MetrixLabGLOB_ForceItem5 != "" && MetrixLabGLOB_ForceItem5 != "-")			
			loc_cookie += "5***"+MetrixLabGLOB_ForceItem5+"***";

		if(MetrixLabGLOB_ForceItem6 != "" && MetrixLabGLOB_ForceItem6 != "-")			
			loc_cookie += "6***"+MetrixLabGLOB_ForceItem6+"***";
		if(MetrixLabGLOB_ForceItem7 != "" && MetrixLabGLOB_ForceItem7 != "-")			
			loc_cookie += "7***"+MetrixLabGLOB_ForceItem7+"***";
		if(MetrixLabGLOB_ForceItem8 != "" && MetrixLabGLOB_ForceItem8 != "-")			
			loc_cookie += "8***"+MetrixLabGLOB_ForceItem8+"***";
		if(MetrixLabGLOB_ForceItem9 != "" && MetrixLabGLOB_ForceItem9 != "-")			
			loc_cookie += "9***"+MetrixLabGLOB_ForceItem9+"***";
		if(MetrixLabGLOB_ForceItem10 != "" && MetrixLabGLOB_ForceItem10 != "-")			
			loc_cookie += "10***"+MetrixLabGLOB_ForceItem10+"***";
		if(MetrixLabGLOB_ForceItem11 != "" && MetrixLabGLOB_ForceItem11 != "-")			
			loc_cookie += "11***"+MetrixLabGLOB_ForceItem11+"***";
		if(MetrixLabGLOB_ForceItem12 != "" && MetrixLabGLOB_ForceItem12 != "-")			
			loc_cookie += "12***"+MetrixLabGLOB_ForceItem12+"***";
		if(MetrixLabGLOB_ForceItem13 != "" && MetrixLabGLOB_ForceItem13 != "-")			
			loc_cookie += "13***"+MetrixLabGLOB_ForceItem13+"***";
		if(MetrixLabGLOB_ForceItem14 != "" && MetrixLabGLOB_ForceItem14 != "-")			
			loc_cookie += "14***"+MetrixLabGLOB_ForceItem14+"***";
		MetrixLab_Local_setCookie(loc_cookie);
		
	}
	var MetrixLabLocal_cookie = "";

	function getCookie(c_name)
	{
		if (unescape(document.cookie).length>0)
		  {
		  c_start=unescape(document.cookie).indexOf(c_name + "=");
		  if (c_start!=-1)
			{
			c_start=c_start + c_name.length+1;
			c_end=unescape(document.cookie).indexOf(";",c_start);
			if (c_end==-1) c_end=unescape(document.cookie).length;
			return unescape(unescape(document.cookie).substring(c_start,c_end));
			}
		  }
		return "";
	}

	function readLocalCookie()
	{

		//MetrixLab_Local_getCookie();
		var c_name_local = MetrixLab_CookieName+'_LOCAL';
		MetrixLabLocal_cookie = getCookie(c_name_local.toLowerCase());
		if (MetrixLabLocal_cookie != null && MetrixLabLocal_cookie != "")
		{
			var local_c = MetrixLabLocal_cookie.split('***');
			force_data = "";
			for(var i = 0;i < local_c.length;i++)
			{
				if(local_c[i+1] != "" && local_c[i+1] != undefined)
				{
					//setForceData(eval("MetrixLabGLOB_ForceItem"+local_c[i]), local_c[i]);
					setForceData(local_c[i+1], local_c[i]);
				}
				i++;	
			}
		}
	}

	var force_data = "";


	function setForceData(meta, nr)
	{
		if(meta != "" && meta != "-")
			force_data += "9999," + nr + "," + meta + ",;";
		
	}

	function MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOB_MetaTagName)
	{
		var MetrixLabGLOB_MetaTags=document.getElementsByTagName('meta');
		var MetrixLabGLOB_MetaTagContent= '';
		var spy = false;
		for(i=0;i<MetrixLabGLOB_MetaTags.length;i++)
		{
			if (MetrixLabGLOB_MetaTags[i].name.toUpperCase() == MetrixLabGLOB_MetaTagName.toUpperCase())
			{
				MetrixLabGLOB_MetaTagContent=MetrixLabGLOB_MetaTags[i].content;
				spy = true;
			}
		 
		}
		if (spy)
			return MetrixLabGLOB_MetaTagContent.toLowerCase(); 
		else
			return "-";
	}

	function MetrixLabGLOB_CheckSection()
	{
		var MetrixLabGLOB_pageSection=MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Section);
		if (MetrixLabGLOB_pageSection != '')
		{	
			for (i=0;i<MetrixLabGLOBMeta_AllowedSections.length;i++)
			{        
				if (MetrixLabGLOB_pageSection.toLowerCase() == MetrixLabGLOBMeta_AllowedSections[i].toLowerCase())
				{
					MetrixLabGLOB_isAllowed=true;  
					break;
				}
			}
				
			MetrixLabGLOB_ContinueIfAllowed();
			//check if can be set the local cookies or not
			if(_page_id_array.join().toLowerCase().indexOf(_page_id) == -1)
			{
				MetrixLab_Local_setCookie(loc_cookie);
			}	
		}
		else
		{
			setTimeout('MetrixLabGLOB_CheckSection();',500);
		}
		
		
	}

	function MetrixLabGLOB_GetCountryAndLanguage()
	{
		var MetrixLabGLOB_CountryLanguage='';
		MetrixLabGLOB_CountryLanguage += MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Country);
		if (MetrixLabGLOB_CountryLanguage == "sa")
			MetrixLabGLOB_CountryLanguage = "me";
		MetrixLabGLOB_CountryLanguage += '_'+MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Language);
		
		if (MetrixLabGLOB_CountryLanguage.indexOf('_')==0)
		{
			if (_page.locale)
			{
				MetrixLabGLOB_CountryLanguage=_page.locale;
			}
		}
		
		if (MetrixLabGLOB_CountryLanguage.toLowerCase()=='global')
		{
			MetrixLabGLOB_CountryLanguage='global_en';
		}
		
		return MetrixLabGLOB_CountryLanguage.toLowerCase();
	}

	function MetrixLabGLOB_ContinueIfAllowed()
	{
		if (MetrixLabGLOB_isAllowed)
		{    
		  if (!MetrixLabGLOB_isSupportPage)
			{
				MetrixLabGLOB_isChineseDomain=(MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Country)=='cn');        
			}
			else
			{
				if (typeof s!="undefined")
				{
					if (s.prop1)
					{
						MetrixLabGLOB_isChineseDomain=(s.prop1.toLowerCase()=='cn');
					}
				}
			}		
			
			try
			{
				MetrixLabGLOB_InviteIntercept=eval('MetrixLabGLOB_CountryIntercept_'+MetrixLabGLOB_GetCountryAndLanguage());
			}
			catch(err)
			{
				MetrixLabGLOB_InviteIntercept=0;
			}    
		   
			var MetrixLabGLOB_Country_Language=MetrixLabGLOB_GetCountryAndLanguage();   
			if (MetrixLabGLOB_Country_Language != "")
			{
				if((MetrixLab_PopupFolderName != "")&&(MetrixLab_PopupFolderName2 != ""))
				{
					try
					{
						MetrixLab_ChooseOldNew = MetrixLab_randomFromTo(0,1);
					}
					catch(error){}
					
					if(MetrixLab_ChooseOldNew == 0)
					{
						MetrixLab_PopupFolderName = MetrixLab_PopupFolderName+'_'+MetrixLabGLOB_Country_Language+'_new';
					}
					else
					{
						MetrixLab_PopupFolderName = MetrixLab_PopupFolderName2+'_'+MetrixLabGLOB_Country_Language;
						
						MetrixLab_OverlayWidth = MetrixLab_OverlayWidth2;
						MetrixLab_OverlayHeight = MetrixLab_OverlayHeight2;

						MetrixLab_Coordinate_YesButton = MetrixLab_Coordinate_YesButton2;
						MetrixLab_Coordinate_NoButton = MetrixLab_Coordinate_NoButton2;
						MetrixLab_Coordinate_CloseButton = MetrixLab_Coordinate_CloseButton2;
						MetrixLab_Coordinate_PrivacyButton = MetrixLab_Coordinate_PrivacyButton2;
						MetrixLab_Coordinate_MetrixButton = MetrixLab_Coordinate_MetrixButton2;
					}
				}
				else
				{
					if(MetrixLab_PopupFolderName != "")
					{
						MetrixLab_ChooseOldNew = 0;
						MetrixLab_PopupFolderName = MetrixLab_PopupFolderName+'_'+MetrixLabGLOB_Country_Language+'_new';
					}
					else
					{
						MetrixLab_ChooseOldNew = 1;
						MetrixLab_PopupFolderName = MetrixLab_PopupFolderName2+'_'+MetrixLabGLOB_Country_Language;
						
						MetrixLab_OverlayWidth = MetrixLab_OverlayWidth2;
						MetrixLab_OverlayHeight = MetrixLab_OverlayHeight2;

						MetrixLab_Coordinate_YesButton = MetrixLab_Coordinate_YesButton2;
						MetrixLab_Coordinate_NoButton = MetrixLab_Coordinate_NoButton2;
						MetrixLab_Coordinate_CloseButton = MetrixLab_Coordinate_CloseButton2;
						MetrixLab_Coordinate_PrivacyButton = MetrixLab_Coordinate_PrivacyButton2;
						MetrixLab_Coordinate_MetrixButton = MetrixLab_Coordinate_MetrixButton2;
					}
				}
				//MetrixLab_PopupFolderName =  "p11026_master";//in the live will be remove this row
				MetrixLab_ProjectNumber = MetrixLab_PopupFolderName;
			}
					
			//Continue execution only if the intercept is greater than 0 and cookies are enabled
			if ( MetrixLabGLOB_InviteIntercept > 0 && MetrixLabGLOB_isCookieEnabled() )
			{                              
				if (MetrixLabGLOB_ReadMetaTagContent(MetrixLabGLOBMeta_Pagename)=='about:company:brand:because')
				{
					MetrixLabGLOB_InviteIntercept=1;
				}
			}
			var MetrixLabGLOB_Referrer = new String(document.referrer);
			var MetrixLabGLOB_ReferrerType=MetrixLabGLOB_GetReferrerType(MetrixLabGLOB_Referrer.toLowerCase());
			MetrixLabGLOB_MetaForceData+='19999,1,'+MetrixLabGLOB_ReferrerType+';';		
		}
	}

	function MetrixLabGLOB_isCookieEnabled()
	{
		var cookieEnabled=(navigator.cookieEnabled)? true : false
		
		if (typeof navigator.cookieEnabled=="undefined" && !cookieEnabled)
		{ 
			document.cookie="MetrixLabGLOBtestcookie"
			cookieEnabled=(document.cookie.indexOf("MetrixLabGLOBtestcookie")!=-1)? true : false
		}
		
		return cookieEnabled;      	
	}

	function MetrixLab_randomFromTo(from, to)
	{
       return Math.floor(Math.random() * (to - from + 1) + from);
    }

	function MetrixLabGLOB_Set_P11026_Intercepts(Intercept)
	{
		MetrixLabGLOB_CountryIntercept_ar_es=Intercept;
		MetrixLabGLOB_CountryIntercept_au_en=Intercept;
		MetrixLabGLOB_CountryIntercept_be_nl=Intercept;
		MetrixLabGLOB_CountryIntercept_be_fr=Intercept;
		MetrixLabGLOB_CountryIntercept_br_pt=Intercept;
		MetrixLabGLOB_CountryIntercept_ca_en=Intercept;
		MetrixLabGLOB_CountryIntercept_ca_fr=Intercept;
		MetrixLabGLOB_CountryIntercept_cn_zh=Intercept;
		MetrixLabGLOB_CountryIntercept_cz_cs=Intercept;
		MetrixLabGLOB_CountryIntercept_fr_fr=Intercept;
		MetrixLabGLOB_CountryIntercept_de_de=Intercept;
		MetrixLabGLOB_CountryIntercept_Global_en=Intercept;
		MetrixLabGLOB_CountryIntercept_in_en=Intercept;
		MetrixLabGLOB_CountryIntercept_it_it=Intercept;
		MetrixLabGLOB_CountryIntercept_jp_ja=Intercept;
		MetrixLabGLOB_CountryIntercept_kr_ko=Intercept;
		MetrixLabGLOB_CountryIntercept_my_en=Intercept;
		MetrixLabGLOB_CountryIntercept_sa_en=Intercept;
		MetrixLabGLOB_CountryIntercept_mx_es=Intercept;
		MetrixLabGLOB_CountryIntercept_nl_nl=Intercept;
		MetrixLabGLOB_CountryIntercept_pl_pl=Intercept;
		MetrixLabGLOB_CountryIntercept_ru_ru=Intercept;
		MetrixLabGLOB_CountryIntercept_es_es=Intercept;
		MetrixLabGLOB_CountryIntercept_se_sv=Intercept;
		MetrixLabGLOB_CountryIntercept_tw_zh=Intercept;
		MetrixLabGLOB_CountryIntercept_tr_tr=Intercept;
		MetrixLabGLOB_CountryIntercept_uk_en=Intercept;
		MetrixLabGLOB_CountryIntercept_us_en=Intercept;
		MetrixLabGLOB_CountryIntercept_dk_da=Intercept;
		MetrixLabGLOB_CountryIntercept_id_en=Intercept;
		MetrixLabGLOB_CountryIntercept_sg_en=Intercept;
		MetrixLabGLOB_CountryIntercept_ph_en=Intercept;
		MetrixLabGLOB_CountryIntercept_th_th=Intercept;
		MetrixLabGLOB_CountryIntercept_nz_en=Intercept;
		MetrixLabGLOB_CountryIntercept_vn_vi=Intercept;
		MetrixLabGLOB_CountryIntercept_hu_hu=Intercept;
		MetrixLabGLOB_CountryIntercept_gb_en=Intercept;
		MetrixLabGLOB_CountryIntercept_me_en=Intercept;
		//--
		MetrixLabGLOB_CountryIntercept_fi_fi=Intercept;
		MetrixLabGLOB_CountryIntercept_gr_el=Intercept;
		MetrixLabGLOB_CountryIntercept_hk_en=Intercept;
		MetrixLabGLOB_CountryIntercept_hk_zh=Intercept;
		MetrixLabGLOB_CountryIntercept_no_no=Intercept;
		MetrixLabGLOB_CountryIntercept_pt_pt=Intercept;
		
	}

	function MetrixLab_AddEvent(object, type, handler)
	{
		if (object.addEventListener) 
		{
			object.addEventListener(type, handler, false);
		} 
		else if (object.attachEvent) 
		{
			object.attachEvent(['on',type].join(''),handler);
		} 
		else 
		{
			object[['on',type].join('')] = handler;
		}
	} 

	if (MetrixLab_isCookieEnabled())
	{
		
			MetrixLab_AddEvent(window,"load",MetrixLab_CheckIntercept);

	}
}

