var url = document.location.toString();
	
	if (url.search("subliminable") > 0) {
		server = "subliminable";
		flashSrc = "index.html";
		flashSrc2 = "index.html";
		
	} else if (url.search("segway.pixelmedia.net") > 0) {
		server = "segway.pixelmedia.net";
		flashSrc = "flash/headers/benton-medium.swf";
		flashSrc2 = "flash/headers/benton-regular.swf";
		

	} else {
		server = "www.segway.co.nz";
		flashSrc = "flash/headers/benton-medium.swf";
		flashSrc2 = "flash/headers/benton-regular.swf";
	}
	
  var bentonMed = {
    src: "flash/headers/benton-medium.swf";
  };
 var bentonReg = {
    src: "flash/headers/benton-regular.swf";
  };

/*  sIFR.debugMode = true;*/
  sIFR.prefetch(bentonMed, bentonReg);
  sIFR.activate();

  /* Landing Page Headers */
    sIFR.replace(bentonMed, {
    selector: '#mainContent .focusAreaContent h2'
	,fitExactly: true
	,wmode: 'transparent'
    ,css: {
      '.sIFR-root': { 'color': '#808080', 'background-color': '#f7f7f7', 'font-weight': 'normal', 'font-size': '15px' }
    }
  });
  
  
  /* Generic Page h2 */
   sIFR.replace(bentonMed, {
    selector: '#mainContent h2'
	,thickness: '.5'
	,fitExactly: true
	,wmode: 'transparent'
    ,css: {
      '.sIFR-root': { 'color': '#808080', 'background-color': '#eaeaea', 'text-transform': 'uppercase', 'letter-spacing': '-.2', 'font-weight': 'normal', 'font-size': '12px' }
    }
  });
  
  
  /* Generic Page h3 */
   sIFR.replace(bentonReg, {
    selector: '#mainContent h3'
	,wmode: 'transparent'
	,fitExactly: true
    ,css: {
      '.sIFR-root': { 'color': '#585858', 'background-color': '#f7f7f7', 'letter-spacing': '-.8', 'font-weight': 'normal', 'font-size': '31px' }
    }
  });
  
  
  /* Product Specs Header (h4) */
   sIFR.replace(bentonReg, {
    selector: '#mainContent h4.specsHeader'
	,wmode: 'transparent'
	,fitExactly: true
    ,css: {
      '.sIFR-root': { 'color': '#585858', 'background-color': '#f7f7f7', 'letter-spacing': '-.3', 'font-weight': 'normal', 'font-size': '21px' }
    }
  });
  
  /* Box Header */
   sIFR.replace(bentonMed, {
    selector: '#mainContent h5.boxHeader'
	,thickness: '.5'
	,fitExactly: true
    ,css: {
      '.sIFR-root': { 'color': '#808080', 'background-color': '#f2f2f2', 'font-weight': 'normal', 'font-size': '15px' }
    }
  });