    /*****************************************************************************
    The sIFR configuration should typically go in `sifr-config.js`, but in order to
    keep the config file clean, and to give a quick overview, it's done here instead.
    *****************************************************************************/
  
    var GothamBlack = {
      src: 'http://www.royalflushfestival.com/v2/js/GothamBlack.swf'
    };
    var GothamBold = {
      src: 'http://www.royalflushfestival.com/v2/js/GothamBold.swf'
    };

    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(GothamBlack);

		// RED BAR HEADERS FRONT
    sIFR.replace(GothamBlack, {
      selector: 'h3.subHeader-front'
      ,css: [
        '.sIFR-root { text-align: left; color:#d7bd7b; letter-spacing:0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #d7bd7b; }'
				,'a:visited { color: #d7bd7b; }'
        ,'a:hover { color: #CCCCCC; }'
      ]
			,wmode: 'transparent'
    });
		
		// RED BAR HEADERS
    sIFR.replace(GothamBlack, {
      selector: 'h3.subHeader'
      ,css: [
        '.sIFR-root { text-align: left; color:#d7bd7b; letter-spacing:0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #d7bd7b; }'
				,'a:visited { color: #d7bd7b; }'
        ,'a:hover { color: #CCCCCC; }'
      ]
			,wmode: 'transparent'
    });
		
		// FRONTPAGE HEADLINES
    sIFR.replace(GothamBlack, {
      selector: 'div.views-field-title'
      ,css: [
        '.sIFR-root { text-align: left; color:#000000; font-size:28px; letter-spacing:0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #000000; }'
				,'a:visited { color: #000000; }'
        ,'a:hover { color: #c60700; }'
      ]
			,wmode: 'transparent'
    });
		
		// FRONTPAGE SHORT HEADLINES
    sIFR.replace(GothamBlack, {
      selector: 'div.shortTitle'
      ,css: [
        '.sIFR-root { text-align: left; color:#000000; font-size:28px; letter-spacing:0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #000000; }'
				,'a:visited { color: #000000; }'
        ,'a:hover { color: #c60700; }'
      ]
			,wmode: 'transparent'
    });
		
		// SCHEDULE SHORT HEADLINES
    sIFR.replace(GothamBlack, {
      selector: 'div.shortTitleSchedule'
      ,css: [
        '.sIFR-root { text-align: center; color:#000000; font-size:28px; letter-spacing:0; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #000000; }'
				,'a:visited { color: #000000; }'
        ,'a:hover { color: #c60700; }'
      ]
			,wmode: 'transparent'
    });

    sIFR.replace(GothamBlack, {
      selector: 'div.shortTitleSchedule2'
      ,css: [
        '.sIFR-root { text-align: center; color:#000000; font-size:28px; letter-spacing:0; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #000000; }'
				,'a:visited { color: #000000; }'
        ,'a:hover { color: #c60700; }'
      ]
			,wmode: 'transparent'
    });
		
    sIFR.replace(GothamBlack, {
      selector: 'span.shortTitleScheduleSm'
      ,css: [
        '.sIFR-root { text-align: center; color:#000000; font-size:18px; letter-spacing:0; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #000000; }'
				,'a:visited { color: #000000; }'
        ,'a:hover { color: #c60700; }'
      ]
			,wmode: 'transparent'
    });
		
		// NEWSPAGE HEADLINES
    sIFR.replace(GothamBlack, {
      selector: 'div.views-field-title-news'
      ,css: [
        '.sIFR-root { text-align: left; color:#000000; font-size:30px; letter-spacing:0; margin-bottom:200;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #000000; }'
				,'a:visited { color: #000000; }'
        ,'a:hover { color: #c60700; }'
      ]
			,wmode: 'transparent'
    });
		
		// SHORTBLOCK HEADLINES
    sIFR.replace(GothamBlack, {
      selector: 'div.shortHaikuTitle'
      ,css: [
        '.sIFR-root { text-align: left; color:#000000; font-size:30px; letter-spacing:0;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #000000; }'
				,'a:visited { color: #000000; }'
        ,'a:hover { color: #c60700; }'
      ]
			,wmode: 'transparent'
    });
		
		// FRONTPAGE COMMENTS
    sIFR.replace(GothamBlack, {
      selector: 'div.views-field-comment-count'
      ,css: [
        '.sIFR-root { text-align: right; color:#352e1e; font-size:12px; letter-spacing:0 }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #352e1e; }'
				,'a:visited { color: #352e1e; }'
        ,'a:hover { color: #ca0700; }'
      ]
			,wmode: 'transparent'
    });
		
		// FRONTPAGE SHORT COMMENTS
    sIFR.replace(GothamBlack, {
      selector: '.shortComments'
      ,css: [
        '.sIFR-root { text-align: right; color:#352e1e; font-size:12px; letter-spacing:0; width:125px; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #352e1e; }'
				,'a:visited { color: #352e1e; }'
        ,'a:hover { color: #ca0700; }'
      ]
			,wmode: 'transparent'
    });
		
		// SHORTBLOCK COMMENTS
    sIFR.replace(GothamBlack, {
      selector: '.shortHaikuComments'
      ,css: [
        '.sIFR-root { text-align: right; color:#352e1e; font-size:12px; letter-spacing:0; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #352e1e; }'
				,'a:visited { color: #352e1e; }'
        ,'a:hover { color: #ca0700; }'
      ]
			,wmode: 'transparent'
    });

		
		// FRONTPAGE DATE
    sIFR.replace(GothamBlack, {
      selector: 'div.views-field-created'
      ,css: [
        '.sIFR-root { text-align: left; color:#352e1e; font-size:12px; letter-spacing:0; height:200px }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #352e1e; }'
				,'a:visited { color: #352e1e; }'
        ,'a:hover { color: #f0ce06; }'
      ]
			,wmode: 'transparent'
    });
		
		// FRONTPAGE SHORT DATE
    sIFR.replace(GothamBlack, {
      selector: '.shortDateLeft'
      ,css: [
        '.sIFR-root { text-align: left; color:#352e1e; font-size:12px; letter-spacing:0; height:200px }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #352e1e; }'
				,'a:visited { color: #352e1e; }'
        ,'a:hover { color: #f0ce06; }'
      ]
			,wmode: 'transparent'
    });
		
    sIFR.replace(GothamBlack, {
      selector: '.shortDateRight'
      ,css: [
        '.sIFR-root { text-align: left; color:#352e1e; font-size:12px; letter-spacing:0; height:200px }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #352e1e; }'
				,'a:visited { color: #352e1e; }'
        ,'a:hover { color: #f0ce06; }'
      ]
			,wmode: 'transparent'
    });
		
		// SHORTBLOCK DATE
    sIFR.replace(GothamBlack, {
      selector: '.shortHaikuDate'
      ,css: [
        '.sIFR-root { text-align: left; color:#352e1e; font-size:14px; letter-spacing:0; float:left; }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #352e1e; }'
				,'a:visited { color: #352e1e; }'
        ,'a:hover { color: #ca0700; }'
      ]
			,wmode: 'transparent'
    });
		
		// COMMENTS HEADER
    sIFR.replace(GothamBlack, {
      selector: 'h2.comments'
      ,css: [
        '.sIFR-root { text-align: left; color:#000000; letter-spacing:0 }'
      ]
			,wmode: 'transparent'
    });
		
		// COMMENTS ANON
    sIFR.replace(GothamBlack, {
      selector: 'h3.subComment'
      ,css: [
        '.sIFR-root { text-align: right; color:#000000; font-size:12px; letter-spacing:0 }'
      ]
			,wmode: 'transparent'
    });
		
		// COMMENTS POST
    sIFR.replace(GothamBlack, {
      selector: '.box h2'
      ,css: [
        '.sIFR-root { text-align: left; color:#000000; letter-spacing:0 }'
      ]
			,wmode: 'transparent'
    });
		
		// FOOTER
    sIFR.replace(GothamBlack, {
      selector: 'div#zfooter'
      ,css: [
        '.sIFR-root { text-align: center; color:#000000; font-size:11px; letter-spacing:0; height:200px }'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #000000; }'
				,'a:visited { color: #000000; }'
        ,'a:hover { color: #c60700; }'
      ]
			,wmode: 'transparent'
    });
		
// BIOS POP-UP
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=640,height=440,left = 540,top = 275');");
}

// PRESS POP-UP
function popUpPress(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=740,height=550,left = 440,top = 175');");
}

// VIDEO SHOW/HIDE
function hidediv() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hideshow').style.visibility = 'hidden';
}
else {
if (document.layers) { // Netscape 4
document.hideshow.visibility = 'hidden';
}
else { // IE 4
document.all.hideshow.style.visibility = 'hidden';
}
}
}


function showdiv() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('promoVid').style.display = 'block';
document.getElementById('promoVidImg').style.display = 'none';
}
else {
if (document.layers) { // Netscape 4
document.hideshow.display = 'block';
}
else { // IE 4
document.all.hideshow.style.display = 'block';
}
}
}
		
// Utility functions
i = 0;
function popWindow(url, w, h) {
	var ww = w + 20;
	var wh = h + 20;
	window.open(url, "syn"+i , 'width='+ww+', height='+wh+',scrollbars,resizable');
	i = i + 1;
}
// Autosized window
function popImgSize(img){
  pimg= new Image();
  pimg.src=(img);
  imgCtrl(img);
}
function imgCtrl(img){
  if((pimg.width!=0) && (pimg.height!=0))
    viewImg(img);
  else{
    funzione="imgCtrl('"+img+"')";
    intervallo = setTimeout(funzione,20);
  }
}
function viewImg(img){
  w = pimg.width+20;
  h = pimg.height+20;
  imgStr = "width="+w+",height="+h;
  imgWin = window.open(img,"",imgStr);
}

// Fireworks JavaScript functions
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function mmLoadMenus() {
  if (window.mm_menu_0826192020_0) return;
  window.mm_menu_0826192020_0 = new Menu("root",94,22,"Courier New, Courier, mono",14,"#ffffff","#ffffff","#333333","#990000","left","middle",1,0,200,-5,7,true,true,true,5,false,false);
  mm_menu_0826192020_0.addMenuItem("SCREENINGS","location='schedule.htm'");
  mm_menu_0826192020_0.addMenuItem("PARTIES","location='parties.htm'");
  mm_menu_0826192020_0.addMenuItem("ECFF&nbsp;2005","window.open('/2005/main.htm', '_blank');");
   mm_menu_0826192020_0.bgImageUp="images/menu/mmmenu3_94x22_up.gif";
   mm_menu_0826192020_0.bgImageOver="images/menu/mmmenu3_94x22_over.gif";
   mm_menu_0826192020_0.fontWeight="bold";
   mm_menu_0826192020_0.hideOnMouseOut=true;
   mm_menu_0826192020_0.bgColor='#999999';
  window.mm_menu_1011152048_1 = new Menu("root",119,22,"Courier New, Courier, mono",14,"#ffffff","#ffffff","#333333","#990000","left","middle",1,0,200,-5,7,true,true,true,5,false,false);
  mm_menu_1011152048_1.addMenuItem("PRESS","location='press.htm'");
  mm_menu_1011152048_1.addMenuItem("PRESS&nbsp;RELEASE","location='prelease.htm'");
   mm_menu_1011152048_1.bgImageUp="images/menu/mmmenu2_119x22_up.gif";
   mm_menu_1011152048_1.bgImageOver="images/menu/mmmenu2_119x22_over.gif";
   mm_menu_1011152048_1.fontWeight="bold";
   mm_menu_1011152048_1.hideOnMouseOut=true;
   mm_menu_1011152048_1.bgColor='#999999';
  window.mm_menu_1007173058_1 = new Menu("root",102,22,"Courier New, Courier, mono",14,"#ffffff","#ffffff","#333333","#990000","left","middle",1,0,200,-5,7,true,true,true,5,false,false);
  mm_menu_1007173058_1.addMenuItem("SCREENING","location='s_venues.htm'");
  mm_menu_1007173058_1.addMenuItem("HOSPITALITY","location='h_venues.htm'");
   mm_menu_1007173058_1.bgImageUp="images/menu/mmmenu1_102x22_up.gif";
   mm_menu_1007173058_1.bgImageOver="images/menu/mmmenu1_102x22_over.gif";
   mm_menu_1007173058_1.fontWeight="bold";
   mm_menu_1007173058_1.hideOnMouseOut=true;
   mm_menu_1007173058_1.bgColor='#999999';

  mm_menu_1007173058_1.writeMenus();
} // mmLoadMenus()
