var NS4;
if (navigator.appName == "Netscape" && parseInt(navigator.appVersion) < 5) {
NS4 = true;
}
if (NS4) {
defaultStatus= "Please note this site is optimized for newer browsers.";
} else {
}

function showdiv(thediv) {
if(NS4) {
if (thediv=="buyers") {
location.href="http://www.vickyolive.com/buyers/";
} else if (thediv=="sellers") {
location.href="http://www.vickyolive.com/sellers/";
} else if (thediv=="durham") {
location.href="http://www.vickyolive.com/communities/";
} else if (thediv=="chatham") {
location.href="http://www.vickyolive.com/communities/";
} else if (thediv=="chapel") {
location.href="http://www.vickyolive.com/communities/";
} else if (thediv=="calendarevents") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="outdoorevents") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="calendarevents") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="historicaladventures") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="artsentertainment") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="forkids") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="stateparks") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="sports") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="farmersmarket") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="communitysites") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="newspapers") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="healthcare") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="schools") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="colleges") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="organizations") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="homeowners") {
location.href="http://www.vickyolive.com/ns4/";
} else if (thediv=="misc") {
location.href="http://www.vickyolive.com/ns4/";
} else {
document.getElementById(thediv).style.display="block";
}
}
document.getElementById(thediv).style.display="block";
}
function hidediv(thediv) {
document.getElementById(thediv).style.display="none";
}

function checkLinks() {
for (i=0; i<=(document.links.length-1); i++) {
if (document.links[i].hostname.indexOf("vickyolive.com")==-1) {
if (document.links[i].hostname.indexOf("4-sale-by-owner-nc.com")==-1) {
if (document.links[i].hostname.indexOf("chathamcounty-nc.com")==-1) {
if (document.links[i].hostname.indexOf("woodcroft-nc.com")==-1) {
if (document.links[i].hostname.indexOf("downingcreek-nc.com")==-1) {
if (document.links[i].hostname.indexOf("fairfield-nc.com")==-1) {
if (document.links[i].hostname.indexOf("falconbridge-nc.com")==-1) {
if (document.links[i].hostname.indexOf("lakehurst-nc.com")==-1) {
if (document.links[i].hostname.indexOf("marydell-nc.com")==-1) {
if (document.links[i].hostname.indexOf("surrygreen-nc.com")==-1) {
if (document.links[i].hostname.indexOf("parkwood-nc.com")==-1) {
if (document.links[i].hostname.indexOf("hopevalley-nc.com")==-1) {
if (document.links[i].hostname.indexOf("hopevalleyfarms-nc.com")==-1) {
if (document.links[i].hostname.indexOf("woodlake-nc.com")==-1) {
if (document.links[i].hostname.indexOf("croasdaile-nc.com")==-1) {
if (document.links[i].hostname.indexOf("chapel-hill-nc.com")==-1) {
if (document.links[i].hostname.indexOf("carrboro-nc.com")==-1) {
if (document.links[i].hostname.indexOf("fearrington-nc.com")==-1) {
if (document.links[i].hostname.indexOf("jordanlake-nc.com")==-1) {
if (document.links[i].hostname.indexOf("chancellorsridge-nc.com")==-1) {
if (document.links[i].hostname.indexOf("audubonpark-nc.com")==-1) {
if (document.links[i].hostname.indexOf("hillsborough-nc.com")==-1) {
if (document.links[i].hostname.indexOf("golfhomes-nc.com")==-1) {
if (document.links[i].hostname.indexOf("localhost")==-1) {
if (document.links[i].href.indexOf("http:")!=-1) {
document.links[i].target="_blank";
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
