    swfobject.registerObject("myId", "9.0.115", "expressInstall.swf");
    
    (function() {
	  /**
	   * Derived from Apples suggested sniffer.
	   * @param {String} desc e.g. Shockwave Flash 7.0 r61
	   * @return {String} 7.0.61
	   */
	  function getFlashVersion(desc) {
	    var matches = desc.match(/[\d]+/g);
	    matches.length = 3;  // To standardize IE vs FF
	    return matches.join('.');
	  }
	
	  var hasFlash = false;
	  var flashVersion = '';
	
	  if (navigator.plugins && navigator.plugins.length) {
	    var plugin = navigator.plugins['Shockwave Flash'];
	    if (plugin) {
	      hasFlash = true;
	      if (plugin.description) {
	        flashVersion = getFlashVersion(plugin.description);
	      }
	    }
	
	    if (navigator.plugins['Shockwave Flash 2.0']) {
	      hasFlash = true;
	      flashVersion = '2.0.0.11';
	    }
	
	  } else if (navigator.mimeTypes && navigator.mimeTypes.length) {
	    var mimeType = navigator.mimeTypes['application/x-shockwave-flash'];
	    hasFlash = mimeType && mimeType.enabledPlugin;
	    if (hasFlash) {
	      flashVersion = getFlashVersion(mimeType.enabledPlugin.description);
	    }
	
	  } else {
	    try {
	      // Try 7 first, since we know we can use GetVariable with it
	      var ax = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.7');
	      hasFlash = true;
	      flashVersion = getFlashVersion(ax.GetVariable('$version'));
	    } catch (e) {
	      // Try 6 next, some versions are known to crash with GetVariable calls
	      try {
	        var ax = new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');
	        hasFlash = true;
	        flashVersion = '6.0.21';  // First public version of Flash 6
	      } catch (e) {
	        try {
	          // Try the default activeX
	          var ax = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');
	          hasFlash = true;
	          flashVersion = getFlashVersion(ax.GetVariable('$version'));
	        } catch (e) {
	          // No flash
	        }
	      }
	    }
	  }

	  if ( ! hasFlash) {
		document.location = '/home/';
	  }

	})();
    
	// Apple detection object  
	var Apple = {};  
	Apple.UA = navigator.userAgent;  
	Apple.Device = false;  
	Apple.Types = ["iPhone", "iPod", "iPad"];  
	for (var d = 0; d < Apple.Types.length; d++) {  
	    var t = Apple.Types[d];  
	    Apple[t] = !!Apple.UA.match(new RegExp(t, "i"));  
	    Apple.Device = Apple.Device || Apple[t];  
	}  
	// is this an Apple, mobile or flash-hindered device? 
	var uagent = navigator.userAgent.toLowerCase();
	if (Apple.iPhone) {
		document.location = '/mobile';
	} 
	else if (Apple.iPad) {
		document.location = '/home/';
	} 
	else if (uagent.search("android") > -1) {
		document.location = '/mobile';
	}

