jQuery.noConflict(); // =================================================================== /* The Greene CDL showtimes: * This loads Digital and Directors Hall showtimes for the Greene via AJAX. * Formerly, those were only available on separate pages because of how * The Greene submits its showtimes to the Tribune Feed. We use AJAX to * append them to our main page for this movie theater to improve usability. * If the AJAX requests fails, we include a link to the dedicated pages * for Digital and Directors Hall shows. */ function testForMovieFixConditions(path) { if(!window.jQuery || !document.getElementById('ohlegal')) { setTimeout("theGreene('"+path+"')", 500); return false; } else { return true; } } function theGreene(path) { if(!testForMovieFixConditions(path)) return; if(!jQuery("#mvCurrentShowtimes")) { // couldn't find mvContent div return false; } var mvDateIndex = path.indexOf('date='); if(mvDateIndex > 0) { var mvDate = path.substring((mvDateIndex+5),(mvDateIndex+15)); } else if(jQuery('#date option:first-child').val()) { var mvDate = jQuery('#date option:first-child').val(); } else { var now = new Date(); var tmnth = (((now.getMonth() + 1).toString().length < 2) ? '0' : '') + (now.getMonth() + 1); var tdate = ((now.getDate().toString().length < 2) ? '0' : '') + now.getDate(); var tyear = now.getFullYear(); var mvDate = tmnth+'/'+tdate+'/'+tyear; } jQuery("#mvCurrentShowtimes").append("
Loading showtimes for digital features...<\/p><\/div>"); jQuery("#mvCurrentShowtimes").append("
Loading showtimes for Directors Halls...<\/p><\/div>"); jQuery("#mvCurrentShowtimes").append("