var fatfree = {
	src: '/js/fatfree.swf',
	ratios: [7, 1.58, 8, 1.48, 10, 1.5, 14, 1.44, 17, 1.43, 20, 1.41, 23, 1.4, 29, 1.39, 38, 1.38, 40, 1.37, 43, 1.38, 50, 1.37, 52, 1.36, 53, 1.37, 55, 1.36, 58, 1.37, 91, 1.36, 93, 1.35, 95, 1.36, 96, 1.35, 98, 1.36, 99, 1.35, 100, 1.36, 107, 1.35, 108, 1.36, 1.35]
};
var fatfreesolid = {
	src: '/js/fatfreesolid.swf',
	ratios:[7, 1.58, 8, 1.48, 10, 1.5, 14, 1.44, 17, 1.43, 20, 1.41, 23, 1.4, 29, 1.39, 38, 1.38, 40, 1.37, 43, 1.38, 50, 1.37, 52, 1.36, 53, 1.37, 55, 1.36, 58, 1.37, 91, 1.36, 93, 1.35, 95, 1.36, 96, 1.35, 98, 1.36, 99, 1.35, 100, 1.36, 107, 1.35, 108, 1.36, 1.35]
};
sIFR.useStyleCheck = true;
sIFR.activate(fatfree, fatfreesolid);
sIFR.replace(fatfree, {
  selector: 'h1',
  wmode: "transparent",
  css: [
	  '.sIFR-root { color: #FFFFFF; }',
	  '.sIFR-root a { color: #FFFFFF; text-decoration:none; }',
	  '.sIFR-root a:hover { color: #CCCCCC; }',
  ]
});
sIFR.replace(fatfreesolid, {
  selector: '.blueHeaderText',
  wmode: "transparent",
  css: [
	  '.sIFR-root { color: #6dcff6; }',
	  '.sIFR-root a { color: #6dcff6; text-decoration:none; }',
	  '.sIFR-root a:hover { color: #CCCCCC; }',
  ]
});
sIFR.replace(fatfreesolid, {
  selector: '.pinkHeaderText',
  wmode: "transparent",
  css: [
	  '.sIFR-root { color: #ed145b; }',
	  '.sIFR-root a { color: #6dcff6; text-decoration:none; }',
	  '.sIFR-root a:hover { color: #CCCCCC; }',
  ]
});
sIFR.replace(fatfree, {
  selector: '.whiteHeaderText',
  wmode: "transparent",
  css: [
	  '.sIFR-root { color: #ffffff; }',
	  '.sIFR-root a { color: #ffffff; text-decoration:none; }',
	  '.sIFR-root a:hover { color: #CCCCCC; }',
  ]
});
sIFR.replace(fatfreesolid, {
  selector: '.whiteHeader',
  wmode: "transparent",
  css: [
	  '.sIFR-root { color: #ffffff; }',
	  '.sIFR-root a { color: #ffffff; text-decoration:none; }',
	  '.sIFR-root a:hover { color: #CCCCCC; }',
  ]
});
$(function() {
    $('#playerspace').flash({ 
          src: '/js/player.swf?playlist_url=/playlist.php',
          width: 227,
          height: 170,
		  wmode: 'transparent',
		  flashvars: { wmode:'transparent', autoplay:'true'  }
        },
        { version: 8 }
    );
    $("#gigslider").jCarouselLite({
        btnNext: null,
        btnPrev: null,
		visible:1,
		start:0,
		auto: 3000,
		speed: 1000
    });
    $("#featureslider").jCarouselLite({
        btnNext: null,
        btnPrev: null,
		visible:1,
		start:0,
		auto: 3000,
		vertical: true,
		speed: 1000
    });
});
function clearDefault(el) {
	if (el.defaultValue==el.value) el.value = "";
	if (el.style) el.style.cssText = "";
}
function openPlayer() {
	window.open('/popupplayer.php','','scrollbars=no,menubar=no,height=172,width=277,resizable=yes,toolbar=no,location=no,status=no');
	return false;
}