заявка на АУДИТ
ВАШЕГО РЫНКА СБЫТА
Минимальный
штат (2-4 человека)
бесплатный звонок по всей России
информация только для нас и не будет передана третьим лицам
ПРОСТАЯ, 100% РАБОТАЮЩАЯ БИЗНЕС-МОДЕЛЬ
ПО ЗАПУСКУ ПРИБЫЛЬНОГО БИЗНЕСА С НУЛЯ
ТОЛЬКО ДО 10 ИЮНЯ
АУДИТ ВАШЕГО РЫНКА СБЫТА БЕСПЛАТНО
БИЗНЕС-МОДЕЛЬ ПО ИЗГОТОВЛЕНИЮ И ПРОДАЖЕ СВЕТОДИОДНОЙ РЕКЛАМЫ
ЗАРАБАТЫВАЙТЕ ОТ 100 000 РУБЛЕЙ УЖЕ ЧЕРЕЗ 1.5 МЕСЯЦА!
до 100% прибыли
с каждой сделки
светодиодная реклама
в действии
Окупаемость за
3 - 6 месяцев
ОТКРОЙТЕ ПРИБЫЛЬНЫЙ ИННОВАЦИОННЫЙ
БИЗНЕС ЗА 1,5 МЕСЯЦА!
Старт всего за
500 000 рублей
бесплатный звонок по всей России
Copyright @ 2014, ООО "Визио Групп"
");
jq_144('.block form.our_form').each(function() {
var $this = jq_144(this);
if ($this.find('.step').length > 1) {
var id = $this.closest('.block').attr('id').substr(6);
var button = jq_144('a[href="#fire_form_'+id+'"]');
if (!button.length) {
if (jq_144('a[href="#fire_form"]').length == 1 && jq_144('.block-form').length == 1) {
button = jq_144('a[href="#fire_form"]');
}
}
button.text($this.find('.step:eq(1)').attr('data-button'));
}
});
jq_144('.block form.our_form input').keypress(function(event) {
if ( event.which == 13 ) {
jq_144(this).closest('form').submit();
event.preventDefault();
}
});
jq_144('.block form.sprypay_pay_form').submit(function() {
jq_144('#loading_bar').show();
jq_144.get('/sprypay/lead/393835/', function() {
jq_144('.block form.sprypay_pay_form').unbind('submit').submit();
});
return false;
});
function makeFormSubmit() {
jq_144('#loading_bar').show();
var send_form = jq_144(this);
var form_id = send_form.parents('.block,.lp_popup').attr('id').substr(6);
send_form.find('input[name="form_id"]').remove();
send_form.append('
')
var errors = validateForm(send_form);
if (errors.length) {
processErrors(errors, form_id);
jq_144('#loading_bar').fadeOut();
return false;
}
if (send_form.find('.step').length > CURRENT_STEP) {
send_form.find('.step').hide();
send_form.find('.step:eq('+CURRENT_STEP+')').show();
CURRENT_STEP += 1;
var button = jq_144('a[href="#fire_form_'+form_id+'"]');
if (!button.length) {
if (jq_144('a[href="#fire_form"]').length == 1 && jq_144('.block-form').length == 1) {
button = jq_144('a[href="#fire_form"]');
}
}
var step = send_form.find('.step:eq('+CURRENT_STEP+')');
if (step.length) {
button.text(step.attr('data-button'));
} else {
button.text(button.attr('data-label'));
}
jq_144('#loading_bar').fadeOut();
return false;
}
jq_144('#lp_form_target').remove();
jq_144('#preview').append('
');
window.processSuccess = function(errors) {
if (errors.redirect) {
window.location.href = errors.redirect;
return;
} else if (errors.length > 0) {
processErrors(errors, form_id);
return;
}
if (top.fClose) {
top.fClose();
return;
}
next = send_form.next('.message').find('a.redirect').attr('href');
if (next && (next.indexOf('http://') == 0 || next.indexOf('/pages/') == 0)) {
window.location.href = send_form.next().find('a').attr('href');
} else {
var msg = send_form.next('.message');
msg.find('a.redirect').remove();
if (jq_144('#form_submit_message').length == 0) {
jq_144('
').append('
').appendTo(jq_144('body'));
jq_144('#form_submit_message .internal').html(send_form.next('.message').html());
jq_144('#form_submit_message').overlay({
oneInstance: true,
onBeforeLoad: function() {
var $msg = jq_144('#form_submit_message');
var $screen = jq_144(window);
$msg.css('left', Math.max(($screen.width() - $msg.width()) / 2, 0));
},
onClose: function() {
jq_144('#loading_bar').fadeOut();
},
left: 'center',
load: true,
closeOnEsc: false,
closeOnClick: false
});
} else {
var a = jq_144('#form_submit_message').find('a');
jq_144('#form_submit_message .internal').html(send_form.next('.message').html());
jq_144('#form_submit_message').overlay().load();
}
jq_144('#loading_bar').fadeOut();
}
send_form[0].reset();
send_form.show();
send_form.find('.step').hide();
send_form.find('.step:first').show();
if (send_form.find('.step').length > 1) {
var id = send_form.closest('.block').attr('id').substr(6);
jq_144('a[href="#fire_form_'+id+'"]').text(send_form.find('.step:eq(1)').attr('data-button'));
}
}
setTimeout(function() {
send_form.attr('target', 'lp_form_target');
send_form.unbind('submit');
send_form.submit();
send_form.bind('submit', makeFormSubmit);
if (window.SUBMIT_HANDLER) {
window.SUBMIT_HANDLER(form_id);
}
}, 100);
return false;
}
jq_144('form.our_form').submit(makeFormSubmit);
jq_144('.block form').next().hide();
var doc_height = 0;
jq_144('#preview .block, .preview-main-container .outer-section').each(function() {
var btm = jq_144(this).height() + jq_144(this).position().top;
if (btm > doc_height) { doc_height = btm; }
});
if (jq_144(document).height() > doc_height) { doc_height = jq_144(document).height() ; }
if (doc_height > jq_144('.body-editor').height()) {
jq_144('#preview').height(doc_height);
jq_144('.preview-main-container').height(doc_height);
jq_144('.body-editor').height(doc_height);
}
jq_144('a[href^=#fire_form]').click(function() {
var block_id = jq_144(this).attr('href').substr(11);
if (block_id) {
var form = jq_144('#block-'+block_id+' form');
if (!form.length) { form = jq_144('#popup_'+block_id+' form') }
form.find('input[name="form_id"]').remove();
form.append('
')
form.submit();
} else {
jq_144('.block-form form').submit();
}
return false;
});
jq_144('a.zingaya, .zingaya_button').click(function() {
jq_144.get(this.rel);
});
jq_144('a').not('.zingaya, .zingaya_button').not('[href^=#]').not('[rel]').live('click', function() {
var a = this;
if (!jq_144(this).is('a')) {
return;
}
setTimeout(function() {
if (a.target == '_blank') {
window.open(a.href, '_blank');
} else {
window.location.href = a.href;
}
}, 100);
return false;
});
jq_144('iframe').each(function() {
jq_144(this).attr("wmode", "transparent");
});
jq_144('embed').each(function() {
jq_144(this).attr("wmode", "transparent");
});
jq_144('object').each(function() {
jq_144(this).append('
')
});
jq_144('.preview-main-container').css('height', jq_144('.preview-main-container').height() + 'px');
jq_144('.hidden').appendTo('body').css('z-index', 10500).overlay({
left: 100,
speed: 'slow',
mask: {
color: '#ebecff',
loadSpeed: 200,
zIndex: 9900,
opacity: 0.9
},
onBeforeLoad: function() {
var $msg = this.getOverlay();
var $screen = jq_144(window);
$msg.css('left', Math.max(($screen.width() - $msg.width()) / 2, 0));
setTimeout(function() {
$msg.css('left', Math.max(($screen.width() - $msg.width()) / 2, 0));
$msg.find('.window').css('z-index', 11000);
}, 0);
}
});
jq_144('.block-popup a').click(function() {
var id = jq_144(this).closest('.block-popup').attr('id').substr(6);
jq_144('#popup_' + id).overlay().load();
return false;
});
jq_144('a.ajax_out').each(function() {
var a = jq_144(this);
a.attr('data-href', a.attr('href')).attr('href', '#').mousedown(function(e) {
if (e.button != 0) { return; }
jq_144.ajax({
url: a.attr('rel'),
type: 'GET',
success: function() {
window.location.href = a.attr('data-href');
},
error: function(data) {
window.location.href = a.attr('data-href');
}
});
return false;
});
});
jq_144('input[type=file]').change(function(ev){
jq_144(this).closest('.cont').find('input.input').val(this.value);
});
jq_144('input').each(function() {
var $this = jq_144(this);
var message = $this.attr('placeholder') || '';
if (message) {
$this.watermark(message, {useNative: true});
}
});
jq_144(function() {
var params = jq_144.parseParams( top.location.href.split('?')[1] || '' );
for (var k in params) {
jq_144('.cont[data-mapping="'+k+'"] :input').val(params[k]);
}
});
});