var how_many_ads = 7;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt="";
url="child.html";
alt="Raising a child can be difficult especially when behavorial problems or circumstances seem beyond your ability. Child Therapy can help to indentify and deal with the cause and help you be a more effective parent --- LEARN MORE";
banner="images/ch3bnr.jpg";
width="450";
height="185";
}
if (ad==2) {
txt="";
url="couples.html";
alt="Couples therapy can you and your significant other the skills to communicate more openly and overcome life's obstacles --- LEARN MORE";
banner="images/nybnr4.jpg";
width="450";
height="185";
}
if (ad==3) {
txt="";
url="teen.html";
alt="Teenagers face a multitude of situations and obstacles in their lives. Teen therapy can help you and them communicate more effectively and identify the real issues that need to be addressed -- LEARN MORE";
banner="images/nybnr1.jpg";
width="450";
height="185";
}
if (ad==4) {
txt="";
url="menstherapy.html";
alt="Men's Therapy giving you the tools to overcome life's challenges --- LEARN MORE";
banner="images/nybnr2.jpg";
width="450";
height="185";
}
if (ad==5) {
txt="";
url="adult.html";
alt="Individual therapy can help you to achieve and clarify your life goals, and overcome the obstacles that have been keeping you from your full potential --- LEARN MORE";
banner="images/a3bnr.jpg";
width="450";
height="185";
}
if (ad==6) {
txt="";
url="divorce.html";
alt="Divorce effects every member of the family. Divorce therapy can equip you with the tools to get through this difficult time --- LEARN MORE";
banner="images/d2bnr.jpg";
width="450";
height="185";
}
if (ad==7) {
txt="";
url="womenstherapy.html";
alt="Women's Therapy: helping you to overcome life's obstacles and achieve your goals --- LEARN MORE";
banner="images/nybnr3.jpg";
width="450";
height="185";
}



document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_top\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');