// JavaScript Document
function Zend () 
{
	var __baseUrl = '';
	var __module = '';
	var __controller = '';
	var __action = '';
	var __isNav = '';
	//
	var __currentPath = '';
	
	this.baseUrl = function (base) {	
		if(base)
			__baseUrl = base;	
		else
			return __baseUrl;	
		
	}
	
	this.module = function (module) {
		if(module)
			__module = module;
		else
			return __module;		
	}
	
	this.controller = function (ctrl)
	{
		if(ctrl)
			__controller = ctrl;
		else
			return __controller;
	}
	
	this.action = function (act) {
		if(act)
			__action = act;
		else
			return __action;		
	}
	
	this.currentPath = function (path) {
		if(path)
			__currentPath = path;
		else
			return __currentPath;		
	}
	
	this.isNav = function (nav) {
		if(nav)
			__isNav = nav;
		else
			return __isNav;
	}
	
	return instanceZend;	
}
var instanceZend = new Zend();
