// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

//<![CDATA[



// Global Vars

var app_protocol="http://";
var app_host=location.host;
var	app_root="/~hazrul/ialif/";
if (app_host!="localhost") {
	app_root="/";
}
var app_path=app_protocol+app_host+app_root;
var id_to_update="profilecontent";
var ajax_path=app_path+'ajax/';
var profile_path=app_path+'ajax/profile/';
var recent_hash="";
var pn = location.pathname;
pn=pn.replace(app_root,"");
pn=pn.replace(/users\/profile\//,"");

window.onload=function() { load_front(); load_profile(id_to_update,profile_path); }
//window.onload=function() { load(); load_mosque_list(); }
//window.onunload=function() { GUnload(); }

//]]>