
/*
Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use
*/
/*
Had to code all links as absolute due to template toolkit environment
 - c scheer ups digital feature servics
*/
var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
 
// absolute links must be modified when this file deployed on live server.

submenu[0]='<img src="http://images.amuniversal.com/ups/spacer.gif" width="20" height="45" align="absmiddle"><a class="blue" href="http://www.amuniversal.com/ups/index.htm" title="UPS UPS Home">UPS Home</a> | <a class="blue" href="http://www.amuniversal.com/ups/contact_us.htm">Contacts</a> | <a class="blue" href="http://www.amuniversal.com/ups/ups_officers.htm">UPS Officers</a> | <a class="blue" href="http://www.amuniversal.com/ups/legal.htm">Legal Info</a> | <a class="blue" href="http://www.amuniversal.com/ups/faq.htm">FAQs</a> | <a class="blue" href="http://www.amuniversal.com/ups/submissions.htm">Submission guidelines</a>'

submenu[1]='<img src="http://images.amuniversal.com/ups/spacer.gif" width="20" height="45" align="absmiddle"><a class="blue" href="http://www.amuniversal.com/ups/index.htm" title="UPS UPS Home">UPS Home</a> | <a class="blue"  href="http://www.amuniversal.com/ups/features/features_all.htm">Features by Title</a> |  <a class="blue"  href="http://www.amuniversal.com/ups/features/feature_list.htm"> Features by Category</a>   | <a class="blue" href="http://www.amuniversal.com/ups/productos/index.htm">Features in Spanish</a> |  <a class="blue" href="http://www.amuniversal.com/ups/features/creators.htm">Our Creators</a> | <a class="blue" href="http://www.amuniversal.com/ups/features/bbs.htm">Delivery</a>'

submenu[2]='<img src="http://images.amuniversal.com/ups/spacer.gif" width="20" height="45" align="absmiddle"><a class="blue" href="http://www.amuniversal.com/ups/index.htm" title="UPS UPS Home">UPS Home</a> | <a class="blue"  href="http://www.amuniversal.com/FPE/?page=sales">Request Information about a Feature</a> | <a class="blue" href="http://www.upsoneshots.com" target="_new">One-Shot Sales</a> | <a class="blue" href="http://www.amuniversal.com/ups/pagecaptain/index.htm">PageCaptain</a>'

submenu[3]='<img src="http://images.amuniversal.com/ups/spacer.gif" width="20" height="45" align="absmiddle"><a class="blue" href="http://www.amuniversal.com/ups/index.htm" title="UPS UPS Home">UPS Home</a> | <a class="blue"  href="http://www.amuniversal.com/ups/news/about_comm.htm">About UPS Communications</a> | <a class="blue" href="http://www.amuniversal.com/ups/newsrelease/?list=1">Browse Press Releases</a> | <a class="blue" href="http://www.amuniversal.com/ups/news/creatornews.htm">Creators in the News</a>'

submenu[4]='<img src="http://images.amuniversal.com/ups/spacer.gif" width="20" height="45" align="absmiddle"><a class="blue" href="http://www.amuniversal.com/ups/index.htm" title="UPS UPS Home">UPS Home</a> | <a class="blue"  href="http://www.amuniversal.com/FPE/?page=permissions">Request Form (Non-educational)</a> | <a class="blue" href="http://www.amuniversal.com/ups/permissions/reprints_edu.html">Educational Use Statement</a> | <a class="blue" href="http://www.amuniversal.com/ups/permissions/reprint_faq.htm">FAQs</a> | <a class="blue" href="http://www.amureprints.com" target="_new">AMU Reprints</a>'

submenu[5]='<img src="http://images.amuniversal.com/ups/spacer.gif" width="20" height="45" align="absmiddle"><a class="blue" href="http://www.amuniversal.com/ups/index.htm" title="UPS UPS Home">UPS Home</a> | <a class="blue"  href="http://www.amuniversal.com/ups/licensing/in_out.htm">Licensing Out vs. Licensing In</a> | <a class="blue" href="http://www.amuniversal.com/ups/licensing/agent_rep.htm">Agent Representation</a> | <a class="blue" href="http://www.amuniversal.com/ups/licensing/properties.htm">Licensing Properties</a>'

submenu[6]='<img src="http://images.amuniversal.com/ups/spacer.gif" width="20" height="45" align="absmiddle"><a class="blue" href="http://www.amuniversal.com/ups/index.htm" title="UPS UPS Home">UPS Home</a>'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=500

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

