oms.itradenetwork.com
Open in
urlscan Pro
172.66.43.109
Public Scan
Submitted URL: http://omsr.itradenetwork.com/
Effective URL: https://oms.itradenetwork.com/secure/login/logon.cfm
Submission: On March 18 via manual from ES — Scanned from ES
Effective URL: https://oms.itradenetwork.com/secure/login/logon.cfm
Submission: On March 18 via manual from ES — Scanned from ES
Form analysis
2 forms found in the DOMPOST
<form class="x-panel-body x-form" method="POST" id="ext-gen13" style="padding: 5px 5px 0px; width: 328px;">
<div class="x-form-item " tabindex="-1" id="ext-gen40"><label for="UserName" style="width:100px;" class="x-form-item-label" id="ext-gen41">User Name:</label>
<div class="x-form-element" id="x-form-el-UserName" style="padding-left:105px"><input type="text" size="20" autocomplete="off" id="UserName" name="UserName" class=" x-form-text x-form-field x-form-focus" style="width: 200px;"></div>
<div class="x-form-clear-left"></div>
</div>
<div class="x-form-item " tabindex="-1" id="ext-gen42"><label for="Password" style="width:100px;" class="x-form-item-label" id="ext-gen43">Password:</label>
<div class="x-form-element" id="x-form-el-Password" style="padding-left:105px"><input type="password" size="20" autocomplete="off" id="Password" name="Password" class=" x-form-text x-form-field" style="width: 200px;"></div>
<div class="x-form-clear-left"></div>
</div>
<div class="x-form-item " tabindex="-1" id="ext-gen44"><label for="RememberMe" style="width: 100px; font-size: 10px;" class="x-form-item-label" id="ext-gen45"><a href="recover_password.cfm">Forgot Password?</a></label>
<div class="x-form-element" id="x-form-el-RememberMe" style="padding-left:105px">
<div class="x-form-check-wrap" id="ext-gen46" style="width: 200px;"><input type="checkbox" autocomplete="off" id="RememberMe" name="RememberMe" class=" x-form-checkbox x-form-field" style="margin-right: 8px;"><label for="RememberMe"
class="x-form-cb-label" id="ext-gen47">Remember Me?</label></div>
</div>
<div class="x-form-clear-left"></div>
</div>
</form>
Name: main — POST
<form name="main" id="main" action="" target="" method="post" onsubmit="" enctype="multipart/form-data" novalidate="novalidate">
<input type="hidden" name="nil" value="">
<input type="hidden" name="SubmitType" value="">
<link rel="STYLESHEET" type="text/css" href="../common/jscript_select/classic.css">
<link rel="STYLESHEET" type="text/css" href="../common/misc/tabcontrol.css">
<link rel="STYLESHEET" type="text/css" href="../common/misc/mktree.css">
<script type="text/javascript" src="../common/jscript_select/select.js"></script>
<script type="text/javascript" src="../common/jscript_select/writeselect.js"></script>
<script type="text/javascript" src="../common/misc/tabcontrol.js"></script>
<script type="text/javascript" src="../common/misc/mktree.js"></script>
<style>
v\:* {
behavior: url(#default#VML);
}
</style>
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v">
<download id="dwn" style="behavior:url(#default#download)">
<script>
function SetSubmit(el) {
with(document.main) {
SubmitType.value = el.name;
SubmitForm();
}
}
</script>
<script type="text/javascript" src="../common/misc/ext-3.2.1/src/ext-core/src/core/Loader.js"></script>
<script>
function extPrivacyPolicy(obj) {
var vSnd = obj == true ? 1 : 0;
var remoteXML = getURL("privacyPolicyExt.cfm", "POST", "&ppl=" + vSnd);
if (remoteXML.trim() != "") {
var domObj = new XMLDOM;
if (domObj.loadXML(remoteXML)) {
var objRoot = domObj.documentElement;
var objpol = objRoot.selectSingleNode("//policy");
if (objpol != null) {
if (objpol.text != "" && (objpol.text == 1 || objpol.text == 0)) {
Ext.getCmp('privacyPopup').hide();
domObj = null;
if (objpol.text == 1) {
window.location.replace("../index.cfm");
} else if (objpol.text == 0) {
window.location.replace("logon.cfm");
}
}
}
}
}
};
var prPopup = new Ext.Window({
layout: 'border',
title: 'Privacy Policy',
id: 'privacyPopup',
width: 450,
height: 200,
plain: true,
closable: false,
closeAction: 'hide',
modal: true,
resizable: false,
draggable: false,
buttonAlign: 'left',
items: [{
region: 'center',
xtype: 'form',
labelWidth: 125,
frame: true,
bodyStyle: 'padding:5px 5px 0',
width: 450,
floating: false,
items: [{
html: '<table width="100%"><tr><td align="left"><font size="2" color="#000080" face="Arial,Helvetica,sans-serif">Your privacy is very important to us.This Privacy Policy describes our practices with respect to (i) the personal information we gather on our website (ii) the way we use personal information internally; and (iii) our policy regarding sharing your personal information with others.</font></td></tr></table>'
}, {
html: '<table width="100%"><tr><td> </td></tr><tr><td align="left"><font size="1" color="#000080" face="Arial,Helvetica,sans-serif"><a href="http://www.itradenetwork.com/privacy-policy/" target="_blank">Privacy Policy Terms</a></font></td></tr></table>'
}]
}],
buttons: [
new Ext.form.Checkbox({
fieldLabel: '',
labelSeparator: '',
id: 'chkAccept',
name: 'chkAccept',
boxLabel: 'I Accept The Privacy Policy',
align: 'left',
style: 'margin-right: 8px;align:left',
checked: false
}), {
id: 'deny',
text: 'Decline',
disabled: false
}, {
id: 'accept',
text: 'Accept',
disabled: true
}
]
});
prPopup.on("show", function(el) {
setPreferredLanguage();
Ext.get('deny').on("click", function(el, e) {
extPrivacyPolicy(false);
});
Ext.get('accept').on("click", function(el, e) {
if ($("chkAccept").checked) {
extPrivacyPolicy(true);
} else {
return false;
};
});
Ext.get('chkAccept').on("click", function(el, e) {
if ($("chkAccept").checked) {
Ext.getCmp('accept').enable();
} else {
Ext.getCmp('accept').disable();
};
});
}, null, {
delay: 0
});
Ext.Msg = function() {
var msgCt;
function createBox(t, s) {
return ['<div class="msg">', '<div class="x-box-tl"><div class="x-box-tr"><div class="x-box-tc"></div></div></div>', '<div class="x-box-ml"><div class="x-box-mr"><div class="x-box-mc"><h3>', t, '</h3>', s, '</div></div></div>',
'<div class="x-box-bl"><div class="x-box-br"><div class="x-box-bc"></div></div></div>', '</div>'
].join('');
}
return {
msg: function(format, alignElement) {
if (alignElement == null) {
alignElement = document.body;
}
if (!msgCt) {
msgCt = Ext.DomHelper.insertFirst(alignElement, {
id: 'msg-div'
}, true);
}
msgCt.alignTo(alignElement, 't-t');
var s = String.format.apply(String, Array.prototype.slice.call(arguments, 0));
var m = Ext.DomHelper.append(msgCt, {
html: createBox(Ext.Msg.msgTitle, s)
}, true);
m.pause(15).ghost('t', {
remove: true
});
}
};
}();
Ext.Msg.msgTitle = "Logon Error";
var ExpirePopup = new Ext.Window({
layout: 'border',
title: 'Password has Expired',
id: 'ExpiredPopup',
width: 375,
height: 160,
plain: true,
closable: false,
closeAction: 'hide',
modal: true,
resizable: false,
items: [{
region: 'center',
xtype: 'form',
labelWidth: 125,
frame: true,
bodyStyle: 'padding:5px 5px 0',
width: 350,
defaults: {
width: 175
},
defaultType: 'textfield',
floating: true,
items: [{
fieldLabel: 'New Password',
id: 'NewPassword',
name: 'NewPassword',
allowBlank: false,
inputType: 'password',
maxLength: 20
}, {
fieldLabel: 'Confirm Password',
id: 'ConfirmPassword',
name: 'ConfirmPassword',
allowBlank: false,
inputType: 'password',
maxLength: 20
}]
}, {
id: 'progressBar',
region: 'south',
xtype: 'progress',
text: strengthText.StrengthMeter + ': ' + strengthText.NotRated
}],
buttons: [{
id: 'Create',
text: 'Set New Password',
disabled: true
}]
});
ExpirePopup.on("show", function(el) {
setPreferredLanguage();
Ext.getCmp('NewPassword').focus(true, 250);
Ext.get('NewPassword').on("keyup", function(el, e) {
checkPassword(Ext.get('NewPassword').getValue());
checkMatch();
});
Ext.get('ConfirmPassword').on("keyup", function(el, e) {
checkMatch();
});
Ext.get('Create').on("click", function(el, e) {
changePassword();
});
var NewPasswordNav = new Ext.KeyNav("NewPassword", {
"enter": function(e) {
$('ConfirmPassword').focus();
},
scope: el
});
var ConfirmPasswordNav = new Ext.KeyNav("ConfirmPassword", {
"enter": function(e) {
if ((Ext.getCmp('NewPassword').isValid()) && (Ext.getCmp('ConfirmPassword').isValid()) && ($F("NewPassword") == $F("ConfirmPassword"))) {
changePassword();
}
},
scope: el
});
}, null, {
delay: 100
});
Ext.onReady(function() {
Ext.QuickTips.init();
Ext.form.Field.prototype.msgTarget = 'side';
document.body.style.overflow = "hidden";
var tb = new Ext.Toolbar({
items: [{
xtype: 'splitbutton',
id: 'setLanguage',
text: 'English',
menu: new Ext.menu.Menu({
items: [{
text: 'English',
id: 'EN',
handler: changeLanguage
}, {
text: 'Espa�ol',
id: 'ES',
handler: changeLanguage
}, {
text: 'Deutsch',
id: 'DE',
handler: changeLanguage
}, {
text: 'Fran�ais',
id: 'FR',
handler: changeLanguage
}, {
text: 'Nederlands',
id: 'NL',
handler: changeLanguage
}]
})
}, {
text: 'SSO',
id: 'SSO',
disabled: true,
handler: gotoSSO,
formBind: true
}, '->', {
text: 'Logon',
id: 'Logon',
disabled: true,
handler: performLogon,
formBind: true
}]
});
var logonForm = new Ext.FormPanel({
labelWidth: 100,
frame: true,
title: 'Member Logon',
id: 'LogonForm',
bodyStyle: 'padding: 5px 5px 0',
width: 350,
defaults: {
width: 200
},
defaultType: 'textfield',
floating: true,
shadow: 'drop',
shadowOffset: 15,
monitorValid: true,
buttonAlign: 'left',
items: [{
fieldLabel: 'User Name',
id: 'UserName',
name: 'UserName',
allowBlank: false,
maxLength: 50
}, {
fieldLabel: 'Password',
id: 'Password',
name: 'Password',
inputType: 'password',
maxLength: 20
}, new Ext.form.Checkbox({
fieldLabel: '',
labelSeparator: '',
id: 'RememberMe',
name: 'RememberMe',
boxLabel: 'Remember Me?',
style: 'margin-right: 8px',
checked: getCookie('REMEMBERME') == "true" ? true : false
})],
fbar: tb
});
logonForm.on("render", function(el) {
if (getCookie('REMEMBERME') == "true") {
$('UserName').value = unescape(getCookie('MEMBERNAME'));
if (getCookie('MEMBERPASSWORD') != null) {
$('Password').value = getCookie('MEMBERPASSWORD');
}
Ext.getCmp('Password').focus(true, 250);
} else {
Ext.getCmp('UserName').focus(true, 250);
}
}, null, {
delay: 500
});
var viewPort = new Ext.Viewport({
layout: 'border',
items: [{
region: 'north',
id: 'north_pane',
html: '<h1 class="x-panel-header">iTradeNetwork, Inc.</h1>',
autoHeight: true,
border: false,
margins: '0 0 5 0'
}, {
region: 'center',
id: 'center_pane',
margins: '20 20 20 20',
items: logonForm
}, {
region: 'south',
id: 'south_pane',
html: '<table width="100%" ><tr><td align="center"><font size="1" color="#000080" face="Arial,Helvetica,sans-serif">This website uses cookies. By proceeding to navigate on this page, you agree to the use of the cookies according to the terms of our <a href="http://www.itradenetwork.com/privacy-policy/" target="_blank">Privacy Policy</a></font></td></tr></table>',
autoHeight: true,
border: false,
margins: '0 0 5 0'
}]
});
Ext.get('RememberMe').findParentNode(".x-form-item", 5, true).first().setStyle('font-size', '10px').update('<a href="recover_password.cfm">Forgot Password?</a>');
setPreferredLanguage();
viewPort.on("resize", function(el, adjWidth, adjHeight, rawWidth, rawHeight) {
logonForm.setPosition((adjWidth / 2) - (logonForm.getBox().width / 2), (adjHeight / 2) - (logonForm.getBox().height / 2));
prPopup.setPosition((adjWidth / 2) - (prPopup.getBox().width / 2), (adjHeight / 2) - (prPopup.getBox().height / 2));
});
logonForm.setPosition((Ext.getCmp('center_pane').getInnerWidth() / 2) - (logonForm.getBox().width / 2), (Ext.getCmp('center_pane').getInnerHeight() / 2) - (logonForm.getBox().height / 2));
var UserNameNav = new Ext.KeyNav("UserName", {
"enter": function(e) {
$('Password').focus();
},
scope: this
});
var PasswordNav = new Ext.KeyNav("Password", {
"enter": function(e) {
if ((Ext.getCmp('UserName').isValid()) && (Ext.getCmp('Password').isValid())) {
performLogon();
}
},
scope: this
});
});
</script>
<script>
var moveobject = null;
var resizeobject = null;
var closeobj = null;
var currTop = 0;
var currLeft = 0;
var currWidth = 0;
var currHeight = 0;
var tID;
function initiateMove(el, ev, obj) {
ev.cancelBubble = true;
moveobject = obj;
el.setCapture();
ty = ev.screenY - $jq(moveobject).offset().top;
tx = ev.screenX - $jq(moveobject).offset().left;
}
function Move(ev) {
if (moveobject) {
moveobject.style.left = ev.screenX - tx >= 0 ? ev.screenX - tx : 0;
moveobject.style.top = ev.screenY - ty >= 0 ? ev.screenY - ty : 0;
}
}
function endMove(el) {
if (moveobject) {
el.releaseCapture();
moveobject = null;
}
}
function initiateResize(el, ev, obj) {
resizeobject = obj;
el.setCapture();
ty = ev.screenY - resizeobject.offsetHeight;
tx = ev.screenX - resizeobject.offsetWidth;
}
function Resize(ev) {
if (resizeobject) {
resizeobject.style.width = ev.screenX - tx >= 50 ? ev.screenX - tx : 50;
resizeobject.style.height = ev.screenY - ty >= 50 ? ev.screenY - ty : 50;
}
}
function endResize(el) {
if (resizeobject) {
el.releaseCapture();
resizeobject = null;
}
}
function restoreContainer(obj) {
if ((currWidth != 0) && (currHeight != 0)) {
obj.style.left = currLeft;
obj.style.top = currTop;
obj.style.width = currWidth;
obj.style.height = currHeight;
}
}
function maximizeContainer(obj) {
if ((currWidth == 0) && (currHeight == 0)) {
currTop = obj.style.top;
currLeft = obj.style.left;
currWidth = obj.style.width;
currHeight = obj.style.height;
}
obj.style.left = "0px";
obj.style.top = "0px";
obj.style.width = document.body.clientWidth;
obj.style.height = document.body.clientHeight - 20;
}
function closeContainer(obj) {
closeobj = obj;
currTop = 0;
currLeft = 0;
currWidth = 0;
currHeight = 0;
closeobj.style.display = "none";
tID = window.setTimeout("clearContent()", 100);
}
function clearContent() {
var i;
window.clearTimeout(tID);
if (isIE) {
for (i = 0; i < closeobj.children.length; i++) {
if (closeobj.children(i).tagName == "DIV") {
closeobj.children(i).innerHTML = "";
}
}
}
}
var strinvalidqty = "Invalid quantity.";
var strinvalidprice = "Invalid price.";
var strinvalidweight = "Invalid weight.";
var strinvalidcube = "Invalid cube.";
var qtynum = /^\d{1,6}$/;
var pricenum = /^((\d{1,7}(\.\d{1,2})?)|((\d{0,7}\.)?\d{1,2}))$/;
var zeronum = /^0(\d{1,5})?$/;
var pricezeronum = /^0((\d{1,5})|((\d{0,5}\.)?\d{1,3}))?$/;
var weightnum = /^((\d{1,7}(\.\d{1,4})?)|((\d{0,7}\.)?\d{1,4}))$/;
var cubenum = /^((\d{1,13}(\.\d{1,4})?)|((\d{0,13}\.)?\d{1,4}))$/;
var cubezeronum = /^0((\d{1,5})|((\d{0,5}\.)?\d{1,3}))?$/;
var allwhite = /^\s*$/;
function IsQTY(s, allowblanks) {
var mydefault = true;
if (s == "") {
return (arguments[1] == null ? mydefault : allowblanks)
};
s = getNumberFromFormat(s, JSDecimalSeperator);
return (qtynum.test(s) && !zeronum.test(s));
}
function IsPrice(s, allowblanks) {
var mydefault = true;
if (s == "") {
return (arguments[1] == null ? mydefault : allowblanks)
};
s = getNumberFromFormat(s, JSDecimalSeperator);
//return (pricenum.test(s) && !pricezeronum.test(s));
return (pricenum.test(s));
}
function IsWeight(s, allowblanks) {
var mydefault = true;
if (s == "") {
return (arguments[1] == null ? mydefault : allowblanks)
};
s = getNumberFromFormat(s, JSDecimalSeperator);
return (weightnum.test(s));
}
function IsCube(s, allowblanks) {
var mydefault = true;
if (s == "") {
return (arguments[1] == null ? mydefault : allowblanks)
}
s = getNumberFromFormat(s, JSDecimalSeperator);
return (cubenum.test(s) && !cubezeronum.test(s));
}
function IsNumeric(field) {
while ('' + field.charAt(0) == ' ') {
field = field.substring(1, field.length);
}
while ('' + field.charAt(field.length - 1) == ' ') {
field = field.substring(0, field.length - 1);
}
var ok = 1;
field = getNumberFromFormat(field, JSDecimalSeperator);
if (isNaN(field)) {
ok = 0;
}
return ok;
}
function isInt(field) {
var ok = 1;
for (j = 0; j < field.length; j++) {
if ((field.substring(j, j + 1) < "0") || (field.substring(j, j + 1) > "9")) {
ok = 0;
return ok;
}
}
return ok;
}
function tooprecise(str) {
var nogood = /^([0-9,]*\.\d{3}\d+)$/;
return nogood.test(str);
}
// Function NumberFormat
function NumberFormat(num) {
this.num = ((num == null) ? 0 : num);
this.places = pmprecision;
this.toFormatted = toFormattedNF;
this.getRounded = getRoundedNF;
this.preserveZeros = preserveZerosNF;
}
function toFormattedNF() {
var n = this.num;
n = this.getRounded(n);
n = this.preserveZeros(n);
return (n);
}
function getRoundedNF(val) {
var factor;
var i;
factor = 1;
for (i = 0; i < this.places; i++) {
factor *= 10;
}
val *= factor;
val = Math.round(val);
val /= factor;
return (val);
}
function preserveZerosNF(val) {
var i;
val = val + '';
if (this.places == 0) return val;
var decimalPos = val.indexOf('.');
if (decimalPos == -1) {
val += '.';
for (i = 0; i < this.places; i++) {
val += '0';
}
} else {
var actualDecimals = (val.length - 1) - decimalPos;
var difference = this.places - actualDecimals;
for (i = 0; i < difference; i++) {
val += '0';
}
}
return val;
}
var LeftCorner = {
_MakeString: function(s) {
return new String(s);
},
_CommaForThousands: function(n) {
var r = n.slice(0, n.indexOf('.'));
for (var i = 0; i < Math.floor((r.length - (1 + i)) / 3); i++) {
r = n.substring(0, n.length - (4 * i + 3)) + ',' + n.substring(n.length - (4 * i + 3));
}
return r;
},
Abs: function(n) {
return Math.abs(n);
},
ArrayAppend: function(a, v) {
a[a.length] = v;
return a;
},
ArraySort: function(a, st, so) {
var _so;
if (st.toUpperCase() == 'TEXTNOCASE') {
if (!so || so.toUpperCase() != "DESC") {
_so = function(a, b) {
a = a.toUpperCase();
b = b.toUpperCase();
if (a < b) {
return -1;
} else if (a > b) {
return 1;
} else {
return 0;
}
};
} else {
_so = function(a, b) {
a = a.toUpperCase();
b = b.toUpperCase();
if (a > b) {
return -1;
} else if (a < b) {
return 1;
} else {
return 0;
}
};
}
} else if (st.toUpperCase() == 'TEXT') {
if (!so || so.toUpperCase() != "DESC") {
_so = function(a, b) {
if (a < b) {
return -1;
} else if (a > b) {
return 1;
} else {
return 0;
}
};
} else {
_so = function(a, b) {
if (a > b) {
return -1;
} else if (a < b) {
return 1;
} else {
return 0;
}
};
}
} else if (st.toUpperCase() == 'NUMERIC') {
if (!so || so.toUpperCase() != "DESC") {
_so = function(a, b) {
return a - b;
};
} else {
_so = function(a, b) {
return b - a;
};
}
}
return a.sort(_so);
},
ArrayToList: function(a, d) {
if (!d) {
d = ",";
}
var re = /[,]/gi;
return a.toString().replace(re, d);
},
ArrayLen: function(a) {
return a.length;
},
Ceiling: function(n) {
return Math.ceil(n);
},
Compare: function(s1, s2) {
if (s1 == s2) {
return 0;
}
if (s1 > s2) {
return 1;
} else {
return -1;
}
},
CompareNoCase: function(s1, s2) {
return this.Compare(s1.toUpperCase(), s2.toUpperCase());
},
DateDiff: function(dp, d1, d2) {
var dt1 = new Date(d1);
var dt2 = new Date(d2);
var iDiffMS = dt2.valueOf() - dt1.valueOf();
var dtDiff = new Date(iDiffMS);
var nYears = dt2.getUTCFullYear() - dt1.getUTCFullYear();
var nMonths = dt2.getUTCMonth() - dt1.getUTCMonth() + (nYears !== 0 ? nYears * 12 : 0);
var nQuarters = nMonths / 3;
var nMilliseconds = iDiffMS;
var nSeconds = iDiffMS / 1000;
var nMinutes = nSeconds / 60;
var nHours = nMinutes / 60;
var nDays = nHours / 24;
var nWeeks = nDays / 7;
var iDiff = 0;
switch (dp.toLowerCase()) {
case "yyyy":
return nYears;
case "q":
return nQuarters;
case "m":
return nMonths;
case "y":
return nDays;
case "d":
return nDays;
case "w":
return nDays;
case "ww":
return nWeeks;
case "h":
return nHours;
case "n":
return nMinutes;
case "s":
return nSeconds;
case "ms":
return nMilliseconds;
default:
return "invalid interval: '" + dp + "'";
}
},
DecimalFormat: function(n) {
var r = n.toFixed(2);
var bp = this._CommaForThousands(r.slice(0, r.indexOf('.') + 1));
var ap = this.Right(r, 2);
r = bp + '.' + ap;
return r;
},
DollarFormat: function(n) {
var _n = n.toString().replace(/\$|\,/g, '');
_n = _n.toString().replace('(', '-');
_n = _n.toString().replace(')', '');
if (isNaN(_n)) {
_n = 0;
}
var sign = (_n == (_n = Math.abs(n)));
_n = Math.floor(_n * 100 + 0.50000000001);
var cents = _n % 100;
_n = Math.floor(_n / 100).toString();
if (cents < 10) {
cents = "0" + cents;
}
_n = this._CommaForThousands(_n);
return (((sign) ? '' : '(') + '$' + _n + '.' + cents + ((sign) ? '' : ')'));
},
Find: function(sb, s) {
return this._MakeString(s).indexOf(sb) + 1;
},
FindNoCase: function(sb, s) {
return this.Find(sb.toUpperCase(), s.toUpperCase());
},
Insert: function(sb, s, p) {
return s.slice(0, p) + sb + s.slice(p, s.length);
},
IsDate: function(d) {
var datePat = /^(\d{1,2})(\/|-)(\d{1,2})(\/|-)(\d{4})$/;
var matchArray = d.toString().match(datePat);
if (matchArray === null) {
return false;
}
var month = matchArray[1];
var day = matchArray[3];
var year = matchArray[5];
if (month < 1 || month > 12) {
return false;
}
if (day < 1 || day > 31) {
return false;
}
if ((month == 4 || month == 6 || month == 9 || month == 11) && day == 31) {
return false;
}
if (month == 2) {
var isleap = (year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0));
if (day > 29 || (day == 29 && !isleap)) {
return false;
}
}
return true;
},
IsNumeric: function(s) {
if (isNaN(s)) {
return false;
} else {
return true;
}
},
LCase: function(s) {
return this._MakeString(s).toLowerCase();
},
Left: function(s, c) {
return this._MakeString(s).slice(0, c);
},
Len: function(s) {
return this._MakeString(s).length;
},
ListAppend: function(l, v, d) {
if (!d) {
d = ",";
}
var r = "";
if (this.ListLen(l)) {
r = l + d + v;
} else {
r = v;
}
return r;
},
ListDeleteAt: function(l, p, d) {
if (!d) {
d = ",";
}
var i, posInList;
var posInArray = p - 1;
var thisD = "";
var r = "";
for (i = 0; i < l.split(d).length; i++) {
if (i != posInArray) {
posInList = i + 1;
if (r.length) {
thisD = d;
}
r += thisD + this.ListGetAt(l, posInList, d);
}
}
return r;
},
ListFind: function(l, v, d) {
if (!d) {
d = ",";
}
var r = 0;
var listToArray = l.split(d);
for (var i = 0; i < listToArray.length; i++) {
if (listToArray[i] == v) {
r = i + 1;
break;
}
}
return r;
},
ListFindNoCase: function(l, v, d) {
if (!d) {
d = ",";
}
return this.ListFind(l.toUpperCase(), v.toUpperCase(), d);
},
ListGetAt: function(l, p, d) {
if (!d) {
d = ",";
}
return l.split(d)[p - 1];
},
ListLen: function(l, d) {
if (!d) {
d = ",";
}
return l.split(d).length;
},
ListToArray: function(l, d) {
var r, a, i;
if (!d) {
d = ",";
}
r = [];
a = l.split(d);
for (i = 1; i <= a.length; i++) {
r[i] = a[i - 1];
}
return r;
},
LTrim: function(s) {
return this._MakeString(s).replace(/^\s*/, '');
},
Mid: function(s, start, c) {
start -= 1;
return this._MakeString(s).slice(start, start + c);
},
Replace: function(s, sb1, sb2, sc) {
if (!sc || sc.toUpperCase() != "ALL") {
sc = "";
} else {
sc = "g";
}
var re = new RegExp(sb1, sc);
return this._MakeString(s).replace(re, sb2);
},
ReplaceNoCase: function(s, sb1, sb2, sc) {
if (!sc || sc.toUpperCase() != "ALL") {
sc = "i";
} else {
sc = "gi";
}
var re = new RegExp(sb1, sc);
return this._MakeString(s).replace(re, sb2);
},
Reverse: function(str) {
var s = this._MakeString(str);
var i = s.length;
var r = "";
for (i; 0 <= i; i--) {
r += s.charAt(i);
}
return r;
},
Right: function(str, c) {
var s = this._MakeString(str);
return s.slice(s.length - c, s.length);
},
Round: function(n, p) {
if (!isNaN(n.toFixed(p))) {
return n.toFixed(p);
} else {
return n;
}
},
RTrim: function(s) {
return this._MakeString(s).replace(/\s*$/, '');
},
Trim: function(s) {
return this._MakeString(s).replace(/^\s*|\s*$/g, '');
},
UCase: function(s) {
return this._MakeString(s).toUpperCase();
},
URLDecode: function(s) {
return unescape(s);
},
URLEncodedFormat: function(s) {
return encodeURI(s);
}
};
function Left(str, n) {
return LeftCorner.Left(str, n);
}
function Right(str, n) {
return LeftCorner.Right(str, n);
}
function RTrim(str) {
return LeftCorner.RTrim(str);
}
function LTrim(str) {
return LeftCorner.LTrim(str);
}
function Trim(str) {
return LeftCorner.Trim(str);
}
</script>
<div id="ContainerDiv" class="" center="0" halign="" valign="" modal="0" originalheight="400" minheight="" originalwidth="600" minwidth="" maximized="0" scrollable="0" resizeable="0"
style="height: 400; zoom: 100%; display: none; width: 600; z-index: 100; " popupmode="MOVEABLE" onclose="">
<div style="height: 100%; width: auto; border: 1px solid #4985C2;">
</div>
</div>
<div id="ModalContainerDiv" class="" center="0" halign="" valign="" modal="0" originalheight="400" minheight="" originalwidth="600" minwidth="" maximized="0" scrollable="0" resizeable="0"
style="height: 400; zoom: 100%; display: none; width: 600; z-index: 100; " popupmode="MOVEABLE" onclose="">
<div style="height: 100%; width: auto; border: 1px solid #4985C2;">
</div>
</div>
<script>
// Override 'user-defined' Ext setFieldLabel method, if it exists, for language support
if (Ext.form.Field.prototype.setFieldLabel !== undefined) {
var ExtFormField_setFieldLabel = Ext.form.Field.prototype.setFieldLabel;
Ext.override(Ext.form.Field, {
setFieldLabel: function(text) {
if (typeof text == 'string') {
text = text.translate();
}
return ExtFormField_setFieldLabel.apply(this, arguments);
}
});
}
$jq(window).on('load resize', function() {
resizeDiv();
resizeHeader();
});
$jq(window).on('beforeunload', function(e) {
checkUnload(e);
});
$jq(document).on('mousedown', function() {});
$jq(document).on('mouseup', function() {
stopColumnResize();
});
$jq(document).on('mousemove', function() {
setNewPosition();
});
$jq(function() {
checkAllDisable();
});
$jq(function() {
finalizePage();
});
</script>
</download>
</xml:namespace>
</form>
Text Content
ITRADENETWORK, INC. Member Logon User Name: Password: Forgot Password? Remember Me? English SSO Logon This website uses cookies. By proceeding to navigate on this page, you agree to the use of the cookies according to the terms of our Privacy Policy