// This code was supplied by Symantec to direct rotating Flash ads to the correft theme Id on SMB/ENT
// if () commands on lines 9 and 13 can be changes or added to match the correct url for new offers
//
// You will need to work with the Symantec designer to implement this script correctly
//
// This on SMB script lives here: //drh.img.digitalriver.com/DRHM/Storefront/Site/symnasmb/pb/multimedia/herospot/ENT_SMB_HeroSpotFlash.js
//
// If you update the local copy, ALWAYS save a backup copy and attach it to the eRaid ticket you are working under.
//
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function ENT_herospot2_nh_DoFSCommand(command, args)                {
  var ENT_herospot2_nhObj = InternetExplorer ? ENT_herospot2_nh : document.ENT_herospot2_nh;
//  alert (args);
  if (command == "img1") {
  window.location= args;
  }
  if (command == "img3") {
  window.location= args;
  }
}
// For IE ActiveX compatibility
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
  document.write('<SCRIPT LANGUAGE=VBScript\> \n');
  document.write('on error resume next \n');
  document.write('Sub ENT_herospot2_nh_FSCommand(ByVal command, ByVal args)\n');
  document.write(' call ENT_herospot2_nh_DoFSCommand(command, args)\n');
  document.write('end sub\n');
  document.write('</SCRIPT\> \n');
}
