/**
 * GSException class.
 * This is a simple class that provides a single function to handle any Javascript
 * function that is arised.
 */
var GSException = new Object();
// Throw up an exception/error alert box.
GSException.handleException = function(exception) {
	alert('Exception: ' + exception.name + '\n' + exception.message);
}

var GSResponseConstant = new Object();
GSResponseConstant.success = 'AllOkay';
GSResponseConstant.failure = 'Failture';