console.log('JWT blank. Not taking any login action.');
//************************************************
//********** GLOBAL PD/ONE VARIABLES *************
//************************************************
var pdCategoryId = "939";
//************************************************
//************ JS/CSS FILE ROUTINES *************
//************************************************
function pdLoadJsCssFile(filename, filetype){
if (filetype=="js") {
var fileref=document.createElement('script');
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("async",true);
fileref.setAttribute("src", filename);
}
else if (filetype=="css") {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", filename);
}
if (typeof fileref!="undefined")
document.getElementsByTagName("head")[0].appendChild(fileref);
}
//************************************************
//****** PD/ONE FEATURE SPECIFIC CSS/JS *********
//************************************************
pdLoadJsCssFile("https://cdn.practicaldatacore.com/my-justforjeeps-com/mod_bigcommerce/pdCompiledScript.js?cb=1938725", "js");
pdLoadJsCssFile("https://cdn.practicaldatacore.com/my-justforjeeps-com/mod_pdOneStyleEditor/pdPublicStyle.css?cb=484681", "css");
//*** CATEGORY ID:939****
//*** PRODUCT ID:****
//*** PRODUCT ID LIST CSV:****
//**** INCLUDE CATEGORY PAGE JAVASCRIPT ****
var pdStarsRefreshFlag = true;
function pdDisplayCategoryStars() {
if(pdStarsRefreshFlag == true) {
document.querySelectorAll("div[productId='6235'], div[data-itemid='6235'], .pdRatingStarsWrapper[data-itemid='6235']").forEach(function(element) {
element.innerHTML = "
";
});
document.querySelectorAll("div[productId='6246'], div[data-itemid='6246'], .pdRatingStarsWrapper[data-itemid='6246']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6247'], div[data-itemid='6247'], .pdRatingStarsWrapper[data-itemid='6247']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6248'], div[data-itemid='6248'], .pdRatingStarsWrapper[data-itemid='6248']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6263'], div[data-itemid='6263'], .pdRatingStarsWrapper[data-itemid='6263']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6275'], div[data-itemid='6275'], .pdRatingStarsWrapper[data-itemid='6275']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6281'], div[data-itemid='6281'], .pdRatingStarsWrapper[data-itemid='6281']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6356'], div[data-itemid='6356'], .pdRatingStarsWrapper[data-itemid='6356']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6539'], div[data-itemid='6539'], .pdRatingStarsWrapper[data-itemid='6539']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6541'], div[data-itemid='6541'], .pdRatingStarsWrapper[data-itemid='6541']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6631'], div[data-itemid='6631'], .pdRatingStarsWrapper[data-itemid='6631']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6654'], div[data-itemid='6654'], .pdRatingStarsWrapper[data-itemid='6654']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6700'], div[data-itemid='6700'], .pdRatingStarsWrapper[data-itemid='6700']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='6702'], div[data-itemid='6702'], .pdRatingStarsWrapper[data-itemid='6702']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7065'], div[data-itemid='7065'], .pdRatingStarsWrapper[data-itemid='7065']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7283'], div[data-itemid='7283'], .pdRatingStarsWrapper[data-itemid='7283']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7456'], div[data-itemid='7456'], .pdRatingStarsWrapper[data-itemid='7456']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7557'], div[data-itemid='7557'], .pdRatingStarsWrapper[data-itemid='7557']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7558'], div[data-itemid='7558'], .pdRatingStarsWrapper[data-itemid='7558']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7562'], div[data-itemid='7562'], .pdRatingStarsWrapper[data-itemid='7562']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7572'], div[data-itemid='7572'], .pdRatingStarsWrapper[data-itemid='7572']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7575'], div[data-itemid='7575'], .pdRatingStarsWrapper[data-itemid='7575']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7832'], div[data-itemid='7832'], .pdRatingStarsWrapper[data-itemid='7832']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7833'], div[data-itemid='7833'], .pdRatingStarsWrapper[data-itemid='7833']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='7837'], div[data-itemid='7837'], .pdRatingStarsWrapper[data-itemid='7837']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8022'], div[data-itemid='8022'], .pdRatingStarsWrapper[data-itemid='8022']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8023'], div[data-itemid='8023'], .pdRatingStarsWrapper[data-itemid='8023']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8024'], div[data-itemid='8024'], .pdRatingStarsWrapper[data-itemid='8024']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8034'], div[data-itemid='8034'], .pdRatingStarsWrapper[data-itemid='8034']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8035'], div[data-itemid='8035'], .pdRatingStarsWrapper[data-itemid='8035']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8130'], div[data-itemid='8130'], .pdRatingStarsWrapper[data-itemid='8130']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8220'], div[data-itemid='8220'], .pdRatingStarsWrapper[data-itemid='8220']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8221'], div[data-itemid='8221'], .pdRatingStarsWrapper[data-itemid='8221']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8288'], div[data-itemid='8288'], .pdRatingStarsWrapper[data-itemid='8288']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8299'], div[data-itemid='8299'], .pdRatingStarsWrapper[data-itemid='8299']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8300'], div[data-itemid='8300'], .pdRatingStarsWrapper[data-itemid='8300']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8304'], div[data-itemid='8304'], .pdRatingStarsWrapper[data-itemid='8304']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8313'], div[data-itemid='8313'], .pdRatingStarsWrapper[data-itemid='8313']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8314'], div[data-itemid='8314'], .pdRatingStarsWrapper[data-itemid='8314']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8332'], div[data-itemid='8332'], .pdRatingStarsWrapper[data-itemid='8332']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8459'], div[data-itemid='8459'], .pdRatingStarsWrapper[data-itemid='8459']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8477'], div[data-itemid='8477'], .pdRatingStarsWrapper[data-itemid='8477']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8592'], div[data-itemid='8592'], .pdRatingStarsWrapper[data-itemid='8592']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8617'], div[data-itemid='8617'], .pdRatingStarsWrapper[data-itemid='8617']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8771'], div[data-itemid='8771'], .pdRatingStarsWrapper[data-itemid='8771']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8773'], div[data-itemid='8773'], .pdRatingStarsWrapper[data-itemid='8773']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8797'], div[data-itemid='8797'], .pdRatingStarsWrapper[data-itemid='8797']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8800'], div[data-itemid='8800'], .pdRatingStarsWrapper[data-itemid='8800']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8803'], div[data-itemid='8803'], .pdRatingStarsWrapper[data-itemid='8803']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8848'], div[data-itemid='8848'], .pdRatingStarsWrapper[data-itemid='8848']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8880'], div[data-itemid='8880'], .pdRatingStarsWrapper[data-itemid='8880']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8881'], div[data-itemid='8881'], .pdRatingStarsWrapper[data-itemid='8881']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='8882'], div[data-itemid='8882'], .pdRatingStarsWrapper[data-itemid='8882']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9087'], div[data-itemid='9087'], .pdRatingStarsWrapper[data-itemid='9087']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9099'], div[data-itemid='9099'], .pdRatingStarsWrapper[data-itemid='9099']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9101'], div[data-itemid='9101'], .pdRatingStarsWrapper[data-itemid='9101']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9102'], div[data-itemid='9102'], .pdRatingStarsWrapper[data-itemid='9102']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9115'], div[data-itemid='9115'], .pdRatingStarsWrapper[data-itemid='9115']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9117'], div[data-itemid='9117'], .pdRatingStarsWrapper[data-itemid='9117']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9135'], div[data-itemid='9135'], .pdRatingStarsWrapper[data-itemid='9135']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9136'], div[data-itemid='9136'], .pdRatingStarsWrapper[data-itemid='9136']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9170'], div[data-itemid='9170'], .pdRatingStarsWrapper[data-itemid='9170']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9172'], div[data-itemid='9172'], .pdRatingStarsWrapper[data-itemid='9172']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9174'], div[data-itemid='9174'], .pdRatingStarsWrapper[data-itemid='9174']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9175'], div[data-itemid='9175'], .pdRatingStarsWrapper[data-itemid='9175']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9203'], div[data-itemid='9203'], .pdRatingStarsWrapper[data-itemid='9203']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9204'], div[data-itemid='9204'], .pdRatingStarsWrapper[data-itemid='9204']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9205'], div[data-itemid='9205'], .pdRatingStarsWrapper[data-itemid='9205']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9206'], div[data-itemid='9206'], .pdRatingStarsWrapper[data-itemid='9206']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9214'], div[data-itemid='9214'], .pdRatingStarsWrapper[data-itemid='9214']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9236'], div[data-itemid='9236'], .pdRatingStarsWrapper[data-itemid='9236']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9483'], div[data-itemid='9483'], .pdRatingStarsWrapper[data-itemid='9483']").forEach(function(element) {
element.innerHTML = "";
});
document.querySelectorAll("div[productId='9494'], div[data-itemid='9494'], .pdRatingStarsWrapper[data-itemid='9494']").forEach(function(element) {
element.innerHTML = "";
});
pdStarsRefreshFlag = false;
}
}
pdDisplayCategoryStars();
function pdRefreshCategoryStarsDelayed() {
pdStarsRefreshFlag = true;
setTimeout(pdDisplayCategoryStars, 500);
}
try {
document.getElementById('product-listing-container').addEventListener('DOMSubtreeModified', function() {
pdRefreshCategoryStarsDelayed();
});
} catch(e){};
//*** BEGIN public_mod_myRewards_getRenderedPromotionMessagingJsInsertionCode ***
document.querySelectorAll("div.pdRewardsPromoMessage[productId=\"\"], div.pdRewardsPromoMessage[data-itemid=\"\"]").forEach(function(div) { div.innerHTML = "";});
//*** END public_mod_myRewards_getRenderedPromotionMessagingJsInsertionCode ***
//*** BEGIN public_mod_myRewards_getRenderedPromotionPopupJsInsertionCode ***
document.body.insertAdjacentHTML("beforeend", "");
//*** END public_mod_myRewards_getRenderedPromotionPopupJsInsertionCode ***
//*** public_mod_structuredData_renderJsonByItemId found
//*** public_mod_structuredData enabled
var script = document.createElement('script');
script.setAttribute('type', 'application/ld+json');
script.innerHTML = "{\"@context\":\"http:\\/\\/schema.org\",\"@type\":\"Organization\",\"sameAs\":[\"https://www.facebook.com/JustForJeeps\",\"https://twitter.com/JustForJeeps\",\"https://www.instagram.com/justforjeeps/\",\"https://www.pinterest.com/justforjeeps/\"],\"name\":\"JustForJeeps.com\",\"url\":\"https:\\/\\/www.justforjeeps.com\\/\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"56 Boston Providence Tpke\",\"addressLocality\":\"Norwood\",\"addressRegion\":\"MA\",\"addressCountry\":\"US\",\"postalCode\":\"02062\"},\"founders\":[{\"@type\":\"Person\",\"name\":\"Peter Catanese\"}],\"logo\":\"https:\\/\\/my.justforjeeps.com\\/pd_custom\\/core\\/structuredData\\/images\\/imageCompanyLogo.jpg\",\"foundingDate\":\"2004\",\"contactPoint\":{\"@type\":\"ContactPoint\",\"email\":\"support@justforjeeps.com\",\"telephone\":\"+1-888-651-5337\",\"contactType\":\"Customer Support\"}}"
document.getElementsByTagName('head')[0].appendChild(script); ;
var script = document.createElement('script');
script.setAttribute('type', 'application/ld+json');
script.innerHTML = "{\"@context\":\"http:\\/\\/schema.org\",\"@type\":\"LocalBusiness\",\"address\":{\"@type\":\"PostalAddress\"},\"priceRange\":\"0.6700-3465.9900\"}"
document.getElementsByTagName('head')[0].appendChild(script); ;
function pdInjectAccountLinkModifications() {
//***** INJECT REWARDS LINK ****
jQuery(".navBar-section li:nth-child(2)").after('Rewards');
//***** INJECT OLDER ORDER HISTORY LINK ****
jQuery(".navBar-section li:nth-child(1)").after('Older Orders');
}
pdInjectAccountLinkModifications();var pdPublicUrl = 'https://my.justforjeeps.com/';
jQuery(document).ready(function(){
const urlParams = new URLSearchParams(location.search);
var prevLinkElem = jQuery('.navBar-section .is-active').data("pdLinkElem");
var prevLinkTarget = jQuery('.navBar-section .is-active').data("pdLinkElemTarget");
if (prevLinkElem && prevLinkTarget) {
jQuery(prevLinkTarget).html(prevLinkElem);
jQuery('.navBar-section .is-active').data("pdLinkElem", false);
jQuery('.navBar-section .is-active').data("pdLinkElemTarget", false);
}
if (urlParams.has('pd_module_content')){
var module = urlParams.get('pd_module_content');
var subNav = urlParams.get('pd_module_subNav');
var moduleTitle = jQuery('#pdContent_'+module+' a').html();
var currentUrl = window.location.href;
var currentUrlNoQuery = currentUrl.substring(0, currentUrl.indexOf('?'));
console.log(currentUrlNoQuery);
var currentTab = jQuery('.navBar-section .is-active').html();
if (jQuery('.navBar-section .is-active').hasClass('pdLinkEvent') == false){
if(jQuery('.navBar-section .is-active .navBar-action').length){
}
else {
jQuery('.navBar-section .is-active').html(''+currentTab+'');
}
}
jQuery('.navBar-section .is-active').data("pdLinkElemTarget", '#pdContent_'+module);
jQuery('.navBar-section .is-active').data("pdLinkElem", jQuery('#pdContent_'+module).html());
jQuery('#pdContent_'+module).html(jQuery('#pdContent_'+module+' a').text());
jQuery('.navBar-section .is-active').removeClass('is-active');
jQuery('#pdContent_'+module).addClass('is-active');
jQuery('.page-heading').html(moduleTitle);
if (subNav !== '' && subNav !== null){
url = pdPublicUrl+'/'+module+'/'+subNav+'.php?module='+module;
}
else {
url = pdPublicUrl+'/'+module+'/index.php?module='+module;
}
pdOneAjaxLinkHandler(url);
}
});
jQuery(document).on('submit', '.pdModal form', function(e){
e.preventDefault();
e.stopImmediatePropagation()
pdOneAjaxFormHandler(this);
});
jQuery(document).on('submit', '#pdModuleContent form', function(e){
e.preventDefault();
e.stopImmediatePropagation()
pdOneAjaxFormHandler(this);
});
jQuery(document).on('click', '.pdLinkEvent', function(e){
var currentUrl = window.location.href;
var currentTab = jQuery('.navBar-section .is-active .navBar-action').html();
console.log(jQuery(this).html());
if (jQuery('.navBar-section .is-active').hasClass('pdLinkEvent') == false){
jQuery('.navBar-section .is-active').html(''+currentTab+'');
}
jQuery('.navBar-section .is-active').removeClass('is-active');
jQuery(this).parent().addClass('is-active');
var url = jQuery(this).attr('href');
e.preventDefault();
e.stopImmediatePropagation()
pdOneAjaxLinkHandler(url);
});
jQuery(document).on('click', '#pdModuleContent a', function(e) {
var url = jQuery(this).attr('href');
jQuery(this).attr("href", "#");
e.preventDefault();
pdOneAjaxLinkHandler(url);
});
function pdOneAjaxLinkHandler(url){
console.log("pdOneAjaxLinkHandler:" + url);
var currModule = jQuery('#pdModuleContent').attr('data-currmodule');
var externalLink = false;
//assume http or https is external link
var testUrl = url;
var testUrlNoQuery = url.substring(0, testUrl.indexOf('?'));
if (testUrlNoQuery !== ''){
if ((url.includes('https://') || url.includes('http://')) && !testUrlNoQuery.includes('mod_')){
externalLink = true;
}
}
if (!externalLink && currModule !== '' && currModule !== undefined) {
testUrl = testUrl.replace('https://', '');
testUrl = testUrl.replace('http://', '');
replaceStart = testUrl.indexOf('/');
if (replaceStart == -1){
replaceStart = 0;
}
testurl = testUrl.substring(replaceStart);
//If no 'mod_' present assume reference path to current module and create absolute path
if (!url.includes('mod_')){
url = pdPublicUrl+'/'+currModule+'/'+testurl+'?module='+currModule;
}
//Else assume link to other module and create absolute path
else {
url = pdPublicUrl+'/'+testurl+'?module='+currModule;
}
}
//Perform ajax if not linking to external site
if (!externalLink){
if (url.includes('?')){
url += '&mode=inject';
}
else {
url += '?mode=inject';
}
jQuery.ajax({
'async': true,
'global': false,
'xhrFields': {
withCredentials: true
},
'type': "POST",
'crossDomain': true,
'url': url,
'success': function(result) {
console.log('success');
jQuery('.account-content').html(result);
},
error: function(errMsg) {
console.log('error');
console.log(errMsg['statusText']);
}
});
}
else {
// window.location.href = url;
}
}
function pdOneAjaxFormHandler(form, module){
currModule = jQuery('#pdModuleData').attr('data-currmodule');
if (currModule == undefined){
currModule = jQuery('#pdModuleContent').attr('data-currmodule');
}
formData = jQuery(form).serializeArray();
console.log(formData);
var method = jQuery(form).attr('method');
var url = jQuery(form).attr('action');
replaceStart = url.indexOf('/');
if (replaceStart == -1){
replaceStart = 0;
}
url = url.substring(replaceStart);
url = pdPublicUrl+'/'+currModule+'/'+url+'?module='+currModule;
if (url.includes('?')){
url += '&mode=inject';
}
else {
url += '?mode=inject';
}
if (url.includes('?')){
url += '&module='+currModule;
}
else {
url += '?module='+currModule;
}
jQuery.ajax({
'async': false,
'global': false,
'xhrFields': {
withCredentials: true
},
'type': method,
'crossDomain': true,
'url': url,
data: formData,
'success': function(result) {
console.log('success');
console.log(result);
jQuery(form).closest('#pdModuleContent').replaceWith(result);
},
error: function(errMsg) {
console.log('error');
console.log(errMsg);
}
});
}var script = document.createElement('style');
script.setAttribute('type', 'text/css');
script.innerHTML = ``;
document.getElementsByTagName('head')[0].appendChild(script);
if(jQuery('#pd_pdOneBanner').length) {
//*** BANNER ALREADY EXISTS, DO NOT RE-INSERT
} else {
jQuery("body").prepend('');
}
jQuery("#pd_pdOneBanner").html("");
//*** COMPLETEION CALLBACK
try{pdContentRenderCompleted()}catch(e){};
//*** done.