/* Current time is: 10:02:33am | 1 */
if( typeof jQuery != 'undefined' ) {
(function($) {
$(document).ready(function(){
__jQueryChat( $ );
});
})( jQuery );
}
if( typeof MooTools != 'undefined' ) {
(function($) {
window.addEvent('domready', function() {
__mootoolsChat( $ );
});
})( document.id );
}
function __jQueryChat( $ ) {
// Homepage
if( $('#support-callout').length ) {
$('#support-callout').html('
ESET Customer Care is U.S.-based and ready to help. Chat with a support agent or
visit our support page. ');
}
// Renew
if( $('#renew-contact').length ) {
$('#renew-contact').html('If your email address has changed, or you do not receive the email, click here to live chat with ESET Customer Care.');
}
// Contact
if( $('#contact-livechat').length ) {
$('#contact-livechat').show();
}
}
function __mootoolsChat( $ ) {
// KB Homepage
if( $('additional-resources-list') ) {
new Element('li', {
html: 'Live Online Chat'
}).inject($('additional-resources-list').getElement('ul'));
}
// KB Business
if( $('business-grid-additional-live-chat') ) {
$('business-grid-additional-live-chat').setStyle('display', 'block');
}
}