else if (!gExtensionsView.selectedItem.hasAttribute("availableUpdateInfo")) previewImageDeck.selectedIndex = 4; else UpdateInfoLoader.loadInfo(gExtensionsView.selectedItem.getAttribute("availableUpdateInfo")); 
} else { try { var uri = makeURI(gExtensionsView.selectedItem.getAttribute("availableUpdateInfo")); var scheme = uri.scheme; } catch (ex) {} if (uri && (scheme == "http" || scheme == "https")) UpdateInfoLoader.loadInfo(uri.spec); else previewImageDeck.selectedIndex = 4; } 
function onAddonSelect(aEvent){  var viewButton = document.getElementById("viewGroup").selectedItem;  if (viewButton.hasAttribute("persist") && gExtensionsView.selectedItem)    viewButton.setAttribute("last-selected", gExtensionsView.selectedItem.id);  if (!document.getElementById("themePreviewArea").hidden) {    var previewImageDeck = document.getElementById("previewImageDeck");    if (gView == "themes") {      var previewImage = document.getElementById("previewImage");      if (!gExtensionsView.selectedItem) {        previewImageDeck.selectedIndex = 0;        if (previewImage.hasAttribute("src"))          previewImage.removeAttribute("src");      }      else {        var url = gExtensionsView.selectedItem.getAttribute("previewImage");        if (url) {          previewImageDeck.selectedIndex = 2;          previewImage.setAttribute("src", url);        }        else {          previewImageDeck.selectedIndex = 1;          if (previewImage.hasAttribute("src"))            previewImage.removeAttribute("src");        }      }    }    else if (gView == "updates") {      UpdateInfoLoader.cancelLoad();      if (!gExtensionsView.selectedItem)        previewImageDeck.selectedIndex = 3;      else if (!gExtensionsView.selectedItem.hasAttribute("availableUpdateInfo"))        previewImageDeck.selectedIndex = 4;      else        UpdateInfoLoader.loadInfo(gExtensionsView.selectedItem.getAttribute("availableUpdateInfo"));    }  }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/850429fab7af18f32311b21ca4b1db78cbc4edab/extensions.js/buggy/toolkit/mozapps/extensions/content/extensions.js