url=window.location.href.split("/"); 

var base_url    = "http://"+url[2]+"/";
var root        = "http://"+url[2]+"/index.php/";
var secure_root = "https://reseller.freestart.com/index.php/";
var secure_front_root = "https://"+url[2]+"/index.php/";

