function ReInitIVW() { strCategoryAnalytics = "sz_pinnwand"; if(jQuery("#search_categories").length > 0) { if(jQuery("#search_categories").val().length > 0) { if (categoryToSeo[jQuery("#search_categories").val()].indexOf("/") !== -1) { strCategoryAnalytics = "sz_pinnwand_" + categoryToSeo[jQuery("#search_categories").val()].substr(0, categoryToSeo[jQuery("#search_categories").val()].indexOf("/")).replace("-und-", "_"); } else { strCategoryAnalytics = "sz_pinnwand_" + categoryToSeo[jQuery("#search_categories").val()]; } } } if (strCategoryAnalytics !== "sz_pinnwand_") { strCategoryAnalytics = strCategoryAnalytics.replace("-und-", "_") IOMm("pageview", { cp: strCategoryAnalytics }); } }