ContactsManager = {
'add_dialog_contact': function(fname, lname, company, email, phone, industryId, how, options) {
var o = {};o.url = '/contactsmanager/add_dialog_contact/'+encodeURIComponent(fname)+'/'+encodeURIComponent(lname)+'/'+encodeURIComponent(company)+'/'+encodeURIComponent(email)+'/'+encodeURIComponent(phone)+'/'+encodeURIComponent(industryId)+'/'+encodeURIComponent(how)+'/?ajax&route';
o.type = 'POST';
o.async = false;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
},
'add_blog_contact': function(fname, lname, company, email, options) {
var o = {};o.url = '/contactsmanager/add_blog_contact/'+encodeURIComponent(fname)+'/'+encodeURIComponent(lname)+'/'+encodeURIComponent(company)+'/'+encodeURIComponent(email)+'/?ajax&route';
o.type = 'GET';
o.async = false;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
},
'add_download_contact': function(email, name, organisation, newsletter, options) {
var o = {};o.url = '/contactsmanager/add_download_contact/'+encodeURIComponent(email)+'/'+encodeURIComponent(name)+'/'+encodeURIComponent(organisation)+'/'+encodeURIComponent(newsletter)+'/?ajax&route';
o.type = 'GET';
o.async = false;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
},
'add_whitepaper_contact': function(fname, lname, title, company, email, phone, industryId, options) {
var o = {};o.url = '/contactsmanager/add_whitepaper_contact/'+encodeURIComponent(fname)+'/'+encodeURIComponent(lname)+'/'+encodeURIComponent(title)+'/'+encodeURIComponent(company)+'/'+encodeURIComponent(email)+'/'+encodeURIComponent(phone)+'/'+encodeURIComponent(industryId)+'/?ajax&route';
o.type = 'GET';
o.async = false;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
},
'newsletter_subscribe': function(email, name, organisation, options) {
var o = {};o.url = '/contactsmanager/newsletter_subscribe/'+encodeURIComponent(email)+'/'+encodeURIComponent(name)+'/'+encodeURIComponent(organisation)+'/?ajax&route';
o.type = 'GET';
o.async = false;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
},
'form_submit': function(email, name, organisation, phone, source, options) {
var o = {};o.url = '/contactsmanager/form_submit/'+encodeURIComponent(email)+'/'+encodeURIComponent(name)+'/'+encodeURIComponent(organisation)+'/'+encodeURIComponent(phone)+'/'+encodeURIComponent(source)+'/?ajax&route';
o.type = 'POST';
o.async = false;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
},
'contact_exists': function(email, context, options) {
var o = {};o.url = '/contactsmanager/contact_exists/'+encodeURIComponent(email)+'/'+encodeURIComponent(context)+'/?ajax&route';
o.type = 'GET';
o.async = false;
if (options !== undefined && options.exception !== undefined) {o.exception = options.exception;}
if (options !== undefined && options.success !== undefined) {o.success = options.success;}
if (options !== undefined && options.post !== undefined) {o.data = options.post;}
return ajax(o);
}
}
