var univers = {
  src: '/swf/univers.swf'
};

sIFR.activate(univers);

//Figure out what color links are
hex="cd4e17";




  sIFR.replace(univers, {
    selector: '#column h5'
	,wmode: 'transparent'
    ,css: [
		'.sIFR-root { background-color: #454545; color:#'+ hex +';font-weight:bold;text-transform:uppercase;}'
      ,'a { text-decoration: none }'
      ,'a:link { color:#'+ hex +' }'
      ,'a:hover { color:#'+ hex +';text-decoration:underline; }'
    ]
  });
  
  sIFR.replace(univers, {
    selector: 'h1, #sidebar h2, #column h2'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { background-color: #454545; color:#' + hex + ';font-weight:bold;text-transform:uppercase;}'
	  ,'a { text-decoration: none }'
      ,'a:link { color:#'+ hex +' }'
      ,'a:hover { color:#'+ hex +';text-decoration:underline; }'
    ]
  });
  
   sIFR.replace(univers, {
    selector: '#feature h2'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { background-color: #323232; color:#'+ hex +';font-weight:bold;text-transform:uppercase;}'
    ]
  });
   
  sIFR.replace(univers, {
    selector: '#column h3'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { background-color: #454545; color:#eeeeee;text-transform:capitalize;}'
    ]
  });
  
function RGB2HTML(color){
	color=color.replace(/[a-z\(\) ]/g,"")
	colors=color.split(",");
	hex=toHex(colors[0]) +toHex(colors[1]) +toHex(colors[2]);
	return hex;
}

function toHex(dec) {
        // create list of hex characters
        var hexCharacters = "0123456789ABCDEF"
        // if number is out of range return limit
        if (dec < 0)
                return "00"
        if (dec > 255)
                return "FF"
        // decimal equivalent of first hex character in converted number
        var i = Math.floor(dec / 16)
        // decimal equivalent of second hex character in converted number
        var j = dec % 16
        // return hexadecimal equivalent
        return hexCharacters.charAt(i) + hexCharacters.charAt(j)
}
  
