// JavaScript Document

// SIFR

  var grotesk = {
    src: '/sIFR/grotesk.swf'
    ,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
  };


  // sIFR.domains = ['novemberborn.net'] // Don't check for domains in this demo
  sIFR.useStyleCheck = true;
  sIFR.activate(grotesk);

  sIFR.replace(grotesk, {
    selector: '.h1_pitfont',
	wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: bold;color:#062b4f; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #CCCCCC; }'
    ]
  });
    sIFR.replace(grotesk, {
    selector: '.h1_pitfont_one',
	wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-weight:font-size:12px; bold;color:#ffffff; background-color:none;}'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { color: #ffffff; }'
    ]
  });
	    sIFR.replace(grotesk, {
    selector: '.h2_pitfont',
	wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-weight:font-size:12px; bold;color:#125eab; background-color:none;}'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { color: #ffffff; }'
    ]
  });

function gotourl(url)
{
document.all.main.src = url;
} 

// Universal window opener
function openWindow(url,w,h,scrollbars,name) {
	if (!name) { name = "popped"; }
	
	var popped = window.open(url,
							 name,
							 'width='+w+',height='+h+',resizeable=0,scrollbars='+scrollbars);
	popped.moveTo(((screen.width/2)-(w/2)), ((screen.height/2)-(h/2)-50));
	popped.focus();
}

function openWindowFull(url,w,h,name) {
	if (!name) { name = "popped"; }
	
	var popped = window.open(url,name,'width='+w+',height='+h+',toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1');
	popped.moveTo(((screen.width/2)-(w/2)), ((screen.height/2)-(h/2)-70));
	popped.focus();
}