/* 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 += '
OpenSky® Secured Visa ® Credit Card
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Bad Credit, No Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
OpenSky® Secured Visa ® Credit Card
CREDIT NEEDED
Bad Credit
No Credit
';
$DisplayCardOfferDetails[$count] = "no";
$DisplayCardOfferDetails[$count] = "yes";
$feed_html += '
Regular APR
25.64% variable
';
$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 - 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 += '
Surge Mastercard® Unsecured Card
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Bad Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Surge Mastercard® Unsecured Card
Up to $1,000 credit limit doubles up to $2,000! (Simply make your first 6 monthly minimum payments on time)
- All credit types welcome to apply!
- Fast and easy application process; results in seconds
- See if you’re Pre-Qualified without impacting your credit score
- Initial Credit Limit of $300 – $1,000* (subject to available credit)
- Monthly reporting to the three major credit bureaus
- Use your card at locations everywhere that Mastercard® is accepted
- Free online account access 24/7
- Mastercard Zero Liability Protection (subject to Mastercard Guidelines)
- 35.90% Fixed Apr
- Please note this offer has: upfront processing fees, annual fee, and monthly maintenance fees
- *See all terms in conditions on website.
This offer is NOT available in the following states: MA, CO, WV, IL
Some Requirements (Not limited to)
- You need to have an existing checking account
- note: Having the above does not auto approve you. The bank will still look at other factors when making a decision.
Is there a credit check when I apply?
The pre-qual process is a soft pull (page 1 when consumer submits an app).
If the pre-qual offer is accepted and the applicant submits a full application (page 2), that is a hard pull.
How long does it take to make a decision about my application?
In most cases, we will provide an instant decision. However, in some cases we need to collect additional information to make a decision on your Surge credit card application which could take up to 30 days.
About Continental Finance:
Continental Finance, one of America's leading marketers and servicers of credit cards for consumers with less-than perfect credit, is proudly rated A+ by the Better Business Bureau.
Continental Finance Company is proud of our customer feedback. With more than 2.6 million credit cards managed since our founding, CFC prides itself on putting the customer first. We specialize in providing credit cards that help our customers build or establish credit with dignity and respect. If you have less than perfect credit, a CFC brand card can help you re-establish your credit history!
Who is Celtic Bank?
Founded in 2001, Celtic Bank is a leading nationwide small business lender and residential construction lender. Headquartered in Salt Lake City, Utah, Celtic Bank is a privately owned industrial bank chartered by the State of Utah. Celtic Bank is an SBA Preferred Lender and was named the 8th largest SBA lender in the nation for FY 2014.
';
$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 += '
First Progress Platinum Select MasterCard® Secured Credit Card
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Fair Credit, Bad Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
First Progress Platinum Select MasterCard® Secured Credit Card
CREDIT NEEDED
Fair Credit
Bad Credit
Get a First Progress Select Card and Earn 1% Cash Back Rewards!
- All credit types welcome to apply!
- Secure your credit line with your refundable security deposit – choose from $200- $2,000 - with the ability to increase up to $5,000 over time!
- Choose the First Progress Select Card for a lower annual fee!
- Build your credit history across 3 major credit reporting agencies: Equifax, Experian and TransUnion.¹
- ¹ Cardholders who keep their balance low and pay their credit card bill on time every month typically do see an increase in their credit score.
- Secured Cards are a great way to start establishing credit for people with low/no credit scores¹
- Get a fresh start! A discharged bankruptcy in your credit file will not cause you to be declined
- Past credit issues shouldn’t prevent you from getting a credit card with great benefits & rewards!
Disclosure:
images.totalcardinc.com/documents/disclosures/FirstProgress/Important_Disclosures_Select.pdf
Deposit Options: Debit card funding.
';
$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 += '
Merrick Bank Secured Credit Card
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Fair Credit, Bad Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Merrick Bank Secured Credit Card
CREDIT NEEDED
Fair Credit
Bad Credit
- Choose your own credit line based on how much money you want to put down as a security deposit.
- Initial deposits can be from $200 to $3,000. You can increase your credit line at any time by adding additional money to your security deposit, up to $3,000.
- After 9 months, we review your account for a credit line increase. No additional deposit required!
- Secured Credit Cards are great for people looking to build or rebuild credit and are available to people with all kinds of credit backgrounds.
- Unlike a debit card or a pre-paid card, it helps build your credit history. As you pay your bill every month, we report to all three major credit-reporting agencies.
- Get your FICO® Credit Score for free each month.
- Fraud coverage if your card is lost or stolen. Access your account 24 hours a day, 7 days a week. Get help staying on track with Auto Pay and account alerts.
- Card issued by Merrick Bank, Member FDIC.
- Wisconsin Residents: This offer is NOT valid for residents of Wisconsin
';
$DisplayCardOfferDetails[$count] = "no";
$DisplayCardOfferDetails[$count] = "yes";
$feed_html += '
Regular APR
22.70% Variable
Annual Fee
$36 the first year, billed $3 per month thereafter
';
$feed_html += '
';
// end product content
$feed_html += '
';
/* END PRODUCT SECION */
$count = $count + 1;
/* BEGIN PRODUCT SECION */
$feed_html += '';
$feed_html += '
';
$feed_html += '
';
$feed_html += '
First Progress Platinum Prestige MasterCard® Secured Credit Card
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Fair Credit, Bad Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
First Progress Platinum Prestige MasterCard® Secured Credit Card
CREDIT NEEDED
Fair Credit
Bad Credit
Earn 1% Cash Back Rewards with First Progress Prestige!
- All credit types welcome to apply!
- Apply now and fund your security deposit over 90 days with the option to make partial payments.
- You Can’t Rebuild credit with a Debit Card. Try First Progress Today! ¹
- Secured Cards are a great way to start establishing credit for people with low/no credit scores¹
- Get a fresh start! A discharged bankruptcy in your credit file will not cause you to be declined
- Past credit issues shouldn’t prevent you from getting a credit card with great benefits & rewards!
- ¹ Cardholders who keep their balance low and pay their credit card bill on time every month typically do see an increase in their credit score.
Deposit Options: debit card funding.
Disclosure:
images.totalcardinc.com/documents/disclosures/FirstProgress/Important_Disclosures_Prestige.pdf
';
$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 += '
Auto Financing and Refinancing
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Fair Credit, Good Credit, Excellent Credit, Bad Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Auto Financing and Refinancing
CREDIT NEEDED
Fair Credit
Good Credit
Excellent Credit
Bad Credit
Auto Financing and Refinancing – Average Customer saves up to $2000 or more…
- 1 Application with up to 4 loan offers in minutes
- Apply online, 24/7 in the convenience of your home or office
- Lowest interest rates available – average customer saves $2000 in interest charges
- Get approved and have financing in place before going to a dealer
- Refinance and lower your current interest rate and payments or even skip a payment
- Also offering Private Party and Lease Buyout loans
- Fast & free - No fees or obligations
- Private, secure and confidential
Your premier online auto finance and refinance marketplace. Apply now and receive up to 4 loan offers in minutes! Fast, easy and free…
';
$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: See self.inc/pricing $25/mo, 24 mos, 15.92% APR; $35/mo, 24 mos, 15.69% APR; $48/mo, 24 mos, 15.51% APR; $150/mo, 24 mos, 15.82% APR.
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: 8-26-24
';
$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 += '
Rental Reporters
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
Bad Credit, No Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
Rental Reporters
CREDIT NEEDED
Bad Credit
No Credit
Your rent payments can improve your credit score. Get what you deserve
We report your payments to TransUnion AND Equifax
A new tradeline appears on your credit report
Look for your score to change within 10 days
Who Would Want To Participate In Our Rental Reporting Program?
Rebuilding Your Credit? We can help you rebuild your credit in a matter of days by reporting your last two years’ of on-time rent payments to TransUnion. The addition of this significant payment history will have a dramatic impact on your credit and allow you to move towards credit independence.
Want To Establish Credit? We add a new trade line to your credit report that reflects your on-time rental payment history. We add not just your on-time payments but we add the length of your rental payment history. How many years have you been renting a house or apartment? That length of credit history is not part of your credit report.
Buying A Home? We add a new trade line to your credit report that reflects your on-time rental payment history. We add not just your on-time payments but we add the length of your rental payment history. How many years have you been renting a house or apartment? That length of credit history is not part of your credit report. Your rent payment history both “thickens” your credit file with positive data that is taken into account and demonstrates your ability to repay your largest monthly obligation……. your rent.
There are 4 simple steps to the rent reporting process
- Verification of your identity and rent payments: On your application, we need basic information such as your social security number, date of birth, address, and your landlord’s contact information. Your social security number ensures that your rent history is clearly matched with your credit profile.
- Verification of your rent payments with your landlord: We work directly with your landlord to verify their identity and confirm your on-time rent payments both over the last 24 months, and in the months to come. For a fee of $50 each, we can also verify and report rent payments made to multiple landlords within the past 2 years.
- Rent reporting to credit bureaus: Equifax and Transunion.
- Tradeline creation on your credit report: A new tradeline is created on your credit report within 5-7 business days. You receive a notification when this is completed. As you continue to pay your rent each month, more information is added to this tradeline. This is why it is important to keep your subscription paid and current every month.
What Does This Program Cost?
The one-time enrollment fee of $94.95 pays for landlord verification and reporting up to 2 years of rental payment history to the credit bureaus. The monthly subscription fee of $9.95 enables us to automatically verify and report your ongoing rent payments. As with any credit report tradeline, the more months of data, the greater the impact can be on your score.
';
$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 += '
ROCK The Score Rental Reporting
';
$feed_html += '
';
//$feed_html += '
N/A
';
$feed_html += '
No Credit
';
$feed_html += '
';
$feed_html += '
';
// product content
$feed_html += '
ROCK The Score Rental Reporting
- Do you rent a home or apartment?
Pay Your rent as you have been, and your ontime rent payments are now reported to selected credit bureaus to help boost your credit profile and increase that credit score.
Report the past two years of rent payments for a possible boost to your credit score!
Pricing: $6.95 Monthly (Keeps Trade Line Open) - $48 One time set up fee - Optional: $65 Historic Reporting
Join our rent reporting program and gain an immediate boost to your credit score with major credit bureaus. It's quick and easy!
We recommend reporting both your historical data along with ongoing rent payments. A seasoned and open trade line provides the biggest boost possible to your credit score.
';
$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 = 10;
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
}