/***********************************************
* 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
***********************************************/

// cameras
var menu1=new Array()
menu1[0]='<a href="http://pro.jvc.com/prof/new_models.jsp" target="ContentFrame">JVC</a>'
menu1[1]='<a href="http://pro.sony.com/bbsc/ssr/cat-broadcastcameras/" target="ContentFrame">SONY</a>'
menu1[2]='<a href="http://www.panasonic.com/business/provideo/cat_camcorders.asp" target="ContentFrame">PANASONIC </a>'


// lighting
var menu2=new Array()
menu2[0]='<a href="http://www.cosmolight.it/prodotti_ing.html" target="ContentFrame">COSMOLIGHT</a>'
menu2[1]='<a href="http://www.panther.tv/cms/en_bc_lighting.html" target="ContentFrame">PANTHER</a>'
menu2[2]='<a href="http://www.desisti.it/" target="ContentFrame">DESISTI</a>'
menu2[3]='<a href="http://www.dexel.com/" target="ContentFrame">DEXEL</a>'
menu2[4]='<a href="http://www.swit-battery.com/" target="ContentFrame">SWIT</a>'


// Lenses
var menu3=new Array()
menu3[0]='<a href="http://www.canon.com/bctv/products/" target="ContentFrame">CANON LENSES</a>'
menu3[1]='<a href="http://www.fujinon.com/Broadcast/" target="ContentFrame">FUJINON LENSES</a>'
menu3[2]='<a href="http://www.hoyafilter.com/" target="ContentFrame">HOYA FILTERS</a>'
menu3[3]='<a href="http://www.schneideroptics.com/" target="ContentFrame">SCHNEIDER OPTICS</a>'

// Tripods
var menu4=new Array()
menu4[0]='<a href="http://www.dereetripods.com/english/index.asp" target="ContentFrame">DEREE TRIPODS</a>'
menu4[1]='<a href="http://www.manfrotto.com/Jahia/site/manfrotto/cache/off/pid/1907?livid=68|73&idx=73" target="ContentFrame">MANFROTTO</a>'
menu4[2]='<a href="http://www.secced.com/products2.asp" target="ContentFrame">SECCED</a>'
menu4[3]='<a href="http://www.panther.tv/cms/en_bc_tripods.html" target="ContentFrame">PANTHER</a>'
menu4[4]='<a href="http://www.sachtler.com/index.php?id=652" target="ContentFrame">SACHTLER</a>'
menu4[5]='<a href="http://www.vinten.com/family-detail.php?cn=&lang=1&fid=3" target="ContentFrame">VINTEN</a>'
menu4[6]='<a href="http://www.cartoni.com" target="ContentFrame">CARTONI</a>'

// Pro Equipment
var menu5=new Array()
menu5[0]='<a href="http://www.secced.com/" target="ContentFrame">SECCED</a>'
menu5[1]='<a href="http://www.cavision.com/showcase/showcase.htm" target="ContentFrame">CAVISION</a>'

// Audio Products
var menu6=new Array()
menu6[0]='<a href="http://www.panamic.net/Products/BoomPoles.aspx" target="ContentFrame">PANAMIC BOOMS</a>'
menu6[1]='<a href="http://www.rolandus.com/products/productlist.aspx?ParentId=114" target="ContentFrame">EDIROL</a>'
menu6[2]='<a href="http://www.marenius.se/audio.htm" target="ContentFrame">MARENIUS AUDIO MIXERS</a>'
menu6[3]='<a href="http://www.wendtinc.net/" target="ContentFrame">WENDT AUDIO MIXERS</a>'
menu6[4]='<a href="http://usa.rodemic.com/microphones.php " target="ContentFrame">RODE</a>'
menu6[5]='<a href="http://www.akg.com/site/powerslave,id,1,nodeid,1,_language,EN,country,EN.html#" target="ContentFrame">AKG</a>'
menu6[6]='<a href="http://www.electrovoice.com/index.php " target="ContentFrame">EV AUDIO</a>'
menu6[7]='<a href="http://www.stantondj.com/v2/index.asp" target="ContentFrame">STANTON</a>'
menu6[8]='<a href="http://www.sennheiser.com/sennheiser/home_en.nsf/root/professional/" target="ContentFrame">SENNHEISER</a>'
menu6[9]='<a href="http://www.shure.com/ProAudio/index.htm/" target="ContentFrame">SHURE</a>'
menu6[10]='<a href="http://www.electrovoice.com/markets/2.html/" target="ContentFrame">EV</a>'
menu6[11]='<a href="http://www.edirol.com/index.php/" target="ContentFrame">EDIROL</a>'
menu6[12]='<a href="http://africa-middle-east.beyerdynamic.com/en/broadcast-studio-video-production.html/" target="ContentFrame">BEYER DYNAMIC</a>'
menu6[13]='<a href="http://www.yamahaproaudio.com/" target="ContentFrame">YAMAHA</a>'
menu6[14]='<a href="www.mackie.com/" target="ContentFrame">MACKIE</a>'
menu6[15]='<a href="http://www.tannoy.com/Professional.aspx/" target="ContentFrame">TANNOY</a>'
menu6[16]='<a href="http://www.krksys.com/" target="ContentFrame">KRK</a>'
menu6[17]='<a href="www.fostex.com/" target="ContentFrame">FOSTEX</a>'
menu6[18]='<a href="http://www.cavision.com/Sound/Boom%20Pole.htm/" target="ContentFrame">CA VISION</a>'
menu6[19]='<a href="http://www.rycote.com/" target="ContentFrame">RYCOTE</a>'
menu6[20]='<a href="http://www.jizhiwei.com" target="ContentFrame">JZW</a>'
menu6[21]='<a href="http://www.telikou.com/PROD-INTERCOM.htm" target="ContentFrame">TELIKOU</a>'


// Edit Suite
var menu7=new Array()
menu7[0]='<a href="http://www.apple.com" target="ContentFrame">APPLE</a>'
menu7[1]='<a href="http://www.apple.com/finalcutpro/" target="ContentFrame">FINAL CUT PRO</a>'
menu7[2]='<a href="http://www.blackmagic-design.com/products/" target="ContentFrame">BLACKMAGIC DESIGN</a>'
menu7[3]='<a href="http://www.aja.com/html/support_swd.html" target="ContentFrame">AJA</a>'
menu7[4]='<a href="http://www.adobe.com/products/premiere/" target="ContentFrame">ADOBE</a>'
menu7[5]='<a href="http://www.steinberg.net/en/products/audiopostproduction_product/nuendo4.html" target="ContentFrame">NUENDO</a>'
menu7[6]='<a href="http://www.digidesign.com/index.cfm?navid=349&langid=100&itemid=35976" target="ContentFrame">PRO TOOLS</a>'
menu7[7]='<a href="http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=7635018" target="ContentFrame">MAYA</a>'
menu7[8]='<a href="http://matrox.com/video/en/home/" target="ContentFrame">MATROX</a>'

// Video Mixers
var menu8=new Array()
menu8[0]='<a href="http://www.datavideo.info/en/products/mixers.shtm" target="ContentFrame">DATA VIDEO</a>'
menu8[1]='<a href="http://pro.sony.com/bbsc/ssr/cat-switchersdandrouters/cat-switchers/" target="ContentFrame">SONY</a>'
menu8[2]='<a href="http://www.panasonic.com/business/provideo/cat_mixers_studio.asp" target="ContentFrame">PANASONIC</a>'
menu8[3]='<a href="http://www.broadcastpix.com/The-Switcher-Redefined/" target="ContentFrame">BROADCAST PIX</a>'
menu8[4]='<a href="http://www.rossvideo.com/synergy/switchers.html" target="ContentFrame">ROSS</a>'
menu8[5]='<a href="http://www.newtek.com/vt/pdf/vtbrochure.pdf" target="ContentFrame">VIDEO TOASTER</a>'
menu8[6]='<a href="http://professional.grassvalley.com/products/indigo/" target="ContentFrame">GRASS VALLEY</a>'
menu8[7]='<a href="http://edirol.com/index.php/en/products-mainmenu-421/video-mixing-mainmenu-386" target="ContentFrame">EDIROL</a>'
menu8[8]='<a href="http://www.jvcproeurope.com/jpe/global/product.105.139.html" target="ContentFrame">JVC</a>'

// Accessories
var menu9=new Array()
menu9[0]='<a href="http://www.swit-battery.com/swit2006/english/index.asp" target="ContentFrame">SWIT</a>'
menu9[1]='<a href="http://www.genustech.tv" target="ContentFrame">GENUS MATTBOX</a>'
menu9[2]='<a href="http://www.intellipower.com/" target="ContentFrame">INTELLIPOWER UPS</a>'
menu9[3]='<a href="http://www.q-gear.com/products.htm" target="ContentFrame">PRO LINE / Q-GEAR PROMPTERS</a>'
menu9[4]='<a href="http://www.stormcase.com/StormProducts.htm" target="ContentFrame">STORM CASES</a>'
menu9[5]='<a href="http://www.pelican.com/case_category.php?CaseSize=%&New=%" target="ContentFrame">PELICAN CASES</a>'
menu9[6]='<a href="http://www.kramerelectronics.com/products/" target="ContentFrame">KRAMER</a>'
menu9[7]='<a href="http://www.lacie.com/" target="ContentFrame">LACIE</a>'
menu9[8]='<a href="http://www.ewa-marine.de/index.php?id=6/" target="ContentFrame">EWA MARINE</a>'
menu9[9]='<a href="http://www.matrix-switch.tv/" target="ContentFrame">MATRIX</a>'
menu9[10]='<a href="http://www.cavision.com/matteboxes/5x5mb/MB565U.htm" target="ContentFrame">CA VISION</a>'
menu9[11]='<a href="http://www.genustech.tv" target="ContentFrame">GENUS</a>'
menu9[12]='<a href="http://www.focusinfo.com" target="ContentFrame">FOCUS</a>'
menu9[13]='<a href="http://www.boxx.tv" target="ContentFrame">BOXX</a>'

// Monitors
var menu10=new Array()
menu10[0]='<a href="http://pro.sony.com/bbsc/ssr/cat-monitors/" target="ContentFrame">SONY</a>'
menu10[1]='<a href="http://www.swit.cc/swit2006/english/productlist.asp" target="ContentFrame">SWIT</a>'
menu10[2]='<a href="http://www.panasonic.com/business/provideo/cat_displays.asp/" target="ContentFrame">PANASONIC</a>'
menu10[3]='<a href="http://pro.jvc.com/prof/attributes/category.jsp?productId=PRO2.5" target="ContentFrame">JVC</a>'
menu10[4]='<a href="http://astro-systems.com/" target="ContentFrame">ASTRO</a>'


// VTR
var menu11=new Array()
menu11[0]='<a href="http://pro.sony.com/bbsc/ssr/cat-videorecorders/" target="ContentFrame">SONY</a>'
menu11[1]='<a href="http://www.panasonic.com/business/provideo/cat_vtrs_vcrs.asp" target="ContentFrame">PANASONIC</a>'
menu11[2]='<a href="http://pro.jvc.com/prof/attributes/category.jsp?productId=PRO4.2" target="ContentFrame">JVC</a>'
menu11[3]='<a href="http://www.blt.it/sms/" target="ContentFrame">BLT</a>'


// JIBS
var menu12=new Array()
menu12[0]='<a href="http://www.secced.com/products2.asp" target="ContentFrame">SECCED</a>'
menu12[1]='<a href="http://www.cartoni.com" target="ContentFrame">CARTONI</a>'

var menuwidth='185px' //default menu width
var menubgcolor='#ececec'  //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
