function ShowSelectedComponentKeyPress(n,t){if(window.event.keyCode==13)return ShowSelectedComponent(n,t),!1}function SetRightSideNavigationMenuHeight(){$("[id^=dvModuleGroup_]").hide();window.location.search.toLowerCase().indexOf("bookmarkid")!=-1&&SelectBookMark();window.location.search.toLowerCase().indexOf("componentid")!=-1&&LoadSelectedInternalLink();$(".div_side_comp").length>0&&$(".div_content").css("min-height",$(".div_side_comp").height()-27)}function ShowSelectedComponent(n,t){var i=$("#"+t).attr("data-parentModule");return i!=undefined&&i!=null&&($("[data-parentmodule="+i+"]").show(),$("#"+i+" [id$=_LongDescription]").length>0?(document.getElementById(i+"_LongDescription").style.display="block",document.getElementById(i+"_ShortDescription").style.display="none",ShowText($("#"+i+".learnMoreLabel"),"long")):ShowText($("#"+i+".learnMoreLabel"),"long"),DisplayTopNavigation(i)),$("html, body").animate({scrollTop:$("#"+t).offset().top-1},800),!1}function ShowToolTip(){var n,i,t;window.location.hostname.toLowerCase()=="www.privacy.microsoft.com"||window.location.hostname.toLowerCase()=="privacy.microsoft.com"?locale=="privacy.microsoft.com"?(n=null,n=window.location.href.toLowerCase().indexOf("/eu-privacystatement")>-1?window.location.href.toLowerCase().split("/eu-privacystatement")[0].split("/"):window.location.href.toLowerCase().indexOf("/korea-privacystatement")>-1?window.location.href.toLowerCase().split("/korea-privacystatement")[0].split("/"):window.location.href.toLowerCase().indexOf("/data-protection-notice")>-1?window.location.href.toLowerCase().split("/data-protection-notice")[0].split("/"):window.location.href.toLowerCase().split("/privacystatement")[0].split("/"),i=n[n.length-1],t=i!=""?"/"+i+"/pspResource":"/en-us/pspResource"):t="/"+locale+"/pspResource":t=locale=="privacy.microsoft.com"?"https://cmspreview2.corp.microsoft.com/privacy.microsoft.com/pspResource?CollectionId="+GetQuerystring("CollectionId"):"https://cmspreview2.corp.microsoft.com/privacy.microsoft.com/"+locale+"/pspResource?CollectionId="+GetQuerystring("CollectionId");$.ajax({type:"GET",url:t,dataType:"xml",complete:function(){var n,t;$(".Lastupdated").show();$("#psp_expand_all").show();$("#psp_collapse_all").hide();$("[src*='btn_collapse.png']").parent().attr("title",collapseText);$("[src*='btn_expand.png']").parent().attr("title",expandText);window.location.search.indexOf("Componentid")!=-1&&(n=GetQuerystring("Componentid"),$(".page").each(function(){if(this.id.toLowerCase()==n.toLowerCase())return n=this.id,!1}),GetQuerystring("View")=="Description"&&$("#"+n+"_lnkViewInfo").length>0&&($("#"+n+"_lnkViewInfo").attr("title",viewSummaryTitle).html(viewSummaryText).parent().attr("title",viewSummaryTitle),$("#"+n+" .LearnMoreNavigation").css("background-image","url(payloadGuid=9a5ecfc9-072d-416f-9f13-d83993873471)"),ieVersion&&parseInt($.browser.version,10)==7&&$(".LearnMoreNavigation").css("width",$(".learnMoreLabel").width()+20)),t=$("#"+n).attr("data-parentModule"),t!=undefined&&t!=null&&($("#"+t+"_lnkViewInfo").attr("title",viewSummaryTitle).html(viewSummaryText).parent().attr("title",viewSummaryTitle),$("#"+t+" .LearnMoreNavigation").css("background-image","url(payloadGuid=9a5ecfc9-072d-416f-9f13-d83993873471)")))},success:function(n){$(n).find("root").children().each(function(){var n=$(this).text(),t,i;$(this)[0].attributes.length>0&&(ieVersion&&parseInt($.browser.version,10)==10?t=$(this)[0].attributes.name.nodeValue:$(this)[0].attributes.length==2&&(t=$(this)[0].attributes[1].nodeName=="name"?$(this)[0].attributes.name.nodeValue:$(this)[0].attributes[0].nodeValue),t.indexOf("tooltip_")>-1&&(i=t.replace("tooltip_",""),t.indexOf("tooltip_learn_more")>-1?($(".learnMoreLabel").attr("title",n.trim()).parent().attr("title",n.trim()),learnMoreTitle=n.trim()):t.indexOf("tooltip_view_summary")>-1&&(viewSummaryTitle=n.trim()),$("#"+i).attr("title",n.trim())),t.indexOf("psp_")>-1&&(t.indexOf("psp_last_updated")==-1&&$("#"+t).text(n.trim()).attr("title",n.trim()),t=="psp_expand"?expandText=n.trim():t=="psp_collapse"?collapseText=n.trim():t.indexOf("psp_learn_more")>-1?(learnMoreText=n.trim(),$(".learnMoreLabel").attr("title",n.trim()).parent().attr("title",n.trim()),$(".learnMoreLabel").each(function(){this.innerHTML=learnMoreText})):t.indexOf("psp_view_summary")>-1?viewSummaryText=n.trim():t.indexOf("psp_top_of_page")>-1?($(".psp_top_of_page").text(n.trim()).attr("title",n.trim()),$(".TopNavigation").attr("title",n.trim()),$(".TopNavigation a").attr("title",n.trim()),$(".TopNavigation img").attr("alt",n.trim())):t.indexOf("psp_service_specific_details")>-1?($(".dvServiceAgreementHeader").length>0?$(".dvServiceAgreementTile")[0].innerHTML=n.trim()+":":serviceSpecificDetails=n.trim(),AddServiceSpecificFeaturesTile()):t.indexOf("psp_windows_device_services")>-1?($(".dvdvWindowsDevicesHeader").length>0?$(".dvdvWindowsDevicesTile")[0].innerHTML=n.trim()+":":windowsDevicesServices=n.trim(),AddWindowsDevicesServicesTile()):t.indexOf("psp_print")>-1?$(".div_print img").attr("title",n.trim()).attr("alt",n.trim()).parent().attr("title",n.trim()):t.indexOf("psp_we_self_certify_compliance_with")>-1&&(selfCertifyCompliance=n.trim(),$("#psp_we_self_certify_compliance_with_small_screen").text(selfCertifyCompliance)),t.indexOf("psp_additional_info_details")>-1&&($(".dvAdditionalInfoHeader").length>0?$(".dvAdditionalInfoTile")[0].innerHTML=n.trim()+":":additionalinfo=n.trim(),AddAdditionalInfoTile()),t.indexOf("psp_addendum")>-1&&($(".dvAddendumHeader").length>0?$(".dvAddendumTile")[0].innerHTML=n.trim()+":":addendum=n.trim(),AddAddendumTile()),$("#expand_all_icon").attr("title",expandText),$("#collapse_all_icon").attr("title",collapseText),$("[id^=lnkExpand_]").attr("title",expandText)))})}})}function AssignToolTipToHref(){$('a[id^="LNK"]').each(function(){$(this).attr({title:$(this).text()})});$('a[id^="lnkInternal"]').each(function(){$(this).attr({title:$(this).text()})})}function ShowAllModulesLongDescirption(){$("div.page").each(function(){var n=this.id;$("#"+n+"_LongDescription").length==0?$("#"+n+"_ShortDescription").show():$("#"+n+"_LongDescription").show()})}function PrintAllModules(){var n=window.location.href.split("#")[0];window.open(n.split("?")[0]+"?PrintView=true","_blank")}function BindEvent(){$("div.div_print > a").click(PrintAllModules);$("#mainadvertisingidmodulefromHowtoAccess").click(function(n){n.preventDefault();ShowSelectedComponent(this,"mainadvertisingidmodule")});$("#maininputpersonalizationmodulefromCortana").click(function(n){n.preventDefault();ShowSelectedComponent(this,"maininputpersonalizationmodule")});$("#mainsyncsettingsmodulefromWeb").click(function(n){n.preventDefault();ShowSelectedComponent(this,"mainsyncsettingsmodule")});$("#mainsyncsettingsmodulefromWindowsApp").click(function(n){n.preventDefault();ShowSelectedComponent(this,"mainsyncsettingsmodule")});$("#mainupdateservicesmodulefromOfficeServices").click(function(n){n.preventDefault();ShowSelectedComponent(this,"mainupdateservicesmodule")});$("#mainmicrosoftaccountmodulefromOffice").click(function(n){n.preventDefault();ShowSelectedComponent(this,"mainmicrosoftaccountmodule")});$("#mainwindowsappsmodulefromLocationService").click(function(n){n.preventDefault();ShowSelectedComponent(this,"mainwindowsappsmodule")});$("#mainwindowsstoremodulefromHowWeUsePersonalData").click(function(n){n.preventDefault();ShowSelectedComponent(this,"mainwindowsstoremodule")});$("#mainwindowsstoremodulefromUpdateServices").click(function(n){n.preventDefault();ShowSelectedComponent(this,"mainwindowsstoremodule")});$("#psp_expand_all").click(function(n){n.preventDefault();$("#psp_collapse_all").show();$("#collapse_all_icon").show();$("#psp_expand_all").hide();$("#expand_all_icon").hide();$("[id^=dvModuleGroup_]").show();$(".childModule").show();$("[id$=_lnkViewInfo]").each(function(){var t=this,i=t.id.replace("lnkViewInfo",""),n=document.getElementById(i+"LongDescription"),u=document.getElementById(i+"ShortDescription"),r=i.replace("_","");n==null||n==undefined?($("[data-parentmodule="+r+"]").show(),ShowText(t,"long")):n.style.display!="block"&&(n.style.display="block",u.style.display="none",ShowText(t,"long"));DisplayTopNavigation(r)});$(".div_side_comp [id^=imgExpand_]").attr("alt","-");$("[id^=lnkExpand_]").attr("title",collapseText);$(".div_side_comp [id^=imgExpand_]").attr("class","icon-chevron-down")});$("#expand_all_icon").click(function(n){n.preventDefault();$("#psp_collapse_all").show();$("#collapse_all_icon").show();$("#psp_expand_all").hide();$("#expand_all_icon").hide();$("[id^=dvModuleGroup_]").show();$(".childModule").show();$("[id$=_lnkViewInfo]").each(function(){var t=this,i=t.id.replace("lnkViewInfo",""),n=document.getElementById(i+"LongDescription"),u=document.getElementById(i+"ShortDescription"),r=i.replace("_","");n==null||n==undefined?($("[data-parentmodule="+r+"]").show(),ShowText(t,"long")):n.style.display!="block"&&(n.style.display="block",u.style.display="none",ShowText(t,"long"));DisplayTopNavigation(r)});$(".div_side_comp [id^=imgExpand_]").attr("alt","-");$("[id^=lnkExpand_]").attr("title",collapseText);$(".div_side_comp [id^=imgExpand_]").attr("class","icon-chevron-up")});$("#psp_collapse_all").click(function(n){n.preventDefault();$("#psp_collapse_all").hide();$("#collapse_all_icon").hide();$("#psp_expand_all").show();$("#expand_all_icon").show();$("[id^=dvModuleGroup_]").hide();$(".childModule").hide();$("[id$=_lnkViewInfo]").each(function(){var n=this,t=n.id.replace("lnkViewInfo",""),r=document.getElementById(t+"ShortDescription"),i=document.getElementById(t+"LongDescription"),u=t.replace("_","");i==null||i==undefined?($("[data-parentmodule="+u+"]").hide(),ShowText(n,"short")):r.style.display!="block"&&(r.style.display="block",i.style.display="none",ShowText(n,"short"));DisplayTopNavigation(u)});$(".div_side_comp [id^=imgExpand_]").attr("alt","+");$("[id^=lnkExpand_]").attr("title",expandText);$(".div_side_comp [id^=imgExpand_]").attr("class","icon-chevron-down")});$("#collapse_all_icon").click(function(n){n.preventDefault();$("#psp_collapse_all").hide();$("#collapse_all_icon").hide();$("#psp_expand_all").show();$("#expand_all_icon").show();$("[id^=dvModuleGroup_]").hide();$(".childModule").hide();$("[id$=_lnkViewInfo]").each(function(){var n=this,t=n.id.replace("lnkViewInfo",""),r=document.getElementById(t+"ShortDescription"),i=document.getElementById(t+"LongDescription"),u=t.replace("_","");i==null||i==undefined?($("[data-parentmodule="+u+"]").hide(),ShowText(n,"short")):r.style.display!="block"&&(r.style.display="block",i.style.display="none",ShowText(n,"short"));DisplayTopNavigation(u)});$(".div_side_comp [id^=imgExpand_]").attr("alt","+");$("[id^=lnkExpand_]").attr("title",expandText);$(".div_side_comp [id^=imgExpand_]").attr("class","icon-chevron-down")})}function InitializePage(){ChildModuleAlignments();ShowToolTip();AssignToolTipToHref();setInternalLinks();BindEvent();LoadRightSideNavData();window.location.search.toLowerCase().indexOf("bookmarkid")!=-1&&SelectBookMark();$("#lnkGoTop").on("click",function(n){n.preventDefault();$("html, body").animate({scrollTop:0},"slow")});(locale!="en-us"||locale=="privacy.microsoft.com")&&$(".logo_relatedLink_Section").hide()}function setInternalLinks(){var t=null,i,n;t=window.location.href.toLowerCase().indexOf("/eu-privacystatement")>-1?window.location.href.toLowerCase().split("/eu-privacystatement"):window.location.href.toLowerCase().indexOf("/korea-privacystatement")>-1?window.location.href.toLowerCase().split("/korea-privacystatement"):window.location.href.toLowerCase().indexOf("/data-protection-notice")>-1?window.location.href.toLowerCase().split("/data-protection-notice"):window.location.href.toLowerCase().split("/privacystatement");t.length>1?(i=t[1].split("/"),n=i[0]):n="";$("a[id ^='lnkInternal']").removeAttr("target");$("a[id ^='lnkInternal']").click(function(){switch(this.id){case"lnkInternal001":RedirectInternalSharedLinks("lnkInternal001",n,"#pspCookiesModule","cookiesmodule","pagecookiesmodule","Summary");break;case"lnkInternal002":RedirectInternalSharedLinks("lnkInternal002",n,"#pspCookiesModule","cookiesmodule","pagecookiesmodule","Description");break;case"lnkInternal003":RedirectInternalSharedLinks("lnkInternal003",n,"#pspCookiesModule","cookiesmodule","pagecookiesmodule","Summary");break;case"lnkInternal004":RedirectInternalSharedLinks("lnkInternal004",n,"#pspMicrosoftAccountModule","microsoftaccountmodule","accountsmodule","Description");break;case"lnkInternal005":RedirectInternalSharedLinks("lnkInternal005",n,"#pspCookiesModule","cookiesmodule","pagecookiesmodule","Description");break;case"lnkInternal006":RedirectInternalSharedLinks("lnkInternal006",n,"#pspOtherInformationModule","otherinformationmodule","","Description");break;case"lnkInternal007":RedirectInternalSharedLinks("lnkInternal007",n,"#pspOtherInformationModule","otherinformationmodule","","Description");break;case"lnkInternal008":RedirectInternalSharedLinks("lnkInternal008",n,"#pspCommunicationModule","communicationmodule","communications,communicationsmodule","Description");break;case"lnkInternal009":RedirectInternalSharedLinks("lnkInternal009",n,"#pspMainCookiesSimilarTechnologiesModule","cookiesmodule","pagecookiesmodule","Description");break;case"lnkInternal010":RedirectInternalSharedLinks("lnkInternal010",n,"#pspAccessingInformationModule","accessingyourinformationmodule","accessinginformationmodule","Description")}})}function PrintWindow(){$(".childModule").show();$("div.LearnMoreNavigation").hide();$("div.TopNavigation").hide();$("[id$=_ShortDescription]").hide();$("div.gcl_safelogo").hide();$("div.logo_relatedLink_Section").hide();$("div.gcc_cookies").hide();ShowAllModulesLongDescirption();$("div.div_print").hide();$("div.div_side_comp").hide();$("div").hasClass("shell-footer")&&$("div.shell-footer").hide();$("div").hasClass("shell-header")&&$(".shell-header").hide();$("div").hasClass("dvServiceAgreementHeader")&&$(".dvServiceAgreementHeader").show();$("div").hasClass("dvAdditionalInfoHeader")&&$(".dvAdditionalInfoHeader").show();$("div").hasClass("dvAddendumHeader")&&$(".dvAddendumHeader").show();$("div.Lastupdated").show();$("div.expand_collapse").hide()}function LoadRightSideNavData(){var n="";$("div.page").not(".childModule").not(".childModule_Mobile").each(function(){var t=this.id,i,r,u;try{i=$(this).find(".CollectingYourInfoRightNav").text();r=i.replace(/['"]/g,"'");$(".div_content").find("[data-parentModule="+t+"]").length>0?(n+='