function captureOmnitureDownloads(C,A,B){s.events="event22"}function captureOmnitureTabSelections(C,A,B){s.prop22=A+" "+B+" "+jQuery(C).text()}function captureOmnitureWorkflowChevronSelections(C,A,B){s.prop23=A+" "+B+" "+jQuery(C).text()}function captureOmnitureLeftNavigationSelections(C,A,B){var E=C.href;if(E!=undefined&&E!=null&&E!=""){var D=renderPageNavigationLocation(E,B,A);if(D!=""){s.prop23=D}}}function captureOmnitureCountryCookieChange(C,A,B){s.events="event16"}function captureOmnitureLogOut(C,A,B){s.events="event15"}function captureOmnitureMyBasketSelections(D,A,C){var F="";var B=jQuery(D).parent();if(B.attr("id")=="my-baskets-orders"){F=removeHTMLTags(jQuery(D).text())}else{var E=removeHTMLTags(jQuery("#my-baskets-orders > a").html());F=E+" "+C+" "+jQuery(D).text()}s.prop21=F;s.eVar21=F}function captureOmnitureMyAccountSelections(D,A,C){var F="";var B=jQuery(D).parent().parent();if(B.attr("class").indexOf("my-account")!=-1){F=jQuery(D).text()}else{var E=jQuery("li.my-account > span a").text();F=E+" "+C+" "+jQuery(D).text()}s.prop20=F;s.eVar20=F}function captureOmnitureTopNavigationSelections(D,A,C){var E="";if(jQuery(D).parent().parent().attr("id")=="primary-nav"){E=jQuery(D).text()}else{var B=jQuery(D).parent();while(B.length>0&&jQuery(B).attr("id").indexOf("nav-")==-1){B=jQuery(B).parent()}E=jQuery(B).children("a").text()+" "+C+" "+removeHTMLTags(jQuery(D).text())}s.prop18=E;s.eVar18=E}function captureOmnitureCountryCodeSelection(C,A,B){var D=jQuery("#countryCodeValue").val();s.prop8=D;s.eVar8=D}function captureOmnitureAddToBasket(E,A,C){var B=0;var G="";jQuery(E).parents(".solution-content").find('input[type="checkbox"]').each(function(){if(jQuery(this).is(":checked")){B++;var H=jQuery(this).parent().parent().find(".product-id").html();var I=jQuery(this).parent().parent().find(".price").html();G=G+"catalog product;"+H+";1;"+I+","}});var F=s_gi("invitrogenabprod");F.linkTrackVars="events,products";F.linkTrackEvents="scAdd";F.events="scAdd";F.products=G;var D=jQuery(E).parents("form.addToBasket");F.tl(D,"o","Add To Basket")}function captureOmnitureAddToFavorites(C,A,B){s.events="event13"}function captureOmnitureContactSales(C,A,B){s.events="event4"}function captureOmnitureViewProducts(C,A,B){s.events="prodView"}function captureOmnitureSearchTypes(C,A,B){var D=jQuery(C).text()!=""?jQuery(C).text():""}function captureOmnitureSoftwareType(C,A,B){}function captureOmnitureProductHelp(C,A,B){s.events="event12"}function linkIsSelected(E,B,A,D){var C=false;jQuery(E).click(function(){B(this,A,D)})}function renderPageNavigationLocation(F,B,A){F=F.replace("#","");var D=F.split("/");var E="";if(D.length>6){for(var C=6;C<D.length;C++){E=E+" "+D[C]+" "+B}E=E.substr(0,E.length-2);E=E.split(".")[0]}return E}function initOminture(){linkIsSelected(".software-downloads-table .downloads-platform a",captureOmnitureDownloads,document.title,"");linkIsSelected(".tabs .tabs-nav li a",captureOmnitureTabSelections,document.title,">");linkIsSelected("#tab-workflow .jcarousel-skin-workflow .jcarousel-clip ul li span a",captureOmnitureWorkflowChevronSelections,document.title,">");linkIsSelected("#support-nav ul li a",captureOmnitureLeftNavigationSelections,document.title,">");linkIsSelected("a.changeCountryModalLink",captureOmnitureCountryCookieChange,document.title,">");linkIsSelected("a#logoutLink",captureOmnitureLogOut,document.title,">");linkIsSelected("li#my-baskets-orders a",captureOmnitureMyBasketSelections,document.title,">");linkIsSelected("li.my-account a",captureOmnitureMyAccountSelections,document.title,">");linkIsSelected("#global-nav #primary-nav a",captureOmnitureTopNavigationSelections,document.title,">");linkIsSelected("#selectCountry input",captureOmnitureCountryCodeSelection,document.title,">");linkIsSelected(".product-help",captureOmnitureProductHelp,document.title,"");linkIsSelected("div#global-search-category ul#categoryList li a",captureOmnitureSearchTypes,document.title,"");linkIsSelected(".contact-sales-rep",captureOmnitureContactSales,document.title,"");linkIsSelected("a.view-products img",captureOmnitureViewProducts,document.title,"");var A=s.t();if(A){document.write(A)}}jQuery(document).ready(function(){initOminture()});String.prototype.endsWith=function(A){return(this.match(A+"$")==A)};String.prototype.startsWith=function(A){return(this.match("^"+A)==A)};String.prototype.trim=function(){return ;(this.replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,""))};function removeHTMLTags(A){return A.replace(/<\/?[^>]+(>|$)/g,"")};
