
var menu4=new Array()
menu4[0]='<a href="adopt_services.jsp"  ONMOUSEOVER="service_label8();"  ONMOUSEOUT="hideddrivetip();"><font color=white>Inhabit a Star</font></a>'
menu4[1]='<a href="add_new_media.jsp"  ONMOUSEOVER="service_label15();"  ONMOUSEOUT="hideddrivetip();"><font color=white><nobr>Add New Media to the Sky</nobr></font></a>'
menu4[2]='<a href="adopt_services.jsp?iii=gift"  ONMOUSEOVER="gift_label();"  ONMOUSEOUT="hideddrivetip();"><font color=white>A Star is the Best Gift!</font></a>'
var menu1=new Array();menu1[0]='<a href="javascript:img_source=\'DSS2\';updateImages();"  ONMOUSEOVER="dss2_label();"  ONMOUSEOUT="hideddrivetip();"><b><font color=white>DSS2 All Sky Survey</font></b></a>';menu1[1]='<a href="javascript:img_source=\'SDSS\';updateImages();"  ONMOUSEOVER="sdss_label();"  ONMOUSEOUT="hideddrivetip();"><b><font color=white>SDSS-III Sloan Digital Sky Survey</font></b></a>';menu1[2]='<a href="javascript:img_source=\'IRAS\';updateImages();"  ONMOUSEOVER="iras_label();"  ONMOUSEOUT="hideddrivetip();"><font color=white>Infrared Sky Survey (IRAS)</font></a>';menu1[3]='<a href="javascript:img_source=\'HALPHA\';updateImages();"  ONMOUSEOVER="halpha_label();"  ONMOUSEOUT="hideddrivetip();"><font color=white>H-Alpha Sky Survey</font></a>';menu1[4]='<a href="javascript:img_source=\'RASS\';updateImages();"  ONMOUSEOVER="rass_label();"  ONMOUSEOUT="hideddrivetip();"><font color=white>X-Ray Sky Survey (RASS3)</font></a>';menu1[5]='<a href="javascript:img_source=\'GALEX\';updateImages();"  ONMOUSEOVER="galex_label();"  ONMOUSEOUT="hideddrivetip();"><font color=white>Ultraviolet Sky Survey (GALEX)</font></a>';menu1[6]='<a href="javascript:img_source=\'IMG_all\';updateImages();"  ONMOUSEOVER="photosurvey_label();"  ONMOUSEOUT="hideddrivetip();"><font color=white>Astro Photo Survey</font></a>';menu1[7]='<a href="javascript:img_source=\'\';updateImages();"><b><font color=white>SKY-MAP</font><font color=red face=Arial>.ORG</font></b></a>';menu1[8]='<a href="javascript:img_source=\'SDSS7\';updateImages();"  ONMOUSEOVER="sdss_label();"  ONMOUSEOUT="hideddrivetip();"><b><font color=white>SDSS-II (Data Release 7)</font></b></a>';menu1[9]='<a><font color=white size=-1 style=\'font-size:7pt;font-weight:normal;\'>More surveys are coming...</font></a>';function getWhite(){return'#FFFFFF'}
function getGray(){return'#B0B0B0'}
function getUnderline(){return'underline'}
function getNone(){return'none'}
function get200px(){return'200px'}
var menuS=new Array();menuS[0]='<a href="javascript:img_source=\'DSS2\';updateImages();" style="color:#B0B0B0;text-decoration:none;" ONMOUSEOVER="this.style.color=getWhite();this.style.textDecoration=getUnderline();dss2_label();"  ONMOUSEOUT="this.style.color=getGray();this.style.textDecoration=getNone();hideddrivetip();">Open Sponsor&#8217;s Website</a>';menuS[1]='<a href="javascript:img_source=\'DSS2\';updateImages();" style="color:#B0B0B0;text-decoration:none;" ONMOUSEOVER="this.style.color=getWhite();this.style.textDecoration=getUnderline();dropdownmenu1(this, event, top_sponsors, get200px());"  ONMOUSEOUT="this.style.color=getGray();this.style.textDecoration=getNone();hideddrivetip();">20 Latest Top Sponsors</a>';menuS[2]='<a href="javascript:img_source=\'IRAS\';updateImages();" style="color:#B0B0B0;text-decoration:none;" ONMOUSEOVER="this.style.color=getWhite();this.style.textDecoration=getUnderline();iras_label();"  ONMOUSEOUT="this.style.color=getGray();this.style.textDecoration=getNone();hideddrivetip();">The Sky of All Top Sponsors</a>';menuS[3]='<a href="javascript:img_source=\'HALPHA\';updateImages();" style="color:#B0B0B0;text-decoration:none;" ONMOUSEOVER="this.style.color=getWhite();this.style.textDecoration=getUnderline();halpha_label();"  ONMOUSEOUT="this.style.color=getGray();this.style.textDecoration=getNone();hideddrivetip();">How to Become a Top Sponsor?</a>';menuS[4]='<a href="javascript:img_source=\'RASS\';updateImages();" style="color:#B0B0B0;text-decoration:none;" ONMOUSEOVER="this.style.color=getWhite();this.style.textDecoration=getUnderline();rass_label();"  ONMOUSEOUT="this.style.color=getGray();this.style.textDecoration=getNone();hideddrivetip();">Why to Sponsor SKY-MAP?</a>';menuS[5]='<a href="javascript:img_source=\'IMG_all\';updateImages();" style="color:#B0B0B0;text-decoration:none;" ONMOUSEOVER="this.style.color=getWhite();this.style.textDecoration=getUnderline();photosurvey_label();"  ONMOUSEOUT="this.style.color=getGray();this.style.textDecoration=getNone();hideddrivetip();">> Shoot Your Star!</a>';var menu2=new Array()
menu2[0]='<a href="http://cnn.com">CNN</a>'
menu2[1]='<a href="http://msnbc.com">MSNBC</a>'
menu2[2]='<a href="http://news.bbc.co.uk">BBC News</a>'
var menu3=new Array()
menu3[0]='<a href="http://news.com">News.com</a>'
menu3[1]='<a href="http://wired.com">Wired</a>'
menu3[2]='<a href="http://news.bbc.co.uk/2/hi/technology/default.stm">BBC Technology</a>'
var menuwidth='165px'
var menubgcolor='black'
var menubgcolor1='#404040'
var disappeardelay=250
var hidemenu_onclick="yes"
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>')
document.write('<div id="dropmenudiv1" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor1+'" 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){edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure)
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 dropdownmenu1(obj,e,menucontents,menuwidth){if(window.event)event.cancelBubble=true
else if(e.stopPropagation)e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById?document.getElementById("dropmenudiv1"):dropmenudiv1
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
