\n"+
""
);
}, 90);
}
};
// =========================================================================
// UNTILS
// =========================================================================
p.callOnResize = function (func) {
if (this._callFunctions === null) {
this._callFunctions = []
}
this._callFunctions.push(func)
func.call()
}
p._handleFunctionCalls = function (e) {
if (this._callFunctions === null) {
return
}
for (var i = 0; i < this._callFunctions.length; i++) {
this._callFunctions[i].call()
}
}
// =========================================================================
// DEFINE NAMESPACE
// =========================================================================
window.site = window.site || {}
window.site.App = new App()
}(jQuery))
String.prototype.trim = function () {
var e = String.prototype.trim.arguments[0]
if (e) {
e = '^[' + e + ']+|[' + e + ']+$'
var t = new RegExp(e, 'gi'),
a = this.replace(t, '')
} else var a = this.replace(/^[ ]+|[ ]+$/g, '')
return a = a.replace(/^[\r\n]+|[\r\n]+$/g, ''), a = a.replace(/^[ ]+|[ ]+$/g, '')
}
String.prototype.tripSpace = function () {
return this.replace(/(\s\s+)/g, ' ')
}
String.prototype.repeat = function () {
var e, t = String.prototype.repeat.arguments[0],
a = ''
for (e = 0; t > e; e++) a += this
return a
}
String.prototype.filter = function () {
for (var e, t = String.prototype.filter.arguments[0], a = String.prototype.filter.arguments[1], n = this, i = 0; i < t.length; i++) e = new RegExp(t[i], 'gi'), n = n.replace(e, a.repeat(t[i].length))
return n
}
String.prototype.replaceString = function () {
for (var e, t = String.prototype.replaceString.arguments, a = this, n = 0; n < t.length; n++) e = new RegExp('%s', 'i'), a = a.replace(e, t[n])
return a
}
String.prototype.stripViet = function () {
var replaceChr = String.prototype.stripViet.arguments[0],
stripped_str = this,
viet = []
i = 0, viet[i++] = new Array('a', '/á|à|ả|ã|ạ|ă|ắ|ằ|ẳ|ẵ|ặ|â|ấ|ầ|ẩ|ẫ|ậ/g'), viet[i++] = new Array('o', '/ó|ò|ỏ|õ|ọ|ơ|ớ|ờ|ở|ỡ|ợ|ô|ố|ồ|ổ|ỗ|ộ/g'), viet[i++] = new Array('e', '/é|è|ẻ|ẽ|ẹ|ê|ế|ề|ể|ễ|ệ/g'), viet[i++] = new Array('u', '/ú|ù|ủ|ũ|ụ|ư|ứ|ừ|ử|ữ|ự/g'), viet[i++] = new Array('i', '/í|ì|ỉ|ĩ|ị/g'), viet[i++] = new Array('y', '/ý|ỳ|ỷ|ỹ|ỵ/g'), viet[i++] = new Array('d', '/đ/g')
for (var i = 0; i < viet.length; i++) stripped_str = stripped_str.replace(eval(viet[i][1]), viet[i][0]), stripped_str = stripped_str.replace(eval(viet[i][1].toUpperCase().replace('G', 'g')), viet[i][0].toUpperCase())
return replaceChr ? stripped_str.replace(/[\W]|_/g, replaceChr).replace(/\s/g, replaceChr).replace(/^\-+|\-+$/g, replaceChr) : stripped_str
}
function redirectSuccess($this, $res) {
if ($res.urlBack != undefined) {
window.location.href = $res.urlBack
}
}
function nextSearch($this, $form) {
var q = $this.find('[name="q"]').val()
var href = $this.attr('action')
if (q != '') {
// var cate = $this.find('[name="cate"]').val();
window.location.href = href + '/' + q
}
}
var Action = function () {
var seft = this
var expires_day = 1
var domain = '/'
//$.cookie.json = true;
seft.add = function ($action, $value) {
var cookie = $.cookie($action)
var items = []
if (cookie != undefined) {
items = cookie.split(',')
if ($.inArray(String($value), items) === -1) {
items.push($value)
$.cookie($action, items.join(','), {expires: expires_day, path: domain})
return true
}
} else {
$.cookie($action, $value, {expires: expires_day, path: domain})
return true
}
return false
}
seft.remove = function ($action, $item) {
}
seft.check = function ($action) {
var cookie = $.cookie($action)
if (cookie != undefined) {
return true
}
return false
}
seft.set = function ($action, $value) {
$.cookie($action, $value, {expires: expires_day, path: domain})
}
seft.get = function ($action) {
return $.cookie($action)
}
seft.getAll = function ($action) {
var cookie = $.cookie($action)
return cookie.split(',')
}
}
var action = new Action()
function removeURLParameter(url, parameter) {
var urlparts = url.split('?')
if (urlparts.length >= 2) {
var prefix = encodeURIComponent(parameter) + '='
var pars = urlparts[1].split(/[&;]/g)
for (var i = pars.length; i-- > 0;) {
if (pars[i].lastIndexOf(prefix, 0) !== -1) {
pars.splice(i, 1)
}
}
url = urlparts[0] + (pars.length > 0 ? '?' + pars.join('&') : '')
return url
} else {
return url
}
}
function parse_query_string(query) {
var vars = query.split("&");
var query_string = {};
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
// If first entry with this name
if (typeof query_string[pair[0]] === "undefined") {
query_string[pair[0]] = decodeURIComponent(pair[1]);
// If second entry with this name
} else if (typeof query_string[pair[0]] === "string") {
var arr = [query_string[pair[0]], decodeURIComponent(pair[1])];
query_string[pair[0]] = arr;
// If third or later entry with this name
} else {
query_string[pair[0]].push(decodeURIComponent(pair[1]));
}
}
return query_string;
}
YOUR
PROSPEROUS
WAY
TRANSPORT SERVICES
Detail information
INLAND TRUCKING SERVICES
Delta logistics largely offers inland trucking services to the special economic zones in the Northern and Southern regions, through all of regions of Vietnam, and cross-border regions. Operating truck fleet of more than 50 trailers and closely managing strong network of outsourcers with more than 50 large and medium truck teams, We assure that your goods will be delivered , stored and returned on schedule , as well as your package's location will be closely checked by GPS technology.
RAILWAY TRANSPORT
This operation is quite newly introduced by Delta International Logistics, in cooperation with railway companies. We are able to implement services on the whole system of railways in Vietnam, therefrom linking with other modes of transport to save you every dollar.