$(document).ready(function() {

var d = document.domain;
var t = $("#siteTitle");
var o = "United Way of ";

if ( d.indexOf("uwrochester.org") != -1 ) {
                t.text( o + "Greater Rochester" );
} else if ( d.indexOf("uwgeneseecounty.org") != -1 ) {
                t.text( o + "Genesee County" );
} else if ( d.indexOf("uweasternorleans.org") != -1 ) {
                t.text( o + "Eastern Orleans County" );
} else if ( d.indexOf("uwlivingstoncounty.org") != -1 ) {
                t.text( o + "Livingston County" );
} else if ( d.indexOf("uwontariocounty.org") != -1 ) {
                t.text( o + "Ontario County" );
} else if ( d.indexOf("uwwaynecounty.org") != -1 ) {				
                t.text( o + "Wayne County" );
				if ( window.location.href.substring(window.location.href.lastIndexOf('/') + 1).length == 0 )
					window.location = "/wayne-home.aspx";
} else if ( d.indexOf("uwwyomingcounty.org") != -1 ) {
                t.text( o + "Wyoming County" );
}

 });

