').appendTo('body')
.attr('data-redirecting', 1)
.css('width', '225px')
.css('height', '170px')
.css('text-align', 'center')
.css('padding', '0.5em')
.position({my : "center center", at : "center center", of : window})
.addClass('ui-dialog ui-widget ui-widget-content ui-corner-all ui-front ui-di buttons')
.html('
Loading...

Please wait while your subscriptions are loaded from the database...
');
window.location = ui.newTab.attr('data-escape');
}
}
});
/*
* Custom tooltip items
*/
$('[data-tooltip]').each(function ()
{
var item = $(this);
var help = item.attr('data-tooltip');
item.tooltip({'content' : help, 'items' : item});
});
$('a[href="#"][data-tab]').click(function (e)
{
e.preventDefault();
var link = $(this);
var tab_id = link.attr('data-tab');
var tab_link = $('.tabs ul li a[href="#' + tab_id + '"]');
var tab_index = tab_link.attr('data-tab-index');
$('.tabs.heat_index').tabs({active:tab_index});
});
// Phone field
$('[data-phone-field]').mask("(999) 999-9999");
$('#heat_index_form input[type="submit"]')
.css({'font-size' : '10pt'})
.button();
function presetLocation(value)
{
$('#heat_index_form input[name="query"]')
.val(value)
.focus();
$('#heat_index_form input[type="submit"]')
.focus();
}
$('#heat_index_form input[name="query"]')
.keyup(function(e)
{
if (e.keyCode == 13)
{
$('#heat_index_form input[type="submit"]').focus().click();
}
})
.focus();
function checkPresetLinks()
{
$('a[href="#"][data-query]').click(function(e)
{
e.preventDefault();
var link = $(this);
var value = link.attr('data-query');
presetLocation(value);
if (link.attr('execute') != "")
{
processForm();
}
});
}
@if (Input::has('query') and !Helpers::strIsEmpty(Input::get('query', null)))
presetLocation("{{ urldecode(Input::get('query', null)) }}");
@endif
@if (Session::has('errors'))
showErrors("
Fatal error: Class 'Session' not found in
/home/osaa/web_app/dev/app/views/heat_index/heat_index.blade.php on line
381