/* CLICK LISTENER */
window.addEvent = function(elem,type,callback) {
var evt = function(e) {
e = e || window.event;
return callback.call(elem,e);
}, cb = function(e) {return evt(e);};
if( elem.addEventListener) {
elem.addEventListener(type,cb,false);
}
else if( elem.attachEvent) {
elem.attachEvent("on"+type,cb);
}
return elem;
};
window.findParent = function(child,filter,root) {
do {
if( filter(child)) return child;
if( root && child == root) return false;
} while(child = child.parentNode);
return false;
};
window.hasClass = function(elem,cls) {
if( !('className' in elem)) return;
return !!elem.className.match(new RegExp("\\b"+cls+"\\b"));
};
window.addEvent(document.body,"click",function(e) {
var s = window.findParent(e.srcElement || e.target,function(elm) {
return window.hasClass(elm,"ccbcompactfeedrow");
},this);
if(s) {
var ccbcontent = s.getElementsByClassName('ccbproductcontentcontainer')[0];
var ccbinfo = s.getElementsByClassName('more_info')[0];
if (ccbcontent.style.display === 'block') {
document.querySelectorAll('.ccbproductcontentcontainer').forEach(function(el) {
el.style.display = 'none';
});
document.querySelectorAll('.more_info').forEach(function (el) {
el.textContent = 'More Details...';
el.style.color = '#1a73e8';
});
ccbinfo.textContent = 'More Details...';
ccbinfo.style.color = '#1a73e8';
if (typeof jQuery === 'undefined') {
ccbcontent.style.display = 'none';
}
else {
jQuery(ccbcontent).slideUp().css('display', 'none');
}
}
else {
document.querySelectorAll('.ccbproductcontentcontainer').forEach(function(el) {
el.style.display = 'none';
});
document.querySelectorAll('.more_info').forEach(function (el) {
el.textContent = 'More Details...';
el.style.color = '#1a73e8';
});
ccbinfo.textContent = 'Close Details...';
ccbinfo.style.color = 'red';
if (typeof jQuery === 'undefined') {
ccbcontent.style.display = 'block';
}
else {
jQuery(ccbcontent).slideDown().css('display', 'block');
}
}
}
});
/* END CLICK LISTENER */
var ccb_site_url = 'https://creditcardbroker.com/';
var ccb_site_url_u = 'https://creditcardbroker.com/';
var ccb_safe_site = location.hostname.match(/creditcardbroker/) != null;
var viwprt = document.querySelector("meta[name=viewport]");
if (!viwprt) {
var metaTag=document.createElement('meta');
metaTag.name = "viewport"
metaTag.content = "width=device-width, initial-scale=1.0"
document.getElementsByTagName('head')[0].appendChild(metaTag);
}
// Include JS/CSS file if desired
function loadjscssfile(filename, filetype){
var fileref;
if (filetype === "js"){ //if filename is an external JavaScript file
fileref=document.createElement('script');
fileref.type = "application/javascript";
fileref.src = filename;
}
else if (filetype === "css"){ //if filename is an external CSS file
var fileref=document.createElement("link");
fileref.rel = "stylesheet";
fileref.type = "text/css";
fileref.href = filename;
}
if (typeof fileref !== 'undefined') { document.getElementsByTagName("head")[0].appendChild(fileref); }
}
if(typeof jQuery === 'undefined' || (typeof $addjquery !== 'undefined' && $addjquery != 'no')) {
loadjscssfile(ccb_site_url_u+"includes/jquery/custom-blue2/js/jquery-1.7.2.min.js", "js");
//loadjscssfile(ccb_site_url_u+"includes/jquery/custom-blue2/js/jquery-ui-1.8.21.custom.min.js", "js");
//loadjscssfile(ccb_site_url_u+"includes/jquery/custom-blue2/css/custom-theme/jquery-ui-1.8.21.custom.css", "css");
}
var viewportmeta = document.querySelector('meta[name="viewport"]');
if (viewportmeta) {
viewportmeta.setAttribute("content", 'width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0');
}
else {
var myvpmeta = document.createElement('meta');
myvpmeta.name = 'viewport';
myvpmeta.content = 'width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0';
document.getElementsByTagName('head')[0].appendChild(myvpmeta);
}
function jqueryLoaded() {
//do stuff
if($show_dropdowns === "yes") {
jQuery(document).ready(function(){
showdropdownoffers();
} );
}
var creditratingsteps = new Array();
var therealvalue = new Array();
var i;
for (i=0; i<=10; i=i+.5) {
creditratingsteps[i]= "All Credit";
therealvalue[i] = "all";
}
for (i=10; i<=20; i=i+.5) {
creditratingsteps[i]= "Bad Credit";
therealvalue[i] = 6;
}
for (i=20; i<=30; i=i+.5) {
creditratingsteps[i]= "Fair Credit";
therealvalue[i] = 3;
}
for (i=30; i<=40; i=i+.5) {
creditratingsteps[i]= "Good Credit";
therealvalue[i] = 4;
}
for (i=40; i<=50; i=i+.5) {
creditratingsteps[i]= "Excellent Credit";
therealvalue[i] = 5;
}
} // End of do stuff
function checkJquery() {
if (window.jQuery && jQuery.ui) {
jqueryLoaded();
} else {
window.setTimeout(checkJquery, 100);
}
}
checkJquery();
if(!$count) { var $count = 0; }
var $DisplayCardOfferDetails = new Array();
var $feed_html = '';
var $category_dropdown_options = new Array();
var $bank_dropdown_options = new Array();
var $credit_ratings_dropdown_options = new Array();
var $category_dropdown_html = "";
var $bank_dropdown_html = "";
var $credit_rating_dropdown_html = "";
$count = $count + 1;
/* BEGIN PRODUCT SECION */
$feed_html += '
';
$feed_html += '
';
$feed_html += '
';
$feed_html += '
Credit Strong - Instal & Revolv
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Fair Credit, Bad Credit, No Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Credit Strong - Instal & Revolv
CREDIT NEEDED
Fair Credit
Bad Credit
No Credit
Multiple Ways to Build Credit.
A CreditStrong account is the fusion of a secured consumer installment loan and a savings account. During the life of your CreditStrong account you build both credit history and savings.
- Instantly build revolving credit with no minimum monthly payment required with CreditStrong Revolv
- Build installment credit and savings with low fixed monthly payments with CreditStrong Instal
- Build supersized installment credit with supersized plans with CS MAX
';
$DisplayCardOfferDetails[$count] = "no";
$feed_html += '
';
// end product content
$feed_html += '
';
/* END PRODUCT SECION */
$count = $count + 1;
/* BEGIN PRODUCT SECION */
$feed_html += '';
$feed_html += '
';
$feed_html += '
';
$feed_html += '
Kovo Credit Builder
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Fair Credit, Bad Credit, No Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Kovo Credit Builder
CREDIT NEEDED
Fair Credit
Bad Credit
No Credit
Give yourself the credit you deserve. Sign up to build your credit easily with small monthly payments. Instant approval, no credit check, and no hidden fees. Plus, earn up to 1% on featured loans! The ideal alternative to secured credit cards.
Incredible value:
- Your payment performance is reported monthly to TransUnion®, Equifax®, Experian®, and Innovis®.
- Earn up to $1,225 in rewards. That’s 5x more value than the cost of Kovo.
- Lower your monthly interest payments when you have a higher credit score.
- Better credit makes owning a car and home possible, with higher odds for approval.
- Get your FICO® Score and see your credit score journey progress every month.
How it works:
- Build with Installments: pay $10/month over 24 months.
- Learn with Courses: pick up useful skills.
- Earn with Rewards: up to 1% back on eligible loan offers.
Key features:
- Flat monthly rate
- Instant approval
- No credit check / no hard pull
- No bank account needed
- $0 security deposit
- $0 setup/admin fees
- $0 annual fees
- $0 late fees
- $0 prepayment fees
- 0% APR
Requirements:
- You must be at least 18 years of age
- You must have a valid U.S. Social Security Number
Available in all 50 states.
';
$DisplayCardOfferDetails[$count] = "no";
$feed_html += '
';
// end product content
$feed_html += '
';
/* END PRODUCT SECION */
$count = $count + 1;
/* BEGIN PRODUCT SECION */
$feed_html += '';
$feed_html += '
';
$feed_html += '
';
$feed_html += '
Self Financial - Credit Builder Account
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Fair Credit, Bad Credit, No Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Self Financial - Credit Builder Account
CREDIT NEEDED
Fair Credit
Bad Credit
No Credit
- A new way to build credit. Build credit while you save (minus fees and interest)
- Self Financial helps you get a small loan that you save in a CD for 24 months
- All payments are reported to the three major credit bureaus as an installment loan which helps consumers build credit.
- Savings plans start at $25/month and include credit monitoring
- At the end of account term, you've built credit history and your CD savings unlock. (minus interest and fees)
Sample loans: $25/mo, 24 mos, $9 admin fee, 15.92% APR; $35/mo, 24 mos, $9 admin fee, 15.97% APR; $48/mo, 24 mos, $9 admin fee, 15.72% APR; $150/mo, 24 mos, $9 admin fee, 15.88% APR. See self.inc/pricing
Credit Builder Accounts & Certificates of Deposit made/held by Lead Bank, Sunrise Banks, N.A., SouthState Bank, N.A. each Member FDIC. Subject to credit approval.
Date: 9-28-23
';
$DisplayCardOfferDetails[$count] = "no";
$feed_html += '
';
// end product content
$feed_html += '
';
/* END PRODUCT SECION */
$count = $count + 1;
/* BEGIN PRODUCT SECION */
$feed_html += '';
$feed_html += '
';
$feed_html += '
';
$feed_html += '
Credit Strong For Business
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
N/A
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Credit Strong For Business
Credit Strong For Business
Multiple different product options with different loan amounts and terms to help you:
- Build credit as cheaply as possible (Biz $2,500)
- Build credit & savings simultaneously (Biz $5,000)
- Build a large amount of credit (Biz $10,000)
Anyone is eligible, as long as we can verify your identity and business. Perfect for people with thin or no credit, since there is no credit check and no minimum credit score
Business requirements, the company must:
- Have a registered EIN (Employer Identification Number issued by the IRS
- Be at least 3 months old
- Be a LLC, partnership, or Corporation
- Be located in the United States and have a physical US address place of business
Individual requirements:
- Own at least 25% of the business
- Have no co-owner(s) that individually own 25% or more of the business
- Be at least 18 years old and be a permanent US resident
- Have a physical US residence
- Have a valid SSN or ITIN
- Have a valid identification document (Drivers license, State ID, Passport, Permanent Resident Card)
Impacts 90% of the factors used to calculate your credit score
- Payment history (35%)
- Amount of credit (30%)
- Length/age of credit (15%)
- Credit Mix (10%)
- New Credit (10%)
We’ll report loan payments each month. Making on-time payments are a positive signal to credit bureaus and help your score.
- All credit products are designed to give customers the ability (but not requirement) to demonstrate good financial behavior. The reverse is also true - Late payments are also reported!
The account is reported and will appear on a customer’s credit profile within 30-60 days after the first loan payment due date
- The first payment is due 30 days from account opening date and due on the same day each month
How CreditStrong Business works:
A secured loan is issued to you, and deposited in a locked savings account in your name held at Austin Capital Bank, the 5* rated community bank that powers CreditStrong
Each month, you make monthly payments towards the secured loan which pay down the loan balance
Each payment is split into 2 portions
Interest: Cost for keeping the account open, account maintenance, reporting, etc. Think of this as the money you pay CreditStrong to build your credit.
Principle: this goes towards the loan balance and principal payments will be available for withdrawal on completion of your loan. Think of this as money you pay to yourself each month for future use.
Each month, we report payment behavior to Equifax, PayNet, and SBFA. (remember:
make complete, on-time payments so we’re reporting GOOD credit behavior!)
What happens when the loan is paid off?
- Once the loan is paid off, the secured savings account is unlocked
- The funds in the unlocked savings account can then be withdrawn
- Once the account is paid off, it will be reported to credit bureaus as “Paid in full with a $0 balance” / ”Paid off”
Canceling:
- You can choose to cancel early with no prepayment or early termination fees.
- If you cancel early, the difference is unlocked, and the funds in your saving account (if any) can be accessed and transferred to your payment method on file with no fees or penalties
- If you have already made the admin fee payment and 1 or more loan payment (It will be closed out and reported as “Paid in full with a $0 balance” / ”Paid off” (which is the same as if you were to pay it off fully – there is no difference in reporting))
- If you have not made any payments or have made the admin fee payment but not a loan payment. It will not be reported and will not show on your credit report o If you have made more than 1 loan payment and want to cancel early. We use your secured savings to pay off the remaining loan balance
';
$DisplayCardOfferDetails[$count] = "no";
$feed_html += '
';
// end product content
$feed_html += '
';
/* END PRODUCT SECION */
$count = $count + 1;
/* BEGIN PRODUCT SECION */
$feed_html += '';
$feed_html += '
';
$feed_html += '
';
$feed_html += '
Grow Credit
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Bad Credit, No Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Grow Credit
CREDIT NEEDED
Bad Credit
No Credit
Grow Credit offers a free Mastercard you can use to pay your subscriptions and build your credit. Build Credit For Free!
We report your on-time payments to all three major credit bureaus (Equifax, Experian and TransUnion) which helps establish or boost your credit score.
- Grow Credit is a line of credit and there is no hard credit check, and applying will not impact your credit score.
- Grow Credit is a MasterCard which can be used to pay for subscriptions and build your credit. You can use your card to pay for any subscription, including Netflix, Spotify, Amazon Prime, and over 100 other services. You can set it and forget it. We automatically debit the cost of your subscription from your bank account every month, ensuring timely payment. Then, we report your progress to all three credit bureaus.
- You don’t need to have any credit history to sign up, and there is no deposit required for our Build, Grow, or Accelerate plans. For those who do not yet meet our income requirements, Grow has a Secured card option, which requires a $17 deposit.
- It is free to sign up for a Grow Credit Build account, and there is no obligation to upgrade to a paid account at any time. Free account holders have a $17 monthly limit that can be used exclusively to pay for subscriptions, but it’s reported to the credit bureaus as a $204 line of credit ($17 per month for 12 months).
- The Grow premium tier comes with a $50 monthly limit, reported to the bureaus as a $600 line of credit. The Accelerate premium tier comes with a $150 monthly limit, reported to the bureaus as an $1800 line of credit.
- If you don’t currently qualify for a Build account, you can open a Secured account. You will need to put down a $17 deposit, but that deposit will be refunded after 12 months of on-time payments.
- See all terms and conditions on the application page.
Other FAQ
- No hard inquiry
- Grow Credit is available in all US states.
';
$DisplayCardOfferDetails[$count] = "no";
$feed_html += '
';
// end product content
$feed_html += '
';
/* END PRODUCT SECION */
$count = $count + 1;
/* BEGIN PRODUCT SECION */
$feed_html += '';
$feed_html += '
';
$feed_html += '
';
$feed_html += '
Kikoff Credit Account
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Bad Credit, No Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Kikoff Credit Account
CREDIT NEEDED
Bad Credit
No Credit
Build credit with Kikoff. The safe way to build credit..
We help you establish positive payment history and lower utilization, both important factors for raising your credit score.
- No credit check. No hard pulls required
- Starts at $5/mo. Cancel anytime
- With 0% interest
- Open your account in minutes
- Easy & automatic. With the optional Autopay, never worry about due dates.
How does Kikoff work?
Kikoff is a credit-building service designed to help you build credit safely and responsibly. Our products are designed to target the 5 major credit score factors.
Kikoff offers 2 products:
- Kikoff Credit Account - this is a revolving line of credit. This account builds monthly payment history and helps reduce your credit utilization.
- Kikoff Credit Builder Loan - this is an additional product for customers with positive payment behavior on Kikoff products. Credit Builder Loan is a 1-year savings plan for $10/month.
Is this a credit card?
The Kikoff Credit Account is a revolving line of credit that gets reported to Equifax and Experian.
You are able to use the Kikoff Credit Account to finance the purchase of goods and services from Kikoff.
Unlike a credit card, the Kikoff Credit Account can only be used to make purchases from Kikoff (e.g. can’t buy gas or groceries)
Which bureaus does Kikoff report to?
Kikoff is an official data furnisher to the 3 major credit bureaus: Equifax, Experian, and TransUnion.
Please note that reporting depends upon which Kikoff products you have:
Kikoff Credit Account reports to Equifax and Experian.
Credit Builder Loan (optional add-on) reports to TransUnion and Equifax.
Please see all terms and conditions and state availability: https://kikoff.com/terms.pdf
';
$DisplayCardOfferDetails[$count] = "no";
$feed_html += '
';
// end product content
$feed_html += '
';
/* END PRODUCT SECION */
$category_dropdown_html += '';
$bank_dropdown_html += '';
$credit_rating_dropdown_html += '';
var $product_image_numeric_width = 225;
var $product_image_width = '32%';//$product_image_numeric_width+'px';
var $product_image_column_width_num = 210;
var $product_image_column_width = $product_image_column_width_num+'px';
var $product_heading_width;
var $product_table_padding;
var $most_popular_image_width;
var $transparent_background_is_true = (typeof $transparent_background !== 'undefined' && $transparent_background === 'yes');
$product_heading_width = '100%';
$most_popular_image_width = $product_heading_width;
$product_description_width = '65%';
$product_description_min_width = '50%';
$product_description_mobile_width = 'auto!important';
$product_heading_mobile_width = '100%!important';
$product_mobile_width = '100%!important';
var $product_box_background_color = "#FFFFFF";
var $boxbgcolor;
if(typeof $boxbgcolor !== 'undefined') {
$product_box_background_color = $boxbgcolor;
}
var $product_heading_background_color;
var $hbgcolor;
var $product_heading_background_color = "#FFFFFF";
if(typeof $hbgcolor !== 'undefined') {
$product_heading_background_color = $hbgcolor;
}
var $product_heading_text_color = "#000000";
var $htextcolor;
if(typeof $htextcolor !== 'undefined') {
$product_heading_text_color = $htextcolor;
}
var $product_heading_font_size = "16px";
var $hfontsize;
if(typeof $hfontsize !== 'undefined') {
$product_heading_font_size = $hfontsize+"px";
}
var $product_description_bg_color = "transparent";
var $pdbgcolor;
if(typeof $pdbgcolor !== 'undefined') {
$product_description_bg_color = $pdbgcolor;
}
if ($transparent_background_is_true) {
$product_description_bg_color = 'transparent';
}
var $product_description_text_color = "#000000";
var $pdtextcolor;
if($pdtextcolor != undefined) {
$product_description_text_color = $pdtextcolor;
}
var $product_description_font_size = "13px";//"1.333em";
var $pdfontsize;
if(typeof $pdfontsize !== 'undefined') {
$product_description_font_size = $pdfontsize+"px";
}
var $product_description_border_left = "#FFFFFF";
var $pdborderleft;
if(typeof $pdborderleft !== 'undefined') {
$product_description_border_left = $pdborderleft;
}
var $product_description_border_right = "#FFFFFF";
var $pdborderright;
if($pdborderright != undefined) {
$product_description_border_right = $pdborderright;
}
var $footer_bg_color;
var $fbgcolor;
var $footer_bg_color = "#FFFFFF";
if(typeof $fbgcolor !== 'undefined') {
$footer_bg_color = $fbgcolor;
}
var $footer_text_color = "#000000";
var $ftextcolor;
if($ftextcolor != undefined) {
$footer_text_color = $ftextcolor;
}
var $footer_font_size = "11px";
var $ffontsize;
if(typeof $ffontsize !== 'undefined') {
$footer_font_size = $ffontsize+"px";
}
var $bulletstyle;
var $additional_css;
if(typeof $bulletstyle !== 'undefined') {
$additional_css = '.ccbproductcontainer ul { list-style-type: ' + $bulletstyle + '; }';
} else {
$additional_css = '';
}
var $ccbheader_bg_color;
var $ccbheaderbgcolor;
var $ccbheader_bg_color = "#FFFFFF"; // dark blue original
$ccbheader_bg_color = $product_heading_background_color; // Matches the product heading bg
if(typeof $ccbheaderbgcolor != 'undefined') {
$ccbheader_bg_color = $ccbheaderbgcolor;
}
var $ccbbutton_bg_color = '#318ccc'; //'#055FA8';
$product_table_bgcolor = $transparent_background_is_true ? 'transparent' : 'white';
$product_table_border_color = '#F3F3F3'; // $transparent_background_is_true ? 'transparent' :
$product_table_dropshadow = '#EEEEEE';
$feed_html += '';
function showdropdownoffers (item) {
var $category_to_show = ".";
var $bank_to_show = ".";
var $credit_rating_to_show = ".";
jQuery('div.ccbproductcontainer').css('display','block');
jQuery('.isaltcolor').addClass('ccbcompactfeedaltrowcolor');
if($show_category_dropdowns === "yes" && item && item.id === 'getcategoryoffers') {
var $a = document.getElementById('getcategoryoffers').selectedIndex;
var $selected_category = document.getElementById("getcategoryoffers").options[$a].value;
jQuery('#getbankoffers').val('all');
jQuery('#getcreditratingoffers').val('all');
if($selected_category != "all") {
$category_to_show += 'CategoryID-' + $selected_category;
jQuery('div.ccbproductcontainer').not($category_to_show).css('display','none');
jQuery('.ccbcompactfeedaltrowcolor').removeClass('ccbcompactfeedaltrowcolor');
} else {
jQuery('div.ccbproductcontainer').css('display','block');
jQuery('.isaltcolor').addClass('ccbcompactfeedaltrowcolor');
}
}
if($show_bank_dropdowns === "yes" && item && item.id === 'getbankoffers') {
var $b = document.getElementById('getbankoffers').selectedIndex;
var $selected_bank = document.getElementById("getbankoffers").options[$b].value;
jQuery('#getcategoryoffers').val('all');
jQuery('#getcreditratingoffers').val('all');
if($selected_bank != "all") {
$bank_to_show += 'BankID-' + $selected_bank;
jQuery('div.ccbproductcontainer').not($bank_to_show).css('display','none');
} else {
jQuery('div.ccbproductcontainer').css('display','block');
}
}
if($show_credit_rating_dropdowns === "yes" && item && item.id === 'getcreditratingoffers') {
var $c = document.getElementById('getcreditratingoffers').selectedIndex;
var $selected_creditrating = document.getElementById("getcreditratingoffers").options[$c].value;
jQuery('#getcategoryoffers').val('all');
jQuery('#getbankoffers').val('all');
if($selected_creditrating != "all") {
$credit_rating_to_show += "CreditRatingID-" + $selected_creditrating;
jQuery('div.ccbproductcontainer').not($credit_rating_to_show).css('display','none');
} else {
jQuery('div.ccbproductcontainer').css('display','block');
}
}
checkNumCCBResults();
} // end of function
var $error_html;
function checkNumCCBResults() {
var hiddenEls = jQuery('.ccbproductcontainer:hidden');
var visibleEls = jQuery('.ccbproductcontainer:visible');
var NumHiddenEls = hiddenEls.length;
var NumVisibleEls = visibleEls.length;
if(NumVisibleEls < 1) {
$error_html = 'The combinations of Category, Bank, and Credit Rating that you chose do not have results.
Please choose another combination to see results or choose �Display All� to see all results.';
} else {
$error_html = "";
}
jQuery(".CCBErrorResults").html($error_html);
} // End of function
var $show_dropdowns;
var $show_category_dropdowns;
var $show_bank_dropdowns;
var $show_credit_rating_dropdowns;
var $show_header;
var $header_image;
var $custom_header_image;
var $show_dropdown_image;
var $dropdown_image;
var $custom_dropdown_image;
var $show_footer;
var total_rows_products = 6;
var has_product_rows = total_rows_products > 0;
var not_enough_rows = total_rows_products < 4;
var currentScriptt = document.currentScript;
console.log('Current Script:');
console.log(currentScriptt.src);
console.log('Total product rows: '+total_rows_products);
var $html_append = document.createElement('div');
$html_append.className = 'ccbcontainer';
$compact_feed = document.createElement('div');
$compact_feed.className = 'ccbcompactfeed';
var ccbcfheader = document.createElement('div');
ccbcfheader.className = 'ccbcompactfeedheader';
var ccbcfc1 = document.createElement('div');
ccbcfc1.className = 'ccbcompactfeedhcell ccbcompactfeedcardhcellwidth';
ccbcfc1.innerHTML = 'Offer';
ccbcfheader.appendChild(ccbcfc1);
//var ccbcfc2 = document.createElement('div');
//ccbcfc2.className = 'ccbcompactfeedhcell ccbcompactfeedcellwidth ccbhideme';
//ccbcfc2.innerHTML = 'Best For';
//ccbcfheader.appendChild(ccbcfc2);
var ccbcfc3 = document.createElement('div');
ccbcfc3.className = 'ccbcompactfeedhcell ccbcompactfeedcellwidth ccbhideme';
ccbcfc3.innerHTML = 'Credit Type';
ccbcfheader.appendChild(ccbcfc3);
var ccbcfc4 = document.createElement('div');
ccbcfc4.className = 'ccbcompactfeedhcell ccbcompactfeedcellwidth';
ccbcfc4.innerHTML = 'More Details';
ccbcfheader.appendChild(ccbcfc4);
var ccbcfc5 = document.createElement('div');
ccbcfc5.className = 'ccbcompactfeedhcell ccbcompactfeedbonuscellwidth ccbhideme';
ccbcfc5.innerHTML = 'Apply';
ccbcfheader.appendChild(ccbcfc5);
$compact_feed.appendChild(ccbcfheader);
$compact_feed.innerHTML = $compact_feed.innerHTML + $feed_html;
if(has_product_rows) {
var divccbfh = document.createElement('div');
divccbfh.className = 'ccbfeedheader';
divccbfh.innerHTML = '';
var divccbfh_t = document.createElement('div');
//divccbfh_t.className = 'ccbheadertext';
divccbfh_t.innerHTML = ''; //SELECT A PRODUCT
divccbfh_t.style.display = "none";
divccbfh.appendChild(divccbfh_t);
console.log('Show categories: ' + $show_category_dropdowns);
console.log('Show banks: ' + $show_bank_dropdowns);
console.log('Show ratings: ' + $show_credit_rating_dropdowns);
if(has_product_rows && $show_category_dropdowns === "yes") {
divccbfh.innerHTML = divccbfh.innerHTML + $category_dropdown_html;
}
if(has_product_rows && $show_bank_dropdowns === "yes") {
divccbfh.innerHTML = divccbfh.innerHTML + $bank_dropdown_html;
}
if(has_product_rows && $show_credit_rating_dropdowns === "yes") {
divccbfh.innerHTML = divccbfh.innerHTML + $credit_rating_dropdown_html;
}
if (!not_enough_rows) { $html_append.appendChild(divccbfh); }
$html_append.innerHTML = $html_append.innerHTML + $compact_feed.outerHTML;
$html_append.innerHTML = $html_append.innerHTML + '';
var $show_footer = "yes";
if($show_footer != "no") {
$html_append.innerHTML = $html_append.innerHTML + '';
}
$html_append.innerHTML = $html_append.innerHTML + '';
currentScriptt.parentNode.insertBefore($html_append, currentScriptt.nextSibling);
var $i;
for ($i = 1; $i <= $count; $i++) {
var $productcount = "product" + $i;
var $productheadingcount = "productheading" + $i;
var $creditcardimagecount = "creditcardimage" + $i;
var $productdescriptioncount = "productdescription" + $i;
var $productbottomcount = "productbottom" + $i;
var product = document.getElementById($productcount);
var productheading = document.getElementById($productheadingcount);
var creditcardimage = document.getElementById($creditcardimagecount);
var productdescription = document.getElementById($productdescriptioncount);
var productbottom = document.getElementById($productbottomcount);
if($productcount) {
if($DisplayCardOfferDetails[$i] === "yes") {
//productbottom.style.backgroundColor = $footer_bg_color ;
//productbottom.style.padding ="7px";
//productbottom.style.paddingBottom ="7px";
//productbottom.style.paddingLeft ="8px";
//productbottom.style.paddingRight ="8px";
var $productbottoma = "productbottoma" + $i;
var $productbottomb = "productbottomb" + $i;
var $productbottomc = "productbottomc" + $i;
var $productbottomd = "productbottomd" + $i;
var $productbottome = "productbottome" + $i;
var $productbottomf = "productbottomf" + $i;
var $productbottomg = "productbottomg" + $i;
var $productbottomh = "productbottomh" + $i;
var $productbottomi = "productbottomi" + $i;
var $productbottomj = "productbottomj" + $i;
var $productbottomk = "productbottomk" + $i;
var $productbottoml = "productbottoml" + $i;
var productbottoma = document.getElementById($productbottoma);
var productbottomb = document.getElementById($productbottomb);
var productbottomc = document.getElementById($productbottomc);
var productbottomd = document.getElementById($productbottomd);
var productbottome = document.getElementById($productbottome);
var productbottomf = document.getElementById($productbottomf);
var productbottomg = document.getElementById($productbottomg);
var productbottomh = document.getElementById($productbottomh);
var productbottomi = document.getElementById($productbottomi);
var productbottomj = document.getElementById($productbottomj);
var productbottomk = document.getElementById($productbottomk);
var productbottoml = document.getElementById($productbottoml);
if (productbottoma) {
productbottoma.style.fontSize = $footer_font_size ;
productbottoma.style.color = $footer_text_color ;
productbottoma.style.fontWeight ="bold";
productbottoma.style.textAlign ="center";
}
if (productbottomb) {
productbottomb.style.fontSize = $footer_font_size ;
productbottomb.style.color =$footer_text_color ;
productbottomb.style.fontWeight ="bold";
productbottomb.style.textAlign ="center";
}
if (productbottomc) {
productbottomc.style.fontSize = $footer_font_size ;
productbottomc.style.color =$footer_text_color ;
productbottomc.style.fontWeight ="bold";
productbottomc.style.textAlign ="center";
}
if (productbottomd) {
productbottomd.style.fontSize = $footer_font_size ;
productbottomd.style.color =$footer_text_color ;
productbottomd.style.fontWeight ="bold";
productbottomd.style.textAlign ="center";
}
if (productbottome) {
productbottome.style.fontSize = $footer_font_size ;
productbottome.style.color =$footer_text_color ;
productbottome.style.fontWeight ="bold";
productbottome.style.textAlign ="center";
}
if (productbottomf) {
productbottomf.style.fontSize = $footer_font_size ;
productbottomf.style.color =$footer_text_color ;
productbottomf.style.fontWeight ="bold";
productbottomf.style.textAlign ="center";
}
if (productbottomg) {
productbottomg.style.fontSize = $footer_font_size ;
productbottomg.style.color =$footer_text_color ;
productbottomg.style.fontWeight ="bold";
productbottomg.style.textAlign ="center";
}
if (productbottomh) {
productbottomh.style.fontSize = $footer_font_size ;
productbottomh.style.color =$footer_text_color ;
productbottomh.style.fontWeight ="bold";
productbottomh.style.textAlign ="center";
}
if (productbottomi) {
productbottomi.style.fontSize = $footer_font_size ;
productbottomi.style.color =$footer_text_color ;
productbottomi.style.fontWeight ="bold";
productbottomi.style.textAlign ="center";
}
if (productbottomj) {
productbottomj.style.fontSize = $footer_font_size ;
productbottomj.style.color =$footer_text_color ;
productbottomj.style.fontWeight ="bold";
productbottomj.style.textAlign ="center";
}
if (productbottomk) {
productbottomk.style.fontSize = $footer_font_size ;
productbottomk.style.color =$footer_text_color ;
productbottomk.style.fontWeight ="bold";
productbottomk.style.textAlign ="center";
}
if (productbottoml) {
productbottoml.style.fontSize = $footer_font_size ;
productbottoml.style.color =$footer_text_color ;
productbottoml.style.fontWeight ="bold";
productbottoml.style.textAlign ="center";
}
}
} // END if($productcount)
} // END OF for statement
}