var currentHref=new Array();var hrefTag="?sa_campaign=dotcomportal/ibmcom/sg/"+repName;var downloadTag="sa_onclick('http://www.ibm.com/dotcomportal/sg/"+repName+"/download?sa_target='+this.href)";var externalTag="sa_onclick('http://www.ibm.com/dotcomportal/sg/"+repName+"/link?sa_target='+this.href)";function wrapTag(A){jQuery("#"+A+" a[href]").each(function(C){var B=jQuery(this).attr("href");if(B){arrCurrentHref=B.split("/");if(arrCurrentHref.length>=2){if(arrCurrentHref[1].indexOf("ibm.com")!=-1||arrCurrentHref[2].indexOf("ibm.com")!=-1){if(B.indexOf(".pdf")==-1){jQuery(this).attr("href",B+hrefTag)
}else{jQuery(this).get(0).setAttribute("onclick",downloadTag)}}else{jQuery(this).get(0).setAttribute("onclick",externalTag)}}}})}jQuery(document).ready(function(){wrapTag("accordion-module");wrapTag("ekits-module");wrapTag("hardware-module");wrapTag("software-module");wrapTag("highlights-module");wrapTag("thumbnail");wrapTag("online-tools-module")});