﻿/*
 * Namespace: ox.global
 *
 * Global functions
 *
 */
 
if (typeof ox == "undefined") {
  ox = new Object();
}

// Rather than doing this in separate methods, do it once as a global for everything
var $j = jQuery.noConflict();

$j(document).ready(function(){
	ox.global.init();
});


ox.global = new function() {
	// Private vars
	var undefined;
	
	// Private methods
	
	
	// Public methods
	return {
		init: function() {
			// Find all buttons on the page that need to be converted to links
			$j("input[class*=link-button]").mouseover(function() {
				$j(this).addClass("hover");
			}).mouseout(function(){
				$j(this).removeClass("hover");
			});
		}
	};
}();
