var findhomejsdd=["new Array()"];
findhomejsdd[0]='<a href="http://www.househunt.com/real-estate/Oklahoma-Single-Family-Homes">Oklahoma Single Family Homes</a>';
findhomejsdd[1]='<a href="http://www.househunt.com/real-estate/Oklahoma-Condos-Townhomes">Oklahoma Townhouse/Condos</a>';
findhomejsdd[2]='<a href="http://www.househunt.com/real-estate/Oklahoma-Vacant-Land">Oklahoma Land</a>';
findhomejsdd[3]='<a href="http://www.househunt.com/community-living/">Search Real Estate by Community</a>';
findhomejsdd[4]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=BE"> &nbsp; &ndash; Beach Property</a>';
findhomejsdd[5]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=WF"> &nbsp; &ndash; Waterfront Property</a>';
findhomejsdd[6]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=RS"> &nbsp; &ndash; Oklahoma Resorts</a>';
findhomejsdd[7]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=RT"> &nbsp; &ndash; Retirement Homes</a>';
findhomejsdd[8]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=FA"> &nbsp; &ndash; Ranch &amp; Farm Property</a>';
findhomejsdd[9]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=CL"> &nbsp; &ndash; City Living</a>';
findhomejsdd[10]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=SU"> &nbsp; &ndash; Suburbs in Oklahoma</a>';
findhomejsdd[11]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=GO"> &nbsp; &ndash; Golf &amp; Tennis</a>';
findhomejsdd[12]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=IA"> &nbsp; &ndash; Investment Properties</a>';
findhomejsdd[13]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=NS"> &nbsp; &ndash; New Homes</a>';
findhomejsdd[14]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=PL"> &nbsp; &ndash; Master Planned Communities</a>';
findhomejsdd[15]='<a href="http://www.househunt.com/community-living/types.php?st=OK&type=GA"> &nbsp; &ndash; Gated Communities</a>';


var findagentjsdd=["new Array()"];
findagentjsdd[0]='<a href="http://www.househunt.com/real-estate-agents/st.php?st=OK">Oklahoma Real Estate Agents</a>';


var mortgagejsdd=["new Array()"];
mortgagejsdd[0]='<a href="http://www.househunt.com/loan-cal.htm">Mortgage Calculators:</a>';
mortgagejsdd[1]='<a href="http://www.househunt.com/real-estate/mortgage-qualifier.htm"> &nbsp; &ndash; Mortgage-Qualifier</a>';
mortgagejsdd[2]='<a href="http://www.househunt.com/real-estate/mortgage-refinancing.htm"> &nbsp; &ndash; Mortgage Refinancing</a>';
mortgagejsdd[3]='<a href="http://www.househunt.com/real-estate/mortgage-pay-off.htm"> &nbsp; &ndash; Mortgage Pay-Off</a>';
mortgagejsdd[4]='<a href="http://www.househunt.com/real-estate/rent-vs-buy-calculator.htm"> &nbsp;  &ndash; Rent vs. Buy Homes</a>';


var neighborhoodjsdd=["new Array()"];
neighborhoodjsdd[0]='<a href="http://www.househunt.com/demographics/state.php?state=Oklahoma">Oklahoma Neighborhood Info</a>';
neighborhoodjsdd[1]='<a href="http://www.househunt.com/schools/ok.htm">Schools In Oklahoma</a>';
neighborhoodjsdd[2]='<a href="http://www.moveup.com">Check Your Home Value</a>';


var statsjsdd=["new Array()"];
statsjsdd[0]='<a href="http://www.househunt.com/realestate-markettrends/OK">Oklahoma Real Estate Trends</a>';


var newsjsdd=["new Array()"];
newsjsdd[0]='<a href="http://www.househunt.com/reports/">Real Estate Advice</a>';
newsjsdd[1]='<a href="http://www.househunt.com/news-realestate/2010/01/buying-into-a-recovery/">Buying Into a Recovery!</a>';
newsjsdd[2]='<a href="http://www.househunt.com/news-realestate/2010/01/breaking-news-obama-signs-homebuyer-tax-credit-extension/">Homebuyer Tax Credit Extension</a>';
newsjsdd[3]='<a href="http://www.househunt.com/news-realestate/2010/01/the-new-short-sale-new-government-policy-to-help-financially-troubled-homeowners-mortgage-companies-avoid-foreclosures/">The New Short Sale</a>';
newsjsdd[4]='<a href="http://www.househunt.com/reports/press-releases/nov09.htm">Tax Credit Extension</a>';
newsjsdd[5]='<a href="http://www.househunt.com/real-estate/FHA_Limits/">FHA Loan &amp; Mortgage Limits</a>';
newsjsdd[6]='<a href="http://www.househunt.com/news-realestate/category/top-news/">Breaking News</a>';
newsjsdd[7]='<a href="http://www.househunt.com/news-realestate/category/real-estate-news/">Real Estate News</a>';
newsjsdd[8]='<a href="http://www.househunt.com/news-realestate/category/mortgage-news/">Mortgage News</a>';



var menuwidth='170px'; //default menu width
var menubgcolor='#fff';  //menu bgcolor
var disappeardelay=250;  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes"; //hide menu when user clicks within menu?
 
var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="300px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}

function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

