Code:
var ROOT_PATH = "./";
App = new Object();


App.modules = new Array(3);

App.modules[0] = {
	name: 'Home',
	path: ROOT_PATH + 'sources/js-modules/home.js',
	access: 1
}
App.modules[1] = {
	name: 'Register',
	path: ROOT_PATH + 'sources/js-modules/register.js',
	access: 1
}
App.modules[2] = {
	name: 'My Account',
	path: ROOT_PATH + 'sources/js-modules/myaccount.js',
	access: 2
}

App.modulesBuild = function()
{
	mods = App.modules
	for(i=0;i>mods.length;i++)
	{
		alert( i );
	}
	return;
}
I am still fairly new at javascript but the problem is im not sure what it is I have narrowed it down to this part of the script since when i run it I never get alerts for each of the modules like I should get, if anyone could help that would be a big help

Thanks ahead of time,