var ccb_site_url = 'https://www.creditcardbroker.com/';
var ccb_site_url_u = '//www.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 = "text/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 $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);
}
var total_rows_products = 2;
var has_product_rows = total_rows_products > 0;
function showcreditratingoffersslider($ratingvalue) {
jQuery(".productcontainer").css("display","none");
var $selected_creditrating = $ratingvalue;
if($selected_creditrating === "all") {
jQuery("."+"CreditRatingID-3").css("display","block");
jQuery("."+"CreditRatingID-4").css("display","block");
jQuery("."+"CreditRatingID-5").css("display","block");
jQuery("."+"CreditRatingID-6").css("display","block");
} else {
var $class_name_to_show = "CreditRatingID-" + $selected_creditrating;
jQuery("."+$class_name_to_show).css("display","block");
}
}
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;
}
jQuery(function () {
// Slider
jQuery("#creditratingslider").slider({
animate: true,
value: 0,
min: 0,
max: 50,
step: .5,
slide: function (event, ui) {
jQuery("#creditratingvalue").val(creditratingsteps[ui.value]);
var theslidervalue = ui.value;
var currentslidervalue = therealvalue[theslidervalue];
jQuery("#creditratingtextvalue-all").css("color", "#CCDDF7");
jQuery("#creditratingtextvalue-3").css("color", "#CCDDF7");
jQuery("#creditratingtextvalue-4").css("color", "#CCDDF7");
jQuery("#creditratingtextvalue-5").css("color", "#CCDDF7");
jQuery("#creditratingtextvalue-6").css("color", "#CCDDF7");
//jQuery("#creditratingtextvalue-"+currentslidervalue).css("color","#FF9B9B");
jQuery("#creditratingtextvalue-" + currentslidervalue).css("color", "#f6931f");
showcreditratingoffersslider(currentslidervalue);
}
});
jQuery("#creditratingvalue").val(creditratingsteps[jQuery("#creditratingslider").slider("value")]);
});
// Tabs
jQuery(function () {
jQuery(".creditratingtabs").tabs({
select: function (event, ui) {
var thetabvalue = ui.index;
var currentratingvalue = "";
if (thetabvalue == "0") {
currentratingvalue = "all";
}
if (thetabvalue == "1") {
currentratingvalue = 6;
}
if (thetabvalue == "2") {
currentratingvalue = 3;
}
if (thetabvalue == "3") {
currentratingvalue = 4;
}
if (thetabvalue == "4") {
currentratingvalue = 5;
}
showcreditratingoffersslider(currentratingvalue);
}
});
});
} // 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 = "";
var $slider_html = "";
var $tabs_html = "";
$count = $count + 1;
$feed_html += '
';
$feed_html += '
';
$feed_html += 'Credit Strong - Instal & Revolv ';
$feed_html += '
';
$feed_html += '
';
$feed_html += '
CREDIT NEEDED
';
$feed_html += 'Fair Credit
Bad Credit
No Credit
';
$feed_html += '
';
$feed_html += '
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 += '
';
$feed_html += '
';
$feed_html += '
';
$count = $count + 1;
$feed_html += '';
$feed_html += '
';
$feed_html += 'Self Financial - Credit Builder Account ';
$feed_html += '
';
$feed_html += '
';
$feed_html += '
CREDIT NEEDED
';
$feed_html += 'Fair Credit
Bad Credit
No Credit
';
$feed_html += '
';
$feed_html += '
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 += '
';
$feed_html += '
';
$feed_html += '
';
//$slider_html +='
';
$category_dropdown_html += '';
//$slider_html +='
';
$bank_dropdown_html += 'By Bank:
Display All ';
$bank_dropdown_html += 'Self Financial ';
$bank_dropdown_html += 'Credit Strong ';
$bank_dropdown_html += ' ';
$slider_html +='All Credit
Bad Credit
Fair Credit
Good Credit
Excellent Credit
';
$slider_html +='
';
$tabs_html +='';
$tabs_html +='
';
$tabs_html +='
';
$credit_rating_dropdown_html += 'By Credit Rating:
Display All ';
$credit_rating_dropdown_html += 'Fair Credit ';
$credit_rating_dropdown_html += 'Bad Credit ';
$credit_rating_dropdown_html += 'No Credit ';
$credit_rating_dropdown_html += ' ';
var $usegraphics;
var $usegraphics_is_true = ($usegraphics === "true" || $usegraphics === true);
var $numeric_boxwidth_min = '550';
var $product_box_width_min = $numeric_boxwidth_min+'px';
var $product_box_width = $product_box_width_min;
var $numeric_boxwidth = new Number($numeric_boxwidth_min);
var $ccbcontainer_width = $numeric_boxwidth+'px';
var $promo_margins = '';
var $product_heading_width;
var $product_table_padding;
var $ccb_tabs_padding;
var $most_popular_image_width;
var $transparent_background_is_true = (typeof $transparent_background !== 'undefined' && $transparent_background === 'yes');
if($usegraphics_is_true) {
$product_box_width = "737px";
$numeric_boxwidth = new Number(737);
}
if(typeof $boxwidth !== 'undefined' && !isNaN($boxwidth)) {
$product_box_width = $boxwidth+"px";
$numeric_boxwidth = new Number($boxwidth);
}
if($usegraphics_is_true) {
$product_table_padding = '0px';
$ccb_tabs_padding = '0px';
}
else {
$product_table_padding = '3px';
$ccb_tabs_padding = '6px';
}
$product_heading_width = '100%';
$most_popular_image_width = $product_heading_width;
var $product_bottom_cell_width = Math.round($numeric_boxwidth / 6) - 10;
$product_image_numeric_width = 130;
$product_image_width = $product_image_numeric_width+'px';
$product_description_numeric_width = $numeric_boxwidth - $product_image_numeric_width - 20;
$product_description_width = $product_description_numeric_width+'px';
$product_description_min_width = ($product_description_numeric_width + 1)+'px';
$product_description_numeric_mobile_width = Math.round($product_description_numeric_width - 9);
$product_description_mobile_width = $product_description_numeric_mobile_width+'px!important';
$product_mobile_numberic_width = ($numeric_boxwidth - $product_description_numeric_mobile_width);
$product_heading_mobile_width = (($numeric_boxwidth - $product_description_numeric_mobile_width) + 2)+'px!important';
$product_mobile_width = ($numeric_boxwidth - $product_description_numeric_mobile_width)+'px!important';
$product_mobile_numeric_width2 = ($product_description_numeric_mobile_width + 4);
$product_mobile_width2 = $product_mobile_numeric_width2+'px!important';
$product_heading_mobile_width2 = ($product_mobile_numeric_width2 + 2)+'px!important';
$product_box_background_color = (typeof $boxbgcolor !== 'undefined') ? $boxbgcolor : '#FFFFFF';
var $product_heading_background_color;
var $hbgcolor;
var $product_heading_background_color = "#153E7E";
if($usegraphics_is_true) {
$product_heading_background_color = "#153E7E";
}
if(typeof $hbgcolor !== 'undefined') {
$product_heading_background_color = $hbgcolor;
}
$product_heading_text_color = (typeof $htextcolor !== 'undefined') ? $htextcolor : '#FFFFFF';
var $product_heading_font_size = "";
var $hfontsize;
$product_heading_font_size = (typeof $hfontsize !== 'undefined') ? $hfontsize+'px' : '16px';
$product_description_bg_color = (typeof $pdbgcolor !== 'undefined') ? $pdbgcolor : '#FFFFFF';
if ($transparent_background_is_true) {
$product_description_bg_color = 'transparent';
}
$product_description_text_color = (typeof $pdtextcolor !== 'undefined') ? $pdtextcolor : '#000000';
$product_description_font_size = (typeof $pdfontsize !== 'undefined') ? $pdfontsize+'px' : '9pt';
var $product_description_border_left = "#FFFFFF";
if($usegraphics_is_true) {
$pdborderleft = "#CCCCCC";
}
if(typeof $pdborderleft !== 'undefined') {
$product_description_border_left = $pdborderleft;
}
var $product_description_border_right = "#FFFFFF";
if($usegraphics_is_true) {
$pdborderright = "#CCCCCC";
}
if(typeof $pdborderright !== 'undefined') {
$product_description_border_right = $pdborderright;
}
var $footer_bg_color = "#FFFFFF";
if($usegraphics_is_true) {
$footer_bg_color = "#FFFFFF";
}
if(typeof $fbgcolor !== 'undefined') {
$footer_bg_color = $fbgcolor;
}
var $footer_text_color = "#000000";
if(typeof $ftextcolor !== 'undefined') {
$footer_text_color = $ftextcolor;
}
var $footer_font_size = "11px";
if(typeof $ffontsize !== 'undefined') {
$footer_font_size = $ffontsize+"px";
}
var $additional_css;
if(typeof $bulletstyle !== 'undefined') {
$additional_css = '.productcontainer ul { list-style-type: ' + $bulletstyle + '; }';
} else {
$additional_css = '';
}
var $creditratingslidertextwidth = (($numeric_boxwidth-40) / 5) + "px"; // width was 113px without calculation
var $ccbheader_bg_color = $product_heading_background_color;
if(typeof $ccbheaderbgcolor !== 'undefined') {
$ccbheader_bg_color = $ccbheaderbgcolor;
}
$product_table_bgcolor = $transparent_background_is_true ? 'transparent' : 'white';
$product_table_border_color = '#F3F3F3'; // $transparent_background_is_true ? 'transparent' :
$feed_html += '';
// $feed_html += "";
function showdropdownoffers (item) {
var $category_to_show = ".";
var $bank_to_show = ".";
var $credit_rating_to_show = ".";
jQuery('div.productcontainer').css('display','block');
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.productcontainer').not($category_to_show).css('display','none');
} else {
jQuery('div.productcontainer').css('display','block');
}
}
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.productcontainer').not($bank_to_show).css('display','none');
} else {
jQuery('div.productcontainer').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.productcontainer').not($credit_rating_to_show).css('display','none');
} else {
jQuery('div.productcontainer').css('display','block');
}
}
checkNumCCBResults();
} // end of function
var $error_html;
function checkNumCCBResults() {
var hiddenEls = jQuery(".productcontainer:hidden");
var visibleEls = jQuery(".productcontainer: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_slider;
var $show_tabs;
var $show_header;
var $show_header_image;
var $header_image;
var $custom_header_image;
var $show_dropdown_image;
var $dropdown_image;
var $custom_dropdown_image;
var $show_footer;
$header_image = ccb_site_url_u+"images/feeds/ccb_logo.png";
if($custom_header_image) {
$header_image = $custom_header_image;
}
$dropdown_image = ccb_site_url_u+"images/feeds/credit_cards_illustration.png";
if(has_product_rows && $custom_dropdown_image) {
$dropdown_image = $custom_dropdown_image;
}
document.write('');
if(has_product_rows && $show_header === "yes" && (($show_category_dropdowns === "yes") || ($show_bank_dropdowns === "yes") || ($show_credit_rating_dropdowns === "yes") || ($show_slider === "yes") || ($show_tabs === "yes"))) {
document.write('');
}
if(has_product_rows && $show_header === "yes" && (($show_category_dropdowns === "yes") || ($show_bank_dropdowns === "yes") || ($show_credit_rating_dropdowns === "yes"))) {
document.write('
');
if($show_dropdown_image != "no") {
document.write('
');
}
document.write('
');
}
if(has_product_rows && $show_header === "yes" && $show_category_dropdowns === "yes") {
document.write($category_dropdown_html);
}
if(has_product_rows && $show_header === "yes" && $show_bank_dropdowns === "yes") {
document.write($bank_dropdown_html);
}
if(has_product_rows && $show_header === "yes" && $show_credit_rating_dropdowns === "yes") {
document.write($credit_rating_dropdown_html);
}
if(has_product_rows && $show_header === "yes" && (($show_category_dropdowns === "yes") || ($show_bank_dropdowns === "yes") || ($show_credit_rating_dropdowns === "yes"))) {
document.write('
');
document.write('
');
document.write('
');
}
if(has_product_rows && $show_header === "yes" && $show_slider === "yes") {
document.write('
');
document.write('
');
document.write($slider_html);
document.write('
');
document.write('
');
}
if(has_product_rows && $show_header === "yes" && $show_tabs === "yes") {
document.write('
');
document.write($tabs_html);
document.write('
');
}
if (has_product_rows) {
document.write($feed_html);
document.write('
');
}
var $show_footer = "yes";
if(has_product_rows && $show_footer != "no") {
document.write('');
}
document.write('
');
if (has_product_rows) {
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 ($usegraphics_is_true) {
productheading.style.borderTopLeftRadius = "15px";
productheading.style.borderTopRightRadius = "15px";
}
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);
productbottoma.style.fontSize = $footer_font_size ;
productbottoma.style.color = $footer_text_color ;
productbottoma.style.fontWeight ="bold";
productbottoma.style.textAlign ="center";
productbottomb.style.fontSize = $footer_font_size ;
productbottomb.style.color =$footer_text_color ;
productbottomb.style.fontWeight ="bold";
productbottomb.style.textAlign ="center";
productbottomc.style.fontSize = $footer_font_size ;
productbottomc.style.color =$footer_text_color ;
productbottomc.style.fontWeight ="bold";
productbottomc.style.textAlign ="center";
productbottomd.style.fontSize = $footer_font_size ;
productbottomd.style.color =$footer_text_color ;
productbottomd.style.fontWeight ="bold";
productbottomd.style.textAlign ="center";
productbottome.style.fontSize = $footer_font_size ;
productbottome.style.color =$footer_text_color ;
productbottome.style.fontWeight ="bold";
productbottome.style.textAlign ="center";
productbottomf.style.fontSize = $footer_font_size ;
productbottomf.style.color =$footer_text_color ;
productbottomf.style.fontWeight ="bold";
productbottomf.style.textAlign ="center";
productbottomg.style.fontSize = $footer_font_size ;
productbottomg.style.color =$footer_text_color ;
productbottomg.style.fontWeight ="bold";
productbottomg.style.textAlign ="center";
productbottomh.style.fontSize = $footer_font_size ;
productbottomh.style.color =$footer_text_color ;
productbottomh.style.fontWeight ="bold";
productbottomh.style.textAlign ="center";
productbottomi.style.fontSize = $footer_font_size ;
productbottomi.style.color =$footer_text_color ;
productbottomi.style.fontWeight ="bold";
productbottomi.style.textAlign ="center";
productbottomj.style.fontSize = $footer_font_size ;
productbottomj.style.color =$footer_text_color ;
productbottomj.style.fontWeight ="bold";
productbottomj.style.textAlign ="center";
productbottomk.style.fontSize = $footer_font_size ;
productbottomk.style.color =$footer_text_color ;
productbottomk.style.fontWeight ="bold";
productbottomk.style.textAlign ="center";
productbottoml.style.fontSize = $footer_font_size ;
productbottoml.style.color =$footer_text_color ;
productbottoml.style.fontWeight ="bold";
productbottoml.style.textAlign ="center";
} else { // Middle of if($DisplayCardOfferDetails[$i] === "yes")
// productbottom.style.backgroundColor = "#CCCCCC";
//productbottom.style.backgroundColor = $footer_bg_color ;
//if($usegraphics_is_true) {
// productbottom.style.height ="2px";
//} else {
// productbottom.style.height ="1px";
//}
//productbottom.style.paddingLeft ="10px";
//productbottom.style.paddingRight ="10px";
} // End of if($DisplayCardOfferDetails[$i] === "yes")
} // END if($productcount)
} // END OF for statement
}
//load_slider();