var cocon = {
   src: '/swf/cocon.swf'
   ,ratios: [8,0.97,10,1.1,13,1.16,16,1.2,18,1.23,24,1.25,26,1.28,29,1.27,35,1.29,37,1.3,45,1.31,56,1.32,64,1.33,66,1.34,67,1.33,69,1.34,70,1.33,88,1.34,89,1.35,91,1.34,92,1.35,94,1.34,96,1.35,97,1.34,1.35]
};

sIFR.delayCSS  = true;
/* sIFR does not work when opened straight from the local filesystem. You must load sIFR from a web server. */

// sIFR.domains = ['novemberborn.net'] // domain check
sIFR.activate(cocon);

//sIFR.debug.ratios({ src: 'swf/cocon.swf', selector: 'h2' });

sIFR.replace(cocon , {
  selector: '#content h1'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #143674; font-size: 36px; line-height: 1em; leading: -4}'
  ]
    ,wmode: 'transparent'
});

sIFR.replace(cocon , {
  selector: 'div.quick-chat strong.head'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #F7951E; font-size: 24px; line-height: 1em;}'
  ]
    ,wmode: 'transparent'
});


sIFR.replace(cocon , {
  selector: 'div.tpreview strong.head'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #02B0E4; font-size: 18px; line-height: 1em; leading: -4}'
  ]
    ,wmode: 'transparent'
});

sIFR.replace(cocon , {
  selector: 'strong.head'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #02B0E4; font-size: 24px; line-height: 1em; leading: -4}'
  ]
    ,wmode: 'transparent'
});

sIFR.replace(cocon , {
  selector: '#welcome h2'
  ,css: [
    '.sIFR-root { color: #093274; padding: 0; font-size: 15px; font-weight: bold;}'
  ]
    ,wmode: 'transparent'
});

sIFR.replace(cocon , {
  selector: '#welcome p.call2'
  ,css: [
    '.sIFR-root { color: #00B6E6; text-align:center; font-weight: bold; font-size: 24px; padding: 0 0 0 16px;}'
  ]
    ,wmode: 'transparent'
});

sIFR.replace(cocon , {
  selector: '#welcome ul'
  ,css: [
    '.sIFR-root { color: #093274; list-style-position: outside; list-style-type: none; line-height: 18px; padding-top: 20px; margin-left: -18px; position: relative;}'
  ]
    ,wmode: 'transparent'
});

sIFR.replace(cocon , {
  selector: '#welcome ul li'
  ,css: [
    '.sIFR-root { color: #093274; padding: 0 0 0 16px; font-weight: bold; font-size: 15px; list-style-type: none; margin-bottom:5px;}'
  ]
    ,wmode: 'transparent'
});

function openWindow(windowname) {
    var newWindow = window.open(windowname,"pop","location=no,status=no,menubar=no,toolbar=no,resizeable=yes,scrollbars=yes,HEIGHT=800,WIDTH=1000,LEFT=1,TOP=1");
}