// JavaScript Document

<!-- Preload Images -->


homeoff=new Image(15,16)
homeoff.src="images/home.gif"
homeon=new Image(15,16)
homeon.src="images/homeon.gif"

favoriteoff=new Image(20,17)
favoriteoff.src="images/favoriteoff.gif"
favoriteon=new Image(20,17)
favoriteon.src="images/favoriteon.gif"



// Stop hiding -->

<!-- Roll over script for the menu -->

function rollpic(img_name,img_src) {
document[img_name].src=img_src;
}

// end rollover function -->

<!-- Status bar effects -->

wel="Credit Cards : Compare Credit Card Offers ::: IngoldCreditCards.com";
hom="Return to Unsecured Credit Cards ::: IngoldCreditCards.com";
tel="Do your friends a favor... Tell them about Ingold Credit Cards.com";
fav="Put IngoldCreditCards.com in your favorites for easy access later";
low="Low Interest Credit Cards ::: IngoldCreditCards.com";
lowintro="Click here for credit cards with Low Introductory APR's";
cashback="Cash Back Credit Cards ::: IngoldCreditCards.com";
miles="Airline Credit Cards ::: IngoldCreditCards.com";
rewards="Reward Credit Cards ::: IngoldCreditCards.com";
paid="Prepaid : Secured Credit Cards ::: IngoldCreditCards.com";
business="Business Credit Cards ::: IngoldCreditCards.com";
student="Student Credit Cards ::: IngoldCreditCards.com";
balance="Balance Transfer Credit Cards ::: IngoldCreditCards.com";
instant="Instant Approval Credit Cards ::: IngoldCreditCards.com";
unsec="Unsecured Credit Cards ::: IngoldCreditCards.com";
thisbank="Click here for all the credit cards we offer from this bank or credit card issuer";
badcredit="Credit Cards for People with Bad Credit ::: IngoldCreditCards.com";
goodcredit="Credit Cards for People with Good to Excellent Credit Scores";
cardpic="Take a look at the suggested credit card for this category";
web="ingolddesign.com - We build affordable, custom websites... Let us get started on yours!";
hostit="ingoldhosting.com - Affordable Hosting Solutions... Let us host on your site!";
searchcard="We'll find credit cards that will approve you before you apply... Guaranteed!";
info="Get more information on this Credit Card";
apply="Online Applications for these Unsecured Credit Cards! Apply On-Line Now!";
repair="Cleaning up your credit is easier and cheaper than you may think... Let us help!";
reports="You need to know what is on your credit report... They do! Get your FREE Credit Report Today!";
debt="Lower Your Monthly Payments - Let us help you with Debt Consolidation";
aboutus="About Us ::: IngoldCreditCards.com";
contactus="Feel free to contact us with any questions, comments or suggestions you may have!";
disclaimer="Disclaimer and Privacy Policy ::: IngoldCreditCards.com";
pickacard="Things you should about selecting a credit card";
score="How do you rate..? Find out what your Credit Score is NOW!";
reestablish="Things you need to do to Reestablish a Good Credit Rating";
terms="Words and terms associated credit cards";
fair="FAIR CREDIT REPORTING ACT";

amex="American Express Credit Cards and Information ::: IngoldCreditCards.com";
dis="Discover Credit Cards and Information ::: IngoldCreditCards.com";
hsbc="HSBC Credit Cards and Information ::: IngoldCreditCards.com";
pulaski="Pulaski Bank Credit Cards and Information ::: IngoldCreditCards.com";
mas="Mastercard Credit Cards and Information ::: IngoldCreditCards.com";
vis="VISA Credit Cards and Information ::: IngoldCreditCards.com";

fcs="Don't Have Time? Let us Find the Best Credit Cards for you!";

// end status bar effects -->

<!-- Disable right click -->

 function noRightClick() {
 if (event.button==2) {
 alert('The "Right Click" function has been disabled')
 }
 }
 document.onmousedown=noRightClick
// end no right click -->

<!-- Script for Date -->

    month = new Array(12);
      month[0]="January"
      month[1]="February"
      month[2]="March"
      month[3]="April"
      month[4]="May"
      month[5]="June"
      month[6]="July"
      month[7]="August"
      month[8]="September"
      month[9]="October"
      month[10]="November"
      month[11]="December"

    day = new Array(7);
      day[0]="Sunday"
      day[1]="Monday"
      day[2]="Tuesday"
      day[3]="Wednesday"
      day[4]="Thursday"
      day[5]="Friday"
      day[6]="Saturday"

today=new Date();
dy=today.getDay();
date=today.getDate();
mo=today.getMonth();
yr=today.getFullYear();

  // end date --->
  
<!-- Check the Tell a Friend form -->
function checkform ( tell )
{
    // ** START **
    if (tell.fname.value == "") {
        alert( "Please enter your Name" );
        tell.fname.focus();
        return false ;
    }
    if (tell.email.value == "") {
        alert( "Please enter your Email Address" );
        tell.email.focus();
        return false ;
    }
    if (tell.ffname.value == "") {
        alert( "Please enter your Friend\'s Name" );
        tell.ffname.focus();
        return false ;
    }
    if (tell.femail.value == "") {
        alert( "Please enter your Friend\'s Email" );
        tell.femail.focus();
        return false ;
    }

    if (tell.comments.value == "") {
        alert( "Please enter your Comments" );
        tell.comments.focus();
        return false ;
    }
	return true ;
}
// ** END **



function switchpic(imagename,objectsrc){
if (document.images)
document.images[imagename].src=eval(objectsrc+".src")
}


function openpopup(){
var popurl="contact-us.htm"
winpops=window.open(popurl,"","left=150,top=50,scrollbars=no, width=468,height=455,")
}

<!-- Check the Contact Us form -->

function checkcontact ( contact )
{
    // ** START **
    if (contact.fname.value == "") {
        alert( "Please enter your First Name" );
        contact.fname.focus();
        return false ;
    }
    if (contact.lname.value == "") {
        alert( "Please enter your Last Name" );
        contact.lname.focus();
        return false ;
    }
    if (contact.email.value == "") {
        alert( "Please enter your Email Address" );
        contact.email.focus();
        return false ;
    }

    if (contact.comments.value == "") {
        alert( "Please enter your Comments" );
        contact.comments.focus();
        return false ;
    }

    // ** END **
	return true ;
}
// ** END **

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

