/***********************************************
* AnyLink Drop Down Menu- (c) Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1, todays paper
var menu1=new Array()
menu1[0]='<a href="http://subscribers.uniontrib.com/daily.pdf">Today&#146;s Front Page PDF</a>'
menu1[1]='<a href="http://eedition.uniontrib.com/">eEdition</a>'
menu1[2]='<a href="http://www3.signonsandiego.com/printads/">Today&#146;s Newspaper Ads</a>'
menu1[3]='<a href="http://archives.signonsandiego.com">Archives</a>'
menu1[4]='<a href="http://www.signonsandiego.com/sosd_faq.html">FAQs</a>'
menu1[5]='<a href="http://obituaries.signonsandiego.com/">Obituaries</a>'



//Contents for menu 2, news
var menu2=new Array()
menu2[0]='<a href="http://www.signonsandiego.com/news/metro/index.html#latestnews">Latest Local News</a>'
menu2[1]='<a href="http://www.signonsandiego.com/news/metro/index.html">Metro</a>'
menu2[2]='<a href="http://www.signonsandiego.com/news/northcounty/index.html">North County</a>'
menu2[3]='<a href="http://www3.signonsandiego.com/news/southcounty/">South County</a>'
menu2[4]='<a href="http://www3.signonsandiego.com/news/eastcounty/">East County</a>'
menu2[5]='<a href="http://www.signonsandiego.com/news/mexico/tijuana/index.html">Tijuana</a>'
menu2[6]='<a href="http://www.signonsandiego.com/news/riverside/index.html">Temecula</a>'
menu2[7]='<a href="http://www.signonsandiego.com/news/state/index.html">California</a>'
menu2[8]='<a href="http://www.signonsandiego.com/news/nation/index.html">Nation</a>'
menu2[9]='<a href="http://www.signonsandiego.com/news/mexico/index.html">Mexico</a>'
menu2[10]='<a href="http://www.signonsandiego.com/news/world/iraq/index.html">Iraq</a>'
menu2[11]='<a href="http://www.signonsandiego.com/news/world/index.html">World</a>'
menu2[12]='<a href="http://www.signonsandiego.com/news/politics/index.html">Politics</a>'
menu2[13]='<a href="http://www.signonsandiego.com/news/education/index.html">Education</a>'
menu2[14]='<a href="http://www.signonsandiego.com/news/features/index.html">Features</a>'
menu2[15]='<a href="http://www.signonsandiego.com/news/military/index.html">Military</a>'
menu2[16]='<a href="http://www.signonsandiego.com/news/science/index.html">Science</a>'
menu2[17]='<a href="http://www.signonsandiego.com/news/tech/index.html">Technology</a>'
menu2[18]='<a href="http://www.signonsandiego.com/news/health/index.html">Health</a>'
menu2[19]='<a href="http://www.signonsandiego.com/news/columnists/index.html">Columnists</a>'
menu2[20]='<a href="http://www.signonsandiego.com/news/op-ed/index.html">Opinion</a>'
menu2[21]='<a href="http://obituaries.signonsandiego.com/">Obituaries</a>'



//Contents for menu 3, sports
var menu3=new Array()
menu3[0]='<a href="http://www.signonsandiego.com/sports/chargers/index.html">Chargers</a>'
menu3[1]='<a href="http://www.signonsandiego.com/sports/padres/index.html">Padres</a>'
menu3[2]='<a href="http://www.signonsandiego.com/sports/preps/index.html">High Schools</a>'
menu3[3]='<a href="http://www.signonsandiego.com/sports/preps/football/index.html">&nbsp;&#8211;&nbsp;Football</a>'
menu3[4]='<a href="http://www.signonsandiego.com/sports/preps/basketball/index.html">&nbsp;&#8211;&nbsp;Basketball</a>'
menu3[5]='<a href="http://www.signonsandiego.com/sports/aztecs/index.html">Aztecs</a>'
menu3[6]='<a href="http://www.signonsandiego.com/sports/usd/index.html">USD</a>'
menu3[7]='<a href="http://www.signonsandiego.com/sports/nfl/index.html">NFL</a>'
menu3[8]='<a href="http://www3.signonsandiego.com/sports/nba">Basketball</a>'
menu3[9]='<a href="http://www.signonsandiego.com/sports/baseball/index.html">Baseball</a>'
menu3[10]='<a href="http://www.signonsandiego.com/sports/outdoors/index.html">Outdoors</a>'
menu3[11]='<a href="http://www.signonsandiego.com/sports/golf/index.html">Golf</a>'
menu3[12]='<a href="http://forum.signonsandiego.com/upload/forumdisplay.php?&forumid=8">Sports Forums</a>'
menu3[13]='<a href="http://www3.signonsandiego.com/sports/horseracing/">Horse Racing</a>'


//Contents for menu 4, entertainment
var menu4=new Array()
menu4[0]='<a href="http://entertainment.signonsandiego.com/">Entertainment Guide</a>'
menu4[1]='<a href="http://entertainment.signonsandiego.com/sections/restaurants/">Restaurants</a>'
menu4[2]='<a href="http://entertainment.signonsandiego.com/sections/movies">Movies</a>'
menu4[3]='<a href="http://entertainment.signonsandiego.com/search/?type=event">Calendar</a>'
menu4[4]='<a href="http://entertainment.signonsandiego.com/sections/nightlife">Bars & Nightlife</a>'
menu4[5]='<a href="http://entertainment.signonsandiego.com/sections/music">Music</a>'
menu4[6]='<a href="http://entertainment.signonsandiego.com/sections/recreation/">Recreation</a>'
menu4[7]='<a href="http://entertainment.signonsandiego.com/sections/arts">The Arts</a>'
menu4[8]='<a href="http://entertainment.signonsandiego.com/visitors-guide/">Visitors Guide</a>'
menu4[9]='<a href="http://www.signonsandiego.com/entertainment/street/">Street Blog</a>'
menu4[10]='<a href="http://contests.signonsandiego.com">Contests</a>'
menu4[11]='<a href="http://entertainment.signonsandiego.com/search/guides/">Features & Guides</a>'
menu4[12]='<a href="http://www.signonsandiego.com/spas/index.php">Spas & Salons</a>'
menu4[13]='<a href="http://www.signonsandiego.com/travel/">Travel</a>'
menu4[14]='<a href="http://www.signonsandiego.com/entertainment/tvradio/index.html">TV & Radio</a>'
menu4[15]='<a href="http://www3.signonsandiego.com/feature/sudoku/">Sudoku</a>'
menu4[16]='<a href="http://www3.signonsandiego.com/feature/horoscope/">Horoscope</a>'
menu4[17]='<a href="http://www3.signonsandiego.com/feature/lottery/">Lottery</a>'
menu4[18]='<a href="http://www3.signonsandiego.com/feature/gas-prices/">Gas Prices</a>'
menu4[15]='<a href="http://www3.signonsandiego.com/feature/sudoku/">Sudoku</a>'
menu4[16]='<a href="http://www3.signonsandiego.com/feature/horoscope/">Horoscope</a>'
menu4[17]='<a href="http://www3.signonsandiego.com/feature/lottery/">Lottery</a>'
menu4[18]='<a href="http://www3.signonsandiego.com/feature/gas-prices/">Gas Prices</a>'




//Contents for menu 5, multimedia
var menu5=new Array()
menu5[0]='<a href="http://www.amplifysd.signonsandiego.com/">Amplify - Local Music</a>'
menu5[1]='<a href="http://signonradio.com">SignOn Radio Podcasts</a>'
menu5[2]='<a href="http://albums.signonsandiego.com">Photo Galleries</a>'
menu5[3]='<a href="http://video.signonsandiego.com">Video</a>'



//Contents for menu 6, forums
var menu6=new Array()
menu6[0]='<a href="http://www.signonsandiego.com/news/weblogs/index.html">Blogs</a>'
menu6[1]='<a href="http://www.signonsandiego.com/chat/index.html">Chats</a>'
menu6[2]='<a href="http://www.signonsandiego.com/news/op-ed/index.html">Opinion</a>'


//Contents for menu 7, Smart Living
var menu7=new Array()
menu7[0]='<a href="http://www3.signonsandiego.com/news/smart-living/planner/index">Smart Planner</a>'
menu7[1]='<a href="http://www3.signonsandiego.com/news/smart-living/topics/index">Smart Topics</a>'
menu7[2]='<a href="http://www3.signonsandiego.com/news/smart-living/consumer/index">Smart Consumer</a>'
menu7[3]='<a href="http://www3.signonsandiego.com/news/smart-living/moms/index">Smart Moms</a>'
menu7[4]='<a href="http://www3.signonsandiego.com/news/smart-living/style/index">Smart Style</a>'
menu7[5]='<a href="http://eldercare.uniontrib.com/">San Diego Eldercare</a>'
menu7[6]='<a href="http://www.utgreen.uniontrib.com/">Green Living</a>'
menu7[7]='<a href="http://www3.signonsandiego.com/news/health/">Health</a>'
menu7[8]='<a href="http://www.signonsandiego.com/projects2/homeimprovement/">Home Improvement</a>'
menu7[9]='<a href="http://shopping.signonsandiego.com/business.php">Shopping</a>'
menu7[10]='<a href="http://weddings.signonsandiego.com/">Weddings</a>'


//Contents for menu 8, business
var menu8=new Array()
menu8[0]='<a href="http://www.signonsandiego.com/news/business/biotech/index.html">Biotech</a>'
menu8[1]='<a href="http://www.signonsandiego.com/news/tech/index.html">Technology</a>'
menu8[2]='<a href="http://studio-5.financialcontent.com/sandiego?Page=MARKETSUMMARY">Stocks</a>'


//Contents for menu 9  jobs
var menu9=new Array()
menu9[0]='<a href="http://sdjobs.signonsandiego.com">Find A Job</a>'
menu9[1]='<a href="http://sdut.careers.adicio.com/careers/resumes">Post Your Resume</a>'
menu9[2]='<a href="http://sdut.careers.adicio.com/careers/user/login?type=js">Job Alert Emails</a>'
menu9[3]='<a href="http://careers.signonsandiego.com/jobfairs/jobfairs.php">Job Fairs</a>'
menu9[4]='<a href="http://careers.signonsandiego.com/employerguide.php">Post A Job</a>'



//Contents for menu 10  autos
var menu10=new Array()
menu10[0]='<a href="http://sdwheels.signonsandiego.com/buy-a-car.php">Buy </a>'
menu10[1]='<a href="http://sdwheels.signonsandiego.com/sell-a-car.php">Sell </a>'
menu10[2]='<a href="http://sdwheels.signonsandiego.com/research-a-car.php">Research </a>'
//menu10[3]='<a href="http://sdwheels.signonsandiego.com/news.html">News </a>'
menu10[3]='<a href="http://sdwheels.signonsandiego.com/find-a-car-dealer.php">Find A Dealer </a>'



//Contents for menu 11  realestate
var menu11=new Array()
menu11[0]='<a href="http://homes.sdmarketplace.com/">Find A Home</a>'
menu11[1]='<a href="http://homes.sdmarketplace.com/productsservices/">Place an Ad</a>'
menu11[2]='<a href="http://homes.sdmarketplace.com/san-diego-new-homes/">New Homes</a>'
menu11[3]='<a href="http://homes.sdmarketplace.com/san-diego-resale-homes/">Resale Homes</a>'
menu11[4]='<a href="http://homes.sdmarketplace.com/san-diego-rentals">Rentals</a>'
menu11[5]='<a href="http://openhomes.signonsandiego.com/">Open Homes</a>'
menu11[6]='<a href="http://homesearch.homes.sdmarketplace.com/agents/ca-usa">Find An Agent</a>'
menu11[7]='<a href="http://www.cityfeet.com/sandiego/">Commercial</a>'
menu11[8]='<a href="http://signonsandiego.interest.com/">Mortgages</a>'



//Contents for menu 12  classifieds
var menu12=new Array()
menu12[0]='<a href="https://adhome.uniontrib.com">Place Ad</a>'
//menu12[1]='<a href="http://classifieds.signonsandiego.com/ads/merchandise-pets/">Pets</a>'
menu12[2]='<a href="http://classifieds.signonsandiego.com/ads/merchandise/">Merchandise</a>'
menu12[3]='<a href="http://www.signonsandiego.com/media/kit/contact_tribune.html">Contact Us</a>'


//Contents for menu 13  sosd radio
var menu13=new Array()
menu13[0]='<a href="http://www.amplifysd.signonsandiego.com/">Amplify SD</a>'
menu13[1]='<a href="http://www.amplifysd.signonsandiego.com/">SOSD Radio</a>'
menu13[2]='<a href="http://www.amplifysd.signonsandiego.com/">SOSD Radio</a>'


//Contents for menu 14  subscribers
var menu14=new Array()
menu14[0]='<a href="https://iservice.uniontrib.com/cgi-bin/cmo_cmo.sh/custservice/web/login.html">Vacation Hold</a>'
menu14[1]='<a href="https://www.subscriber-services.com/sandiego/zipcheck.asp?pid=10">Subscribe to the U-T</a>'
menu14[2]='<a href="http://eedition.uniontrib.com">eEdition of the U-T</a>'
//menu14[3]='<a href="http://www.signonsandiego.com/myuniontrib/channelguide/">Channel Guide</a>'
menu14[3]='<a href="http://www.signonsandiego.com/myuniontrib/">Subscriber Services</a>'
//menu14[2]='<a href="http://www.signonsandiego.com/myuniontrib/">Subscriber FAQs</a>'
menu14[4]='<a href="http://contests.signonsandiego.com">U-T Perks</a>'
menu14[5]='<a href="http://archives.signonsandiego.com">Archives</a>'
menu14[6]='<a href="http://membership.signonsandiego.com/">Subscribe to Newsletters</a>'


//Contents test
var menu15=new Array()
menu15[0]='<a href="http://www.amplifysd.signonsandiego.com/">Amplify SD</a>'
menu15[1]='<a href="http://www.amplifysd.signonsandiego.com/">SOSD Radio</a>'

var menuwidth='150px' //default menu width
var menubgcolor='#333333'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

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="-500px"
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


