
/*

	TumblrAddress.js
	version 0.1.0
	MIT License
	First Created: 07/23/2010
	Last Revised: 08/02/2010
	edward@edwardhotchkiss.com
	http://www.edwardhotchkiss.com

*/

/*(function($) {

	$.TumblrAddress = function(options) {

    	var settings = {
			backStack    : [],
			forwardStack : [],
			currentHash  : null,
			isFirst      : true,
    		onBefore     : function(){},
			onAfter      : function(){},
			onError      : function(){},
			callback     : function(){}
    	};

    	if (options) {
        	jQuery.extend(settings, options);
   	 	};

		function load() {
			var newhash;
			newhash = '#' + hash;
			location.hash = newhash;
		};
		
		function add(hash) {
				backStack.push(hash);
		};
	
		function check() {
			var currentHash = location.hash;
			if(current_hash != $.history._curHash) {
				$.history._curHash = current_hash;
				$.history._callback(current_hash.replace(/^#/, ''));
			};
		};
		
		if (address == "http://edwardhotchkiss.com") {
			setTimeout(function() {
				homePage();
			}, 400);
		} else {
			alert(address);
		};

		$(document).ready(function() {
			if (location.hash == "") {
				homePage();
			}
		});
	};

})(jQuery);*/
