// BANNER ADS if (typeof boomads_widget_client != 'undefined' && typeof boomads_widget_id != 'undefined' && typeof boomads_widget_width != 'undefined' && typeof boomads_widget_height != 'undefined') { var boomads_widget_trackingparameter_ = null; var boomadsIsHomePage = function () { var path = window.location.pathname.toString().toLowerCase(); path = path.replace("/", ""); if (path == ""){ return true; } else if (path.substr(0,8).indexOf("default.") > -1){ return true; } else if (path.substr(0,6).indexOf("index.") > -1){ return true; } else if (path.substr(0, 5).indexOf("home.") > -1) { return true; } return false; } if (typeof boomads_widget_trackingparameter != 'undefined') { boomads_widget_trackingparameter_ = boomads_widget_trackingparameter; } // CREATING DIV ELEMENT FOR INTERSTITIAL ADV var boomsAdsScriptElemDiv = document.createElement('div'); boomsAdsScriptElemDiv.innerHTML = "
"; var boomsAdsDocumentBody = document.getElementsByTagName('body')[0]; if (boomsAdsDocumentBody) boomsAdsDocumentBody.appendChild(boomsAdsScriptElemDiv); // CREATING SCRIPT ELEMENT FOR INTERSTITIAL ADV var boomAdsParams = new Object(); var boomsAdsScriptWidget = document.createElement('script'); boomAdsParams.AdClient = boomads_widget_client; boomAdsParams.AdCampaignType = "0"; boomsAdsScriptWidget.type = 'text/javascript'; boomsAdsScriptWidget.src = '//widget.boomads.com/WidgetJS/CustomAds?AdClient=' + boomAdsParams.AdClient + '&AdCampaignType=' + boomAdsParams.AdCampaignType + '&R=' + Math.random() + ''; var boomsAdsDocumentHeadWidget = document.getElementsByTagName('head')[0]; //if (boomsAdsDocumentHeadWidget) // boomsAdsDocumentHeadWidget.appendChild(boomsAdsScriptWidget); } // WIDGETS var oldWidgetId = 0; if (window.boomads_widget_id == 21) oldWidgetId = 56; if (window.boomads_widget_id == 22) oldWidgetId = 57; if (window.boomads_widget_id == 23) oldWidgetId = 58; if (window.boomads_widget_id == 24) oldWidgetId = 59; if (window.boomads_widget_id == 25) oldWidgetId = 60; if (window.boomads_widget_id == 26) oldWidgetId = 61; if (oldWidgetId == 0) { document.write(""); } else { document.write(""); } if (window.boomads_widget_width == 0 && window.boomads_widget_height == 0) { try { if (document.getElementsByClassName("BoomadsButtonLink")[0] != null && (window.boomads_widget_client && window.boomads_widget_id && window.boomads_widget_width == 0)) { var element = document.getElementsByClassName("BoomadsButtonLink"); element[0].href = window.boomads_widget_trackingparameter; } } catch (e) { } try { if (document.getElementsByClassName("BoomadsButtonLink" + window.boomads_widget_id)[0] != null && (window.boomads_widget_client && window.boomads_widget_id && window.boomads_widget_width == 0)) { var element = document.getElementsByClassName("BoomadsButtonLink" + window.boomads_widget_id); element[0].href = window.boomads_widget_trackingparameter; } } catch (e) { } } else { try { if (document.getElementsByClassName("BoomadsButtonLink")[0] != null && (window.boomads_widget_client && window.boomads_widget_id && window.boomads_widget_width == 0)) { var element = document.getElementsByClassName("BoomadsButtonLink"); element[0].href = "//widget.boomads.com/redirect?goto=" + window.boomads_widget_trackingparameter + "&clientid=" + window.boomads_widget_client + "&widgetid=" + window.boomads_widget_id; } } catch (e) { } try { if (document.getElementsByClassName("BoomadsButtonLink" + window.boomads_widget_id)[0] != null && (window.boomads_widget_client && window.boomads_widget_id && window.boomads_widget_width == 0)) { var element = document.getElementsByClassName("BoomadsButtonLink" + window.boomads_widget_id); element[0].href = "//widget.boomads.com/redirect?goto=" + window.boomads_widget_trackingparameter + "&clientid=" + window.boomads_widget_client + "&widgetid=" + window.boomads_widget_id; } } catch (e) { } }