$(function(){
	$.fn.supersized.options = {  
		startwidth: 640,  
		startheight: 480,
		vertical_center: 1,
		slideshow: 1,
		navigation: 1,
		transition: 1, //0-None, 1-Fade, 2-slide top, 3-slide right, 4-slide bottom, 5-slide left
		pause_hover: 0,
		slide_counter: 1,
		slide_captions: 1,
		slide_interval: 3000  
	};
    $('#supersize').supersized(); 
});

$(document).ready(function() {
	$("#twitter").getTwitter({
		userName: "6131records",
		numTweets: 1,
		loaderText: "Loading tweets...",
		slideIn: true,
		slideDuration: 750,
		showHeading: true,
		headingText: "",
		showProfileLink: false,
		showTimestamp: true
});
});
$(document).ready(function(){
	$("#mailingList h3").click(function () {
		$("#mailingList").fadeOut("slow");
});
});

$('#messageBoard').qtip({
   content: 'COMING SOON',
   show: 'mouseover',
   hide: 'mouseout',
   style: { 	
	  title: {'font-size': 10 },
      width: 130,
      padding: 2,
      background: '#fff',
      color: '#000',
      textAlign: 'center',
      border: {
         width: 3,
         radius: 2,
         color: '#fff'
      },
      tip: 'topMiddle',
      name: 'dark' // Inherit the rest of the attributes from the preset dark style
   },
   position: {
	  adjust: { x: 0, y: 20 },
      corner: {
         target: 'topMiddle',
         tooltip: 'topMiddle'
      },
   }
});

(function($) {
  var cache = [];
  // Arguments are image paths relative to the current page.
  $.preLoadImages = function() {
    var args_len = arguments.length;
    for (var i = args_len; i--;) {
      var cacheImage = document.createElement('img');
      cacheImage.src = arguments[i];
      cache.push(cacheImage);
    }
  }
})(jQuery)

$(function() {
		$(".accordion").accordion();
	});