$(document).ready(function() {
   $('.chat-manual,#chat-model').click(function () {
        openHelp();
    });

    fireModelChat = function () {
        $('#chat-model').fadeIn('slow');
    };
    setTimeout('fireModelChat();', 2000);
   
   $('#btn_LiveChatClose').click(function(){
   		$("#mm-LiveChatBox").hide();
   });
		
	var $dialog = $('<div></div>')
	.html('<h1 align="center" style="color:#F00; font-weight:bold;">1-877-Morgan-Law</h1><p>Experienced Case Intake Specialists Are Available 24-Hours a Day to Take Your Call.</p><p align="center"><strong>Call Now for a Free Consultation</strong></p>')
	.dialog({
			modal: true,
		autoOpen: false,
		title: 'Morgan and Morgan'
	});
	$('#phoneWindow').click(function() {
		$dialog.dialog('open');
		return false;
	});
}); 



