//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_funvoice.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">FunVoice&#8482;</font></a>'
menu1[1]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_callertunes.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">CallerTunes&#8482;</font></a>'
menu1[2]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_bubbletalk.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">BubbleTalk&#8482;</font></a>'
menu1[3]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_friendfinder.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Friend Finder</font></a>'
menu1[4]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_xms.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">XMS</font></a>'
menu1[5]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_liveTraffic.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Live Traffic Info</font></a>'
menu1[6]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_mobiletv.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">MobileTv&#8482;</font></a>'
menu1[7]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_wapportal.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Wap Portal</font></a>'
menu1[8]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_marveldownload.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Marvel Downloads</font></a>'
menu1[9]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_games.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Games</font></a>'
menu1[10]='<a href="http://202.71.107.161/m4/digi/digiservices/m88/digi_ringtonesmore.asp" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Ringtones,Wallpapers & more</font></a>'
var menuwidth='196px' //default menu width
var menubgcolor='#ffffff'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

var menu2=new Array()
menu2[0]='<a href="http://www.mobile88.com/news/index.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">News</font></a>'
menu2[1]='<a href="http://www.mobile88.com/news/coverstory.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Features</font></a>'
menu2[2]='<a href="http://www.mobile88.com/blog/" target="digiWindows"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Blog</font></a>'
menu2[3]='<a href="http://www.mobile88.com/news/events.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Event</font></a>'

var menu3=new Array()
menu3[0]='<a href="http://www.mobile88.com/forum_2000/"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Forum</font></a>'
menu3[1]='<a href="http://www.mobile88.com/mobilegallery/camerashotsupload.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Photo Gallery</font></a>'
menu3[2]='<a href="http://www.mobile88.com/contest/result.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Contest Result</font></a>'

var menu4=new Array()
menu4[0]='<a href="http://www.mobile88.com/mobilegallery/"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Gallery</font></a>'
menu4[1]='<a href="http://www.mobile88.com/eprice/"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Price List</font></a>'
menu4[2]='<a href="http://www.mobile88.com/mobilegallery/reviews.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Reviews</font></a>'
menu4[3]='<a href="http://www.mobile88.com/mobilegallery/phonerank.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Top 15</font></a>'
menu4[4]='<a href="http://www.mobile88.com/mobilegallery/phonesearch.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Compare / Finder</font></a>'
menu4[5]='<a href="http://www.mobile88.com/mobilegallery/gallery.asp?searchkey=Y&Phone3G=2"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">3G Phone</font></a>'
menu4[6]='<a href="http://www.mobile88.com/mobilegallery/gallery.asp?searchkey=Y&mp3=1"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">MP3 / Music</font></a>'
menu4[7]='<a href="http://www.mobile88.com/mobilegallery/gallery.asp?searchkey=Y&camera=1"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Camera</font></a>'

var menu5=new Array()
menu5[0]='<a href="http://www.mobile88.com/software/bestseller.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Best Seller</font></a>'
menu5[1]='<a href="http://www.mobile88.com/software/new.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">New Release</font></a>'
menu5[2]='<a href="http://www.mobihand.com/mobile88/platformMain.asp?section=specials"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Special Offers</font></a>'
menu5[3]='<a href="http://mobihand.com/mobile88/platformMain.asp?platform=4"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Symbian</font></a>'
menu5[4]='<a href="http://www.mobile88.com/news/events.asp"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Windows Smartphone</font></a>'
menu5[5]='<a href="http://mobihand.com/mobile88/platformMain.asp?platform=2"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Pocket PC</font></a>'
menu5[6]='<a href="http://mobihand.com/mobile88/platformMain.asp?platform=1"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Palm OS</font></a>'

var menu6=new Array()
menu6[0]='<a href="http://www.smsbunny.com/mobile88/poly.php"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Ringtones</font></a>'
menu6[1]='<a href="http://www.smsbunny.com/mobile88/animated.php"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Animated Graphic</font></a>'
menu6[2]='<a href="http://www.smsbunny.com/mobile88/color.php"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Color Graphic</font></a>'
menu6[3]='<a href="http://www.smsbunny.com/mobile88/themeindex.php"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Mobile Theme</font></a>'
menu6[4]='<a href="http://www.smsbunny.com/mobile88/game.php"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Mobile Games</font></a>'

var menu7=new Array()
menu7[0]='<a href="http://www.mobile88.com/XChange/ListXChange.asp?XChangeType=Auction"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Auction</font></a>'
menu7[1]='<a href="http://www.mobile88.com/XChange/ListXChange.asp?XChangeType=Sell"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">For Sale</font></a>'
menu7[2]='<a href="http://www.mobile88.com/XChange/ListXChange.asp?XChangeType=Wanted"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Wanted</font></a>'
menu7[3]='<a href="http://www.mobile88.com/XChange/ListXChange.asp?XChangeType=Exchange"><img src="p_m88digi/arrow.gif" border="0"><font color="#333333">Exchange</font></a>'



/////No further editting needed

var ie4=document.all
var ie5_5=typeof dropmenuiframe=='undefined'? 0 : 1
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="z-index:100;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'
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover") {
obj.visibility=visible
unhideIframe() }
else if (e.type=="click") {
setTimeout("hideIframe();",0);
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"
unhideIframe()
}

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"
hideIframe()
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes") {
document.onclick=delayhidemenu
}
// Hide IFrame
function hideIframe() {
if (ie5_5){
var theIframe = document.getElementById("dropmenuiframe")
theIframe.style.display = "none";
}
}

// Unhide IFrame
function unhideIframe() {
if (ie5_5){
var theIframe = document.getElementById("dropmenuiframe")
var theDiv = document.getElementById("dropmenudiv");
theIframe.style.width = theDiv.offsetWidth+'px';
theIframe.style.height = theDiv.offsetHeight+'px';
theIframe.style.top = theDiv.offsetTop+'px';
theIframe.style.left = theDiv.offsetLeft+'px';
theIframe.style.display = "block";
}
}