// Banner change for HOUSE PIC and ADDRESS with Hyperlink ------------------------------------------------------------------------------------------------------------------------------
var bannerArrayPic = new Array();
var myCount=0;
// Banner Code Assignment

bannerArrayPic[0] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/16/hr2330616-20.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>13303 Ravenroost, Zip code 77429<br> $130,000</A>";

bannerArrayPic[1] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/04/hr2235304-4.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>8518 Banting, zip code 77078<br> $60,000 </A>";

bannerArrayPic[2] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/45/hr2453645-5.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>25930 Hopson Meadows, Zip code 77<br> $145,000</A>";

bannerArrayPic[3] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/89/hr2423689-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>5842 Ettrick Dr , Zip code 77035<br> $135,000</A>";

bannerArrayPic[4] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/95/hr2309395-4.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>6607 Foxfern, Zip code 77049<br> $105,000</A>";

bannerArrayPic[5] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/65/hr2376465-5.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>7409 Greenstone, Zip code 77087<br> $95,000</A>";

bannerArrayPic[6] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/49/hr2177249-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>4166 Amir, Zip code 77072<br> $100,000</A>";

bannerArrayPic[7] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/42/hr2419842-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>5018 Van Fleet St, Zip code 77033<br> $80,000</A>";

bannerArrayPic[8] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/56/hr2163856-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>609 Kane, Zip code 77375<br> $110,000</A>";

bannerArrayPic[9] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/95/hr2467895-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>6677 Kentwick, Zip code 77084<br> $85,000</A>";

bannerArrayPic[10] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/18/hr2430118-9.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>2105 Norman, Zip code 77506<br> $75,000</A>";

bannerArrayPic[11] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/31/hr2445531-40.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>8410 Collingsdale, Zip code 77571<br> $120,000</A>";

bannerArrayPic[12] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/82/hr2440582-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>18711 Lakeshire, Zip code 77346<br> $110,000</A>";

bannerArrayPic[13] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/07/hr2440107-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>17307 Eden Ct., Zip code 77379<br> $110,000</A>";

bannerArrayPic[14] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/78/hr2430078-3.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>7130 Redwood Falls, Zip code 77505<br> $170,000</A>";

bannerArrayPic[15] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/97/hr1960297-2.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>5014 Lockwood, Zip code 77026<br> $110,000</A>";

bannerArrayPic[16] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/20/hr2185120-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>13838 Hershe, Zip code 77015<br> $60,000</A>";

bannerArrayPic[17] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/21/hr2419721-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>20025 Peel, Zip code 77356<br> $75,000</A>";

//bannerArrayPic[18] = "<A //HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/39/hr2426439-4.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>8115 //Braesview, Zip code 77071<br> $145,000</A>";

bannerArrayPic[18] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/09/hr2432309-2.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>4014 Fernwood, Zip code 77021<br> $399,000</A>";

bannerArrayPic[19] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/88/hr2433888-4.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>FM 1942, Zip code 77532<br> $300,000</A>";

bannerArrayPic[20] = "<A HREF=\"http://www.har.com/AWS/AWSF.cfm?tgt=http%3A%2F%2Fsearch%2Ehar%2Ecom%2Fidx%2FdoSearch%2Ecfm%3Fleadid%3D3%26ALLMLS%3DN%26siteType%3DAWS%26cid%3D510792\"><IMG SRC=\"http://harpictures.marketlinx.com/MediaDisplay/38/hr2274938-1.jpg\" border=\"0\" width=\"320\" height=\"240\"><br>5909 Senior, Zip code 77016<br> $30,000</A>";

function bannerRotatePic() {

if(myCount > bannerArrayPic.length-1){myCount=0;}

// Write out rotation
if (document.all){ // it is IE
document.all.l6.innerHTML=bannerArrayPic[myCount];
}

else if (document.layers){ // it is NN

document.layers.l4.document.layers.l5.document.open();
document.layers.l4.document.layers.l5.document.write(bannerArrayPic[myCount]);
document.layers.l4.document.layers.l5.document.close();
}
setTimeout("bannerRotatePic()", 4000);
myCount++;
}

// Banner change for text QUOTE OF THE DAY------------------------------------------------------------------------------------------------------------------------------
var d=new Date();

var bannerArray = new Array();

// var myCount=d.getDay();  //0

var myCount=d.getDate();

var weekday=new Array(7);
weekday[0]="Sunday";
weekday[1]="Monday";
weekday[2]="Tuesday";
weekday[3]="Wednesday";
weekday[4]="Thursday";
weekday[5]="Friday";
weekday[6]="Saturday";

// document.write("Today it is " + weekday[d.getDay()]);


// Banner Code Assignment
bannerArray[0] = "A bend in the road is not the end of the road... unless you fail to make the turn. ";
bannerArray[1] = "A leader is a man who can adapt principles to circumstances.<br><br>   ";
bannerArray[2] = "Don't judge each day by the harvest you reap but by the seeds that you plant.      ";
bannerArray[3] = "We are what we repeatedly do. Excellence, then, is not an act, but a habit.          ";
bannerArray[4] = "I believe the true road to preeminent success in any line is to make yourself the master of that line.";
bannerArray[5] = "Life will give you what you attract with your thoughts and earn by your actions! ";
bannerArray[6] = "Insanity is continuing to do the same things over and over and expecting different results! ";
bannerArray[7] = "If you don't know where you are going, you'll end up somewhere else! ";
bannerArray[8] = "Your situation will NOT improve if you do nothing about it! ";
bannerArray[9] = "Ability is what you're capable of doing. Motivation determines what you do. Attitude determines how well you do it. ";
bannerArray[10] = "If you can't explain it simply, you don't understand it well enough. ";
bannerArray[11] = "For every adversity there is an equal or greater  opportunity! ";
bannerArray[12] = "Success is easily available to all who want it, believe they can have it, and put their desires into action! ";
bannerArray[13] = "Adversity is the first path to truth.<br><br>";
bannerArray[14] = "The secret of getting ahead is getting started!<br><br>";
bannerArray[15] = "It's just a matter of believing it is possible and becoming determined to create the life you desire!";
bannerArray[16] = "Can you imagine what I would do if I could do all I can?<br><br>";
bannerArray[17] = "Action may not always bring happiness, but there is no happiness without action!";
bannerArray[18] = "Pain is inevitable.  Suffering is optional.<br><br>";
bannerArray[19] = "If you're going through hell, keep going.<br><br>";
bannerArray[20] = "The only thing that overcomes hard luck is hard work.<br><br>";
bannerArray[21] = "We acquire the strength we have overcome.<br><br>";
bannerArray[22] = "Some of God's greatest gifts are unanswered prayers.<br><br>";
bannerArray[23] = "I ask not for a lighter burden, but for broader shoulders.<br><br>";
bannerArray[24] = "Turn your wounds into wisdom.<br><br>";
bannerArray[25] = "If you want to forget all your other troubles, wear too tight shoes.<br><br>";
bannerArray[26] = "Sometimes the littlest things in life are the hardest to take.  You can sit on a mountain more comfortably than on a tack.";
bannerArray[27] = "If you can find a path with no obstacles, it probably doesn't lead anywhere.";
bannerArray[28] = "As long as you keep getting born, it's alright to die some times.<br><br>";
bannerArray[29] = "Smooth seas do not make skillful sailors.<br><br>";
bannerArray[30] = "There is no education like adversity.<br><br>";
bannerArray[31] = "He who has a why to live can bear almost any how.<br><br>";
bannerArray[32] = "The written Chinese word for <u>crisis</u> is made of two symbols: one represents danger and the other represents opportunity.";
bannerArray[33] = "Life gives you what you sincerely want!<br><br> ";                                                    
bannerArray[34] = "If YOU don't believe in yourself or your ideas, you'll never convince anyone else to believe in them! ";
bannerArray[35] = "It's what you do when you don't have to that will determine what you become when you can no longer help it! ";
bannerArray[36] = "All our dreams can come true - if we have the courage to pursue them.";
bannerArray[37] = "The difficulties of life are intended to make us better, not bitter.<br><br>";




function bannerRotate() {

if(myCount > bannerArray.length-1){myCount=0;}

// Write out rotation
if (document.all){ // it is IE
document.all.l3.innerHTML=bannerArray[myCount];
}

else if (document.layers){ // it is NN

document.layers.l1.document.layers.l2.document.open();
document.layers.l1.document.layers.l2.document.write(bannerArray[myCount]);
document.layers.l1.document.layers.l2.document.close();
}
setTimeout("bannerRotate()", 30000);
myCount++;
}



