/***********************************************
/* AnyLink Drop Down Menu-  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 3
var menu3=new Array()
menu3[0]='<b>&nbsp;<a style="text-decoration: none" href="news.htm">virtuality news</a></b><br>'
menu3[1]='<b>&nbsp;<a style="text-decoration: none" href="press.php">conference press</a></b><br>'

//Contents for menu 5
var menu5=new Array()
menu5[0]='<b>&nbsp;<a style="text-decoration: none" href="about_us.htm">about the conference</a></b><br>'
menu5[1]='<b>&nbsp;<a style="text-decoration: none" href="2005topics.htm">topics for 2005 edition</a></b><br>'
menu5[2]='<b>&nbsp;<a style="text-decoration: none" href="2005program.htm">2005 program</a></b><br>'
menu5[3]='<b>&nbsp;<a style="text-decoration: none" href="past.htm">past editions</a></b><br>'
menu5[4]='<b>&nbsp;<a style="text-decoration: none" href="virtuality_team.htm">virtuality\'s team</a></b><br>'
menu5[5]='<b>&nbsp;<a style="text-decoration: none" href="int_adv_board.htm">international advisory board</a></b><br>'
menu5[6]='<b>&nbsp;<a style="text-decoration: none" href="sponsors.htm">sponsors</a></b><br>'

//Contents for menu 12
var menu12=new Array()
menu12[0]='<b>&nbsp;<a style="text-decoration: none" href="past.htm" >all past editions</a></b><br>'
menu12[1]='<b>&nbsp;<a style="text-decoration: none" href="http://www.virtualityconference.it/2004/index.htm" target="_blank">2004</a></b><br>'
menu12[2]='<b>&nbsp;<a style="text-decoration: none" href="http://virtualityconference.it/2003/index.html" target="_blank">2003</a></b><br>'
menu12[3]='<b>&nbsp;<a style="text-decoration: none" href="http://virtualityconference.it/2002/intro.html" target="_blank">2002</a></b><br>'
menu12[4]='<b>&nbsp;<a style="text-decoration: none" href="http://virtualityconference.it/2002/virtuality2001/index.html" target="_blank">2001</a></b><br>'
menu12[5]='<b>&nbsp;<a style="text-decoration: none" href="http://virtualityconference.it/2002/virtuality2000/index.html" target="_blank">2000</a></b><br>'

//Contents for menu 6
var menu6=new Array()
menu6[0]='<b>&nbsp;<a style="text-decoration: none" href="sponsors.htm">virtuality sponsors</a></b><br>'
menu6[1]='<b>&nbsp;<a style="text-decoration: none" href="sponsors.htm">why become a sponsor?</a></b><br>'
menu6[2]='<b>&nbsp;<a style="text-decoration: none" href="sponsors.htm">become a sponsor</a></b><br>'

//Contents for menu 13
var menu13=new Array()
menu13[0]='<b>&nbsp;<a style="text-decoration: none" href="exhibitors.htm">virtuality exhibitors</a></b><br>'
menu13[1]='<b>&nbsp;<a style="text-decoration: none" href="why_exhibit.htm">why become an exhibitor?</a></b><br>'
menu13[2]='<b>&nbsp;<a style="text-decoration: none" href="rent_a_booth.htm">rent a booth</a></b><br>'

//Contents for menu 7
var menu7=new Array()
menu7[0]='<b>&nbsp;<a style="text-decoration: none" href="http://www.javascriptkit.com">partner conferences</a></b><br>'
menu7[1]='<b>&nbsp;<a style="text-decoration: none" href="http://www.freewarejava.com">interesting links and vr resources</a></b><br>'

//Contents for menu 8 - Participants
var menu8=new Array()
menu8[0]='<b>&nbsp;<a style="text-decoration: none" href="registration_form.htm">registration form</a></b><br>'
menu8[1]='<b>&nbsp;<a style="text-decoration: none" href="2005topics.htm">topics for 2005 edition</a></b><br>'
menu8[2]='<b>&nbsp;<a style="text-decoration: none" href="2005program.htm">2005 program</a></b><br>'
menu8[3]='<b>&nbsp;<a style="text-decoration: none" href="participants.htm">participant guidelines</a></b><br>'
menu8[4]='<b>&nbsp;<a style="text-decoration: none" href="submit_paper_etc.htm">submit a paper or abstract</a></b><br>'
menu8[5]='<b>&nbsp;<a style="text-decoration: none" href="premio_virtuality.htm">student competition</a></b><br>'
menu8[6]='<b>&nbsp;<a style="text-decoration: none" href="portfolio_review_live.htm">portfolio review live!</a></b><br>'
menu8[7]='<b>&nbsp;<a style="text-decoration: none" href="hotel.htm">hotel & travel info</a></b><br>'
menu8[8]='<b>&nbsp;<a style="text-decoration: none" href="faq.htm">faq</a></b><br>'
menu8[9]='<b>&nbsp;<a style="text-decoration: none" href="faq.htm">useful information</a></b><br>'

//Contents for menu 10 - Attendees (No longer exists - moved to participants
var menu10=new Array()
menu10[0]='<b>&nbsp;<a style="text-decoration: none" href="registration_form.htm">registration form</a></b><br>'
menu10[1]='<b>&nbsp;<a style="text-decoration: none" href="2005program.htm">2005 program</a></b><br>'
menu10[2]='<b>&nbsp;<a style="text-decoration: none" href="faq.htm">useful information</a></b><br>'
menu10[3]='<b>&nbsp;<a style="text-decoration: none" href="faq.htm">hotel & travel info</a></b><br>'
menu10[4]='<b>&nbsp;<a style="text-decoration: none" href="faq.htm">faq</a></b><br>'

//Contents for menu 14
var menu14=new Array()
menu14[0]='<b>&nbsp;<a style="text-decoration: none" href="partner_conferences.htm">partner conferences</a></b><br>'
menu14[1]='<b>&nbsp;<a style="text-decoration: none" href="partner_media.htm">media partners</a></b><br>'
//menu14[2]='<b>&nbsp;<a style="text-decoration: none" href="partner_technical.htm">technical partners</a></b><br>'
//menu14[3]='<b>&nbsp;<a style="text-decoration: none" href="become_partner.htm">become a partner</a></b><br>'
menu14[2]='<b>&nbsp;<a style="text-decoration: none" href="become_partner.htm">become a partner</a></b><br>'

//Contents for menu 16
var menu16=new Array()
menu16[0]='<b>&nbsp;<a style="text-decoration: none" href="submit_paper_etc.htm">Submit your paper, abstract, video or art material<br>&nbsp;DEADLINE to submit September 10, 2005</a></b><br>'

var menuwidth='165px' //default menu width
var menubgcolor='#B3B3B3'  //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=-500
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 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
}
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