CoreAjaxCoremetrics_Class=function(){this.CreateProductViewTag=function(c,b,d,a){try{if(CREATE_MANUAL_LINK_UPON_BUBBLE_PRODUCT_VIEW==true){var f=AJAX_QUICK_SHOP_URL;if(FINDOUT_AJAX_QUICK_SHOP_URL_AUTOMATICALLY==true){f=document.location.href}this.CreateManualLinkClickTag(f,b+"("+c+")","PAGEVIEW: ID=Category ("+a+" ("+d+")) Product ("+b+"("+c+"))")}if(ENABLE_COREMETRICS_FOR_BUBBLES){if(ENABLE_COREMETRICS_CATEGORY_TREE){cmCreateProductviewTag(c,this.ReplaceSpecialCharacters(b),this.GetCategoryCode(d),"")}cmCreateProductviewTag(c,this.ReplaceSpecialCharacters(b),this.GetCategoryCode(d),this.ReplaceSpecialCharacters(this.GetCategoryName(a)))}}catch(e){}};this.ReplaceSpecialCharacters=function(a){return a.replace("'","").replace("&#39;","")};this.GetCategoryCode=function(a){try{if(CATEGORYID_FOR_BUBBLE_TO_OVERWRITE!=""){return CATEGORYID_FOR_BUBBLE_TO_OVERWRITE}else{return a}}catch(b){return a}};this.GetCategoryName=function(a){try{if(CATEGORYNAME_FOR_BUBBLE_TO_OVERWRITE!=""){return CATEGORYNAME_FOR_BUBBLE_TO_OVERWRITE}else{return a}}catch(b){return a}};this.CreateManualLinkClickTag=function(b,a,c){try{cmCreateManualLinkClickTag(this.ReplaceSpecialCharacters(b),this.ReplaceSpecialCharacters(a),this.ReplaceSpecialCharacters(c))}catch(d){}}};var _CoreAjaxCoremetrics=new CoreAjaxCoremetrics_Class();