// OUK Diagnostics 2008/09/25

itp={processVars:function(p){var ROOT=new Array();ROOT["Diagnostics"]=new Array("/diagnostics/");var PRODUCT_VIEW_ELEMENT='"productsub"';if(p.getHierarchy().length==1){p.getHierarchy().push(p.getDocumentname());p.setDocumentname(p.getDocumentname()+" Home")}var arr_rootpath=new Array();for(var el in ROOT)arr_rootpath=arr_rootpath.concat(ROOT[el]);var rootpath="("+arr_rootpath.join("|")+")";var re=new RegExp(rootpath.replace("/","\/")+"(index.htm)?$","i");p.setDocumentgroup((p.getHierarchy().length==0)?((re.exec(unescape(document.URL.indexOf("?")>-1?document.URL.slice(0,document.URL.indexOf("?")):document.URL))!=null)?"Home":"Specials/Other"):p.getHierarchy()[1]);if(p.getHierarchy().length==0){for(var el in ROOT)for(var path in ROOT[el])if(unescape(document.URL).match(ROOT[el][path])!=null)var HOMENAME=el;p.getHierarchy().push(HOMENAME);p.getHierarchy().push(p.getDocumentgroup())}var re=new RegExp(PRODUCT_VIEW_ELEMENT,"i");if(re.exec(document.body.innerHTML)!=null){p.setActionId("PRODUCT_VIEW");var el=getElementsByClass("link5",null,"td");for(var i=0;i<el.length;i++)if(el[i].style.background.indexOf("nav_detailsbg_ac")>=0)p.setDocumentname(p.getHierarchy()[p.getHierarchy().length-1]+" ["+el[i].childNodes[0].innerHTML+"]")}}}