
            <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. --> 
            var swfVersionStr = "10.0.0";
            <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
            var xiSwfUrlStr = "swf/playerProductInstall.swf";
            var flashvars = {};
            flashvars.xmlConfig = "/AjaxData/HomePageFlashXML.ashx"; 
            var params = {};
            params.quality = "high";
            params.bgcolor = "#ffffff";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            params.wmode ="transparent";
            var attributes = {};
            attributes.id = "Banner";
            attributes.name = "Banner";
            attributes.align = "middle";
            swfobject.embedSWF(
                "swf/Banner.swf", "flashContent", 
                "940", "345", 
                swfVersionStr, xiSwfUrlStr, 
                flashvars, params, attributes);
			<!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
			swfobject.createCSS("#flashContent", "display:block;text-align:left;"); 


	
	function tall() {
	    jQuery('#homebanner').animate({ height: 345 }, 1000);
	}    



var JoinUsEntries = new Array();
var currentJoinUsIndex = 0;
    jQuery.ajaxSetup({ "error": function(XMLHttpRequest, textStatus, errorThrown) {
        alert(textStatus);
        alert(errorThrown);
        alert(XMLHttpRequest.responseText);
    } 
    });

jQuery(document).ready(function() {
	    jQuery("a.fbImage").fancybox({ 'titlePosition': 'inside' });
	    jQuery(".primary_content").toggleClass("js", true);
	    jQuery("ul#tabs li a").click(function() {

	        jQuery("ul#tabs li a").removeClass("active");
	        jQuery(this).addClass("active");
	        jQuery("ul#tabbedContent li").toggleClass("active", false);

	        var activeTab = jQuery(this).attr("href");
	        jQuery(activeTab).toggleClass("active", true);
	        return false;
	    });
    jQuery.getJSON(JoinUsSourceURL, function(data) {
        jQuery.each(data.entries, function(i, item) {
            JoinUsEntries.push(JoinUsToHTML(item));
        });
        if (JoinUsEntries.length > 0) {
            setJoinUsEntry("0");
        }
    });
});
function attachJoinUsNavListeners() {
    jQuery("#snippetBlog ul.nav a").click(function() {
        setJoinUsEntry(this.href.split('#')[1]);
        return false;
    });
}
function setJoinUsEntry(index) {
    switch (index) {
        case "prev":
            currentJoinUsIndex = Math.max(0, currentJoinUsIndex - 1);
            break;
        case "next":
            currentJoinUsIndex = Math.min(JoinUsEntries.length - 1, currentJoinUsIndex + 1);
            break;
        default:
            currentJoinUsIndex = parseInt(index.toString());

    }
    jQuery("#snippetBlog").empty();
    jQuery("#snippetBlog").html(JoinUsEntries[currentJoinUsIndex] + '<ul class="nav">' + buildJoinUsNav() + '</ul>');
    attachJoinUsNavListeners();
}

function buildJoinUsNav() {
    var temp = "";
    if (JoinUsEntries.length > 1) {
        temp = '<li class="prev"><a href="#prev" title="Previous"></a></li>\n';
        jQuery.each(JoinUsEntries, function(i, item) {
            var t = "";
            if (i == currentJoinUsIndex) {
                t = "active";
            }
            temp += '<li class="goto"><a class="' + t + '" href="#' + i.toString() + '"></a></li>\n';

        });
        temp += '<li class="next"><a href="#next" title="Next"></a></li>';
    }
    return temp;

}
function JoinUsToHTML(data) {
    var blogText = (typeof data.Blog != 'undefined') ? data.Blog : "Blog Name";
    var blogURLHTML = (typeof data.BlogURL != 'undefined') ? '<a href="' + data.BlogURL + '">' + blogText + '</a>' : blogText;
    var titleText = (typeof data.Title != 'undefined') ? data.Title : "Post Title";
    var URLHTML = (typeof data.URL != 'undefined') ? '<a class="postTitle" href="' + data.URL + '">' + titleText + '</a>' : titleText;
    var summaryHTML = (typeof data.Summary != 'undefined') ? data.Summary : "Post snippet";
    summaryHTML += '&hellip; <a class="more" href="' + data.URL + '">Read More</a>';
    return '<h4>' + blogURLHTML + ' // ' + URLHTML + '</h4>\n<p>' + summaryHTML + '</p>';
}