2013-12-26 08:40:38 -07:00
|
|
|
|
(function ($, window, document) {
|
|
|
|
|
|
|
|
|
|
function populateRatings(allParentalRatings, page) {
|
|
|
|
|
|
|
|
|
|
var html = "";
|
|
|
|
|
|
|
|
|
|
html += "<option value=''></option>";
|
|
|
|
|
|
|
|
|
|
var ratings = [];
|
|
|
|
|
var i, length, rating;
|
|
|
|
|
|
|
|
|
|
for (i = 0, length = allParentalRatings.length; i < length; i++) {
|
|
|
|
|
|
|
|
|
|
rating = allParentalRatings[i];
|
|
|
|
|
|
|
|
|
|
if (ratings.length) {
|
|
|
|
|
|
|
|
|
|
var lastRating = ratings[ratings.length - 1];
|
|
|
|
|
|
|
|
|
|
if (lastRating.Value === rating.Value) {
|
|
|
|
|
|
|
|
|
|
lastRating.Name += "/" + rating.Name;
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ratings.push({ Name: rating.Name, Value: rating.Value });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (i = 0, length = ratings.length; i < length; i++) {
|
|
|
|
|
|
|
|
|
|
rating = ratings[i];
|
|
|
|
|
|
|
|
|
|
html += "<option value='" + rating.Value + "'>" + rating.Name + "</option>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$('#selectMaxParentalRating', page).html(html).selectmenu("refresh");
|
|
|
|
|
}
|
|
|
|
|
|
2014-02-21 08:24:29 -07:00
|
|
|
|
function loadUnratedItems(page, user) {
|
|
|
|
|
|
|
|
|
|
var items = [
|
2014-07-09 20:48:08 -07:00
|
|
|
|
{ name: Globalize.translate('OptionBlockBooks'), value: 'Book' },
|
|
|
|
|
{ name: Globalize.translate('OptionBlockGames'), value: 'Game' },
|
|
|
|
|
{ name: Globalize.translate('OptionBlockChannelContent'), value: 'ChannelContent' },
|
|
|
|
|
{ name: Globalize.translate('OptionBlockLiveTvChannels'), value: 'LiveTvChannel' },
|
|
|
|
|
{ name: Globalize.translate('OptionBlockLiveTvPrograms'), value: 'LiveTvProgram' },
|
|
|
|
|
{ name: Globalize.translate('OptionBlockMovies'), value: 'Movie' },
|
|
|
|
|
{ name: Globalize.translate('OptionBlockMusic'), value: 'Music' },
|
|
|
|
|
{ name: Globalize.translate('OptionBlockTrailers'), value: 'Trailer' },
|
|
|
|
|
{ name: Globalize.translate('OptionBlockTvShows'), value: 'Series' },
|
|
|
|
|
{ name: Globalize.translate('OptionBlockOthers'), value: 'Other' }
|
2014-02-21 08:24:29 -07:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
var html = '';
|
|
|
|
|
|
|
|
|
|
html += '<fieldset data-role="controlgroup">';
|
|
|
|
|
|
2014-07-09 20:48:08 -07:00
|
|
|
|
html += '<legend>' + Globalize.translate('HeaderBlockItemsWithNoRating') + '</legend>';
|
2014-02-21 08:24:29 -07:00
|
|
|
|
|
|
|
|
|
for (var i = 0, length = items.length; i < length; i++) {
|
|
|
|
|
|
|
|
|
|
var item = items[i];
|
|
|
|
|
|
|
|
|
|
var id = 'unratedItem' + i;
|
|
|
|
|
|
2014-12-19 23:06:27 -07:00
|
|
|
|
var checkedAttribute = user.Policy.BlockUnratedItems.indexOf(item.value) != -1 ? ' checked="checked"' : '';
|
2014-02-21 08:24:29 -07:00
|
|
|
|
|
2014-08-18 19:49:16 -07:00
|
|
|
|
html += '<input class="chkUnratedItem" data-itemtype="' + item.value + '" type="checkbox" id="' + id + '"' + checkedAttribute + ' />';
|
2014-02-21 08:24:29 -07:00
|
|
|
|
html += '<label for="' + id + '">' + item.name + '</label>';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html += '</fieldset>';
|
|
|
|
|
|
|
|
|
|
$('.blockUnratedItems', page).html(html).trigger('create');
|
|
|
|
|
}
|
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
function loadUser(page, user, allParentalRatings) {
|
2013-12-26 08:40:38 -07:00
|
|
|
|
|
|
|
|
|
Dashboard.setPageTitle(user.Name);
|
|
|
|
|
|
2014-02-21 08:24:29 -07:00
|
|
|
|
loadUnratedItems(page, user);
|
2015-02-08 23:17:11 -07:00
|
|
|
|
loadTags(page, user.Policy.TagFilters);
|
2014-02-20 22:04:11 -07:00
|
|
|
|
|
2013-12-26 08:40:38 -07:00
|
|
|
|
populateRatings(allParentalRatings, page);
|
|
|
|
|
|
|
|
|
|
var ratingValue = "";
|
|
|
|
|
|
2014-12-19 23:06:27 -07:00
|
|
|
|
if (user.Policy.MaxParentalRating) {
|
2013-12-26 08:40:38 -07:00
|
|
|
|
|
|
|
|
|
for (var i = 0, length = allParentalRatings.length; i < length; i++) {
|
|
|
|
|
|
|
|
|
|
var rating = allParentalRatings[i];
|
|
|
|
|
|
2014-12-19 23:06:27 -07:00
|
|
|
|
if (user.Policy.MaxParentalRating >= rating.Value) {
|
2013-12-26 08:40:38 -07:00
|
|
|
|
ratingValue = rating.Value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$('#selectMaxParentalRating', page).val(ratingValue).selectmenu("refresh");
|
|
|
|
|
|
2014-12-19 23:06:27 -07:00
|
|
|
|
if (user.Policy.IsAdministrator) {
|
2014-10-14 17:05:09 -07:00
|
|
|
|
$('.accessScheduleSection', page).hide();
|
|
|
|
|
} else {
|
|
|
|
|
$('.accessScheduleSection', page).show();
|
|
|
|
|
}
|
|
|
|
|
|
2014-12-19 23:06:27 -07:00
|
|
|
|
renderAccessSchedule(page, user.Policy.AccessSchedules || []);
|
2014-10-14 17:05:09 -07:00
|
|
|
|
|
2013-12-26 08:40:38 -07:00
|
|
|
|
Dashboard.hideLoadingMsg();
|
|
|
|
|
}
|
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
function loadTags(page, tags) {
|
|
|
|
|
|
|
|
|
|
var html = '<ul data-role="listview" data-inset="true" data-split-icon="delete">' + tags.map(function (h) {
|
|
|
|
|
|
|
|
|
|
var li = '<li>';
|
|
|
|
|
|
|
|
|
|
li += '<a href="#">';
|
|
|
|
|
|
2015-02-08 23:17:11 -07:00
|
|
|
|
li += '<h3>' + h.Tag + '</h3>';
|
|
|
|
|
|
|
|
|
|
if (h.Mode == 'Allow') {
|
2015-02-08 23:22:28 -07:00
|
|
|
|
li += '<p style="color:green;">' + Globalize.translate('MessageAllowContentWithThisTag') + '</p>';
|
2015-02-08 23:17:11 -07:00
|
|
|
|
} else if (h.Mode == 'Block') {
|
2015-02-08 23:22:28 -07:00
|
|
|
|
li += '<p style="color:red;">' + Globalize.translate('MessageBlockContentWithThisTag') + '</p>';
|
2015-02-08 23:17:11 -07:00
|
|
|
|
}
|
2014-11-28 19:40:46 -07:00
|
|
|
|
|
|
|
|
|
li += '</a>';
|
|
|
|
|
|
2015-02-08 23:17:11 -07:00
|
|
|
|
li += '<a class="tagFilter btnDeleteTag" href="#" data-tag="' + h.Tag + '" data-mode="' + h.Mode + '"></a>';
|
2014-11-28 19:40:46 -07:00
|
|
|
|
|
|
|
|
|
li += '</li>';
|
|
|
|
|
|
|
|
|
|
return li;
|
|
|
|
|
|
|
|
|
|
}).join('') + '</ul>';
|
|
|
|
|
|
2015-02-08 23:17:11 -07:00
|
|
|
|
var elem = $('.tagFilters', page).html(html).trigger('create');
|
2014-11-28 19:40:46 -07:00
|
|
|
|
|
|
|
|
|
$('.btnDeleteTag', elem).on('click', function () {
|
|
|
|
|
|
|
|
|
|
var tag = this.getAttribute('data-tag');
|
2015-02-08 23:17:11 -07:00
|
|
|
|
var mode = this.getAttribute('data-mode');
|
2014-11-28 19:40:46 -07:00
|
|
|
|
|
|
|
|
|
var newTags = tags.filter(function (t) {
|
2015-02-08 23:17:11 -07:00
|
|
|
|
return t.Tag != tag || t.Mode != mode;
|
2014-11-28 19:40:46 -07:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
loadTags(page, newTags);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-14 17:05:09 -07:00
|
|
|
|
function deleteAccessSchedule(page, schedules, index) {
|
|
|
|
|
|
|
|
|
|
schedules.splice(index, 1);
|
|
|
|
|
|
|
|
|
|
renderAccessSchedule(page, schedules);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function renderAccessSchedule(page, schedules) {
|
|
|
|
|
|
|
|
|
|
var html = '<ul data-role="listview" data-inset="true" data-split-icon="minus">';
|
|
|
|
|
var index = 0;
|
|
|
|
|
|
|
|
|
|
html += schedules.map(function (a) {
|
|
|
|
|
|
|
|
|
|
var itemHtml = '';
|
|
|
|
|
|
|
|
|
|
itemHtml += '<li class="liSchedule" data-day="' + a.DayOfWeek + '" data-start="' + a.StartHour + '" data-end="' + a.EndHour + '">';
|
|
|
|
|
|
|
|
|
|
itemHtml += '<a href="#">';
|
|
|
|
|
itemHtml += '<h3>' + a.DayOfWeek + '</h3>';
|
|
|
|
|
itemHtml += '<p>' + getDisplayTime(a.StartHour) + ' - ' + getDisplayTime(a.EndHour) + '</p>';
|
|
|
|
|
itemHtml += '</a>';
|
|
|
|
|
|
|
|
|
|
itemHtml += '<a href="#" data-icon="delete" class="btnDelete" data-index="' + index + '">';
|
|
|
|
|
itemHtml += '</a>';
|
|
|
|
|
|
|
|
|
|
itemHtml += '</li>';
|
|
|
|
|
|
|
|
|
|
index++;
|
|
|
|
|
|
|
|
|
|
return itemHtml;
|
|
|
|
|
|
|
|
|
|
}).join('');
|
|
|
|
|
|
|
|
|
|
html += '</ul>';
|
|
|
|
|
|
|
|
|
|
var elem = $('.accessScheduleList', page).html(html).trigger('create');
|
|
|
|
|
|
|
|
|
|
$('.btnDelete', elem).on('click', function () {
|
|
|
|
|
|
|
|
|
|
deleteAccessSchedule(page, schedules, parseInt(this.getAttribute('data-index')));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-26 08:40:38 -07:00
|
|
|
|
function onSaveComplete(page) {
|
|
|
|
|
|
|
|
|
|
Dashboard.hideLoadingMsg();
|
|
|
|
|
|
2014-05-30 12:23:56 -07:00
|
|
|
|
Dashboard.alert(Globalize.translate('SettingsSaved'));
|
2013-12-26 08:40:38 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function saveUser(user, page) {
|
|
|
|
|
|
2014-12-19 23:06:27 -07:00
|
|
|
|
user.Policy.MaxParentalRating = $('#selectMaxParentalRating', page).val() || null;
|
2013-12-26 08:40:38 -07:00
|
|
|
|
|
2014-12-19 23:06:27 -07:00
|
|
|
|
user.Policy.BlockUnratedItems = $('.chkUnratedItem:checked', page).map(function () {
|
2014-02-21 08:24:29 -07:00
|
|
|
|
|
|
|
|
|
return this.getAttribute('data-itemtype');
|
|
|
|
|
|
|
|
|
|
}).get();
|
|
|
|
|
|
2014-12-19 23:06:27 -07:00
|
|
|
|
user.Policy.AccessSchedules = getSchedulesFromPage(page);
|
2014-10-14 17:05:09 -07:00
|
|
|
|
|
2015-02-08 23:17:11 -07:00
|
|
|
|
user.Policy.TagFilters = getTagsFromPage(page);
|
2014-11-28 19:40:46 -07:00
|
|
|
|
|
2014-12-19 23:06:27 -07:00
|
|
|
|
ApiClient.updateUserPolicy(user.Id, user.Policy).done(function () {
|
2013-12-26 08:40:38 -07:00
|
|
|
|
onSaveComplete(page);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
window.UserParentalControlPage = {
|
|
|
|
|
|
|
|
|
|
onSubmit: function () {
|
|
|
|
|
|
|
|
|
|
var page = $(this).parents('.page');
|
|
|
|
|
|
|
|
|
|
Dashboard.showLoadingMsg();
|
|
|
|
|
|
|
|
|
|
var userId = getParameterByName("userId");
|
|
|
|
|
|
|
|
|
|
ApiClient.getUser(userId).done(function (result) {
|
|
|
|
|
saveUser(result, page);
|
|
|
|
|
});
|
|
|
|
|
|
2014-10-14 17:05:09 -07:00
|
|
|
|
// Disable default form submission
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
onScheduleFormSubmit: function () {
|
|
|
|
|
|
|
|
|
|
var page = $(this).parents('.page');
|
|
|
|
|
|
|
|
|
|
saveSchedule(page);
|
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
// Disable default form submission
|
|
|
|
|
return false;
|
|
|
|
|
},
|
|
|
|
|
|
2015-02-08 23:17:11 -07:00
|
|
|
|
onTagFormSubmit: function () {
|
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
var page = $(this).parents('.page');
|
|
|
|
|
|
|
|
|
|
saveTag(page);
|
|
|
|
|
|
2013-12-26 08:40:38 -07:00
|
|
|
|
// Disable default form submission
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2014-11-04 05:41:12 -07:00
|
|
|
|
function getDisplayTime(hours) {
|
|
|
|
|
|
|
|
|
|
var minutes = 0;
|
|
|
|
|
|
|
|
|
|
var pct = hours % 1;
|
|
|
|
|
|
|
|
|
|
if (pct) {
|
|
|
|
|
minutes = parseInt(pct * 60);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return new Date(2000, 1, 1, hours, minutes, 0, 0).toLocaleTimeString();
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-14 17:05:09 -07:00
|
|
|
|
function populateHours(page) {
|
|
|
|
|
|
|
|
|
|
var html = '';
|
|
|
|
|
|
|
|
|
|
for (var i = 0; i < 24; i++) {
|
|
|
|
|
|
|
|
|
|
html += '<option value="' + i + '">' + getDisplayTime(i) + '</option>';
|
|
|
|
|
}
|
|
|
|
|
|
2014-11-04 05:41:12 -07:00
|
|
|
|
html += '<option value="24">' + getDisplayTime(0) + '</option>';
|
|
|
|
|
|
2014-10-14 17:05:09 -07:00
|
|
|
|
$('#selectStart', page).html(html).selectmenu('refresh');
|
|
|
|
|
$('#selectEnd', page).html(html).selectmenu('refresh');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function showSchedulePopup(page, schedule, index) {
|
|
|
|
|
|
|
|
|
|
schedule = schedule || {};
|
|
|
|
|
|
|
|
|
|
$('#popupSchedule', page).popup('open');
|
|
|
|
|
|
|
|
|
|
$('#fldScheduleIndex', page).val(index);
|
|
|
|
|
|
|
|
|
|
$('#selectDay', page).val(schedule.DayOfWeek || 'Sunday').selectmenu('refresh');
|
|
|
|
|
$('#selectStart', page).val(schedule.StartHour || 0).selectmenu('refresh');
|
|
|
|
|
$('#selectEnd', page).val(schedule.EndHour || 0).selectmenu('refresh');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function saveSchedule(page) {
|
|
|
|
|
|
|
|
|
|
var schedule = {
|
|
|
|
|
DayOfWeek: $('#selectDay', page).val(),
|
|
|
|
|
StartHour: $('#selectStart', page).val(),
|
|
|
|
|
EndHour: $('#selectEnd', page).val()
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if (parseFloat(schedule.StartHour) >= parseFloat(schedule.EndHour)) {
|
|
|
|
|
|
|
|
|
|
alert(Globalize.translate('ErrorMessageStartHourGreaterThanEnd'));
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var schedules = getSchedulesFromPage(page);
|
|
|
|
|
|
|
|
|
|
var index = parseInt($('#fldScheduleIndex', page).val());
|
|
|
|
|
|
|
|
|
|
if (index == -1) {
|
|
|
|
|
index = schedules.length;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
schedules[index] = schedule;
|
|
|
|
|
|
|
|
|
|
renderAccessSchedule(page, schedules);
|
|
|
|
|
|
|
|
|
|
$('#popupSchedule', page).popup('close');
|
|
|
|
|
}
|
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
function saveTag(page) {
|
|
|
|
|
|
|
|
|
|
var tag = $('#txtTag', page).val();
|
2015-02-08 23:17:11 -07:00
|
|
|
|
var mode = $('#selectTagMode', page).val();
|
2014-11-28 19:40:46 -07:00
|
|
|
|
var tags = getTagsFromPage(page);
|
|
|
|
|
|
2015-02-08 23:17:11 -07:00
|
|
|
|
tags.push({
|
|
|
|
|
Tag: tag,
|
|
|
|
|
Mode: mode
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
loadTags(page, tags);
|
2014-11-28 19:40:46 -07:00
|
|
|
|
|
|
|
|
|
$('#popupTag', page).popup('close');
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-14 17:05:09 -07:00
|
|
|
|
function getSchedulesFromPage(page) {
|
|
|
|
|
|
|
|
|
|
return $('.liSchedule', page).map(function () {
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
DayOfWeek: this.getAttribute('data-day'),
|
|
|
|
|
StartHour: this.getAttribute('data-start'),
|
|
|
|
|
EndHour: this.getAttribute('data-end')
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}).get();
|
|
|
|
|
}
|
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
function getTagsFromPage(page) {
|
|
|
|
|
|
2015-02-08 23:17:11 -07:00
|
|
|
|
return $('.tagFilter', page).map(function () {
|
2014-11-28 19:40:46 -07:00
|
|
|
|
|
2015-02-08 23:17:11 -07:00
|
|
|
|
return {
|
|
|
|
|
Tag: this.getAttribute('data-tag'),
|
|
|
|
|
Mode: this.getAttribute('data-mode')
|
|
|
|
|
};
|
2014-11-28 19:40:46 -07:00
|
|
|
|
|
|
|
|
|
}).get();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function showTagPopup(page) {
|
|
|
|
|
|
|
|
|
|
$('#popupTag', page).popup('open');
|
|
|
|
|
$('#txtTag', page).val('').focus();
|
2015-02-08 23:17:11 -07:00
|
|
|
|
$('#selectTagMode', page).val('Block').selectmenu('refresh').trigger('change');
|
2014-11-28 19:40:46 -07:00
|
|
|
|
}
|
|
|
|
|
|
2014-10-14 17:05:09 -07:00
|
|
|
|
$(document).on('pageinit', "#userParentalControlPage", function () {
|
|
|
|
|
|
|
|
|
|
var page = this;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('.btnAddSchedule', page).on('click', function () {
|
|
|
|
|
|
2014-11-04 05:41:12 -07:00
|
|
|
|
showSchedulePopup(page, {}, -1);
|
2014-10-14 17:05:09 -07:00
|
|
|
|
});
|
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
|
|
|
|
|
$('.btnAddTag', page).on('click', function () {
|
|
|
|
|
|
|
|
|
|
showTagPopup(page);
|
|
|
|
|
});
|
|
|
|
|
|
2015-02-08 23:17:11 -07:00
|
|
|
|
$('#selectTagMode', page).on('change', function () {
|
|
|
|
|
|
|
|
|
|
if (this.value == 'Allow') {
|
|
|
|
|
$('.allowModeHelp', page).show();
|
|
|
|
|
} else {
|
|
|
|
|
$('.allowModeHelp', page).hide();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
2014-10-14 17:05:09 -07:00
|
|
|
|
populateHours(page);
|
|
|
|
|
|
|
|
|
|
}).on('pageshow', "#userParentalControlPage", function () {
|
2013-12-26 08:40:38 -07:00
|
|
|
|
|
|
|
|
|
var page = this;
|
|
|
|
|
|
|
|
|
|
Dashboard.showLoadingMsg();
|
|
|
|
|
|
|
|
|
|
var userId = getParameterByName("userId");
|
|
|
|
|
|
|
|
|
|
var promise1;
|
|
|
|
|
|
|
|
|
|
if (!userId) {
|
|
|
|
|
|
|
|
|
|
var deferred = $.Deferred();
|
|
|
|
|
|
|
|
|
|
deferred.resolveWith(null, [{
|
|
|
|
|
Configuration: {}
|
|
|
|
|
}]);
|
|
|
|
|
|
|
|
|
|
promise1 = deferred.promise();
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
promise1 = ApiClient.getUser(userId);
|
|
|
|
|
}
|
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
var promise2 = ApiClient.getParentalRatings();
|
2013-12-26 08:40:38 -07:00
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
$.when(promise1, promise2).done(function (response1, response2) {
|
2013-12-26 08:40:38 -07:00
|
|
|
|
|
2014-11-28 19:40:46 -07:00
|
|
|
|
loadUser(page, response1[0] || response1, response2[0]);
|
2013-12-26 08:40:38 -07:00
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
})(jQuery, window, document);
|