/***********************************************
* 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 1
var menu1=new Array()
menu1[0]='<a href="job/welcome.html">採用情報</a>'
menu1[1]='<a href="aboutIDT/Welcome.html">会社概要</a>'
menu1[2]='<a href="tools/contact.html">お問合せ</a>'
menu1[3]='<a href="http://www.idt.com/?id=1877">経営陣</a>'
menu1[4]='<a href="http://www.idt.com/?id=3243&source=aboutidt_menu">投資家</a>'
menu1[5]='<a href="pressroom/index.html">ニュース/プレスルーム</a>'

//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="products/welcome.html">カテゴリ別</a>'
menu2[1]='<a href="applications/index.html">アプリケーション別製品</a>'
menu2[2]='<a href="applications/end_market.html">最終製品の市場分野別</a>'
menu2[3]='<a href="#" class="nohover">製品検索:</a>'
menu2[4]='<a href="http://www.idt.com/?app=search&searchType=partNumber&source=products_menu" class="padleft">パーツ番号</a>'
menu2[5]='<a href="http://search.idt.com" class="padleft">キーワード</a>'
menu2[6]='<a href="http://www.idt.com/?app=search&searchType=document&source=products_menu" class="padleft">文書</a>'
menu2[7]='<a href="http://www.idt.com/?app=search&searchType=parametric&source=products_menu" class="padleft">パラメータ</a>'
menu2[8]='<a href="http://www.idt.com/?app=search&searchType=crossReference&source=products_menu" class="padleft">クロスリファレンス</a>'

//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="applications/audio.html">オーディオ</a>'
menu3[1]='<a href="applications/memory.html">メモリ</a>'
menu3[2]='<a href="applications/networking.html">ネットワーク</a>'
menu3[3]='<a href="applications/switching.html">スイッチ</a>'



//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="http://www.idt.com/askidt.cfm" target="_blank">IDTにメールする</a>'
menu4[1]='<a href="tools/shipping_container_label.html">輸出、配送、コンテナ</a>'
menu4[2]='<a href="green_initiative/index.html">グリーン/RoHS、鉛フリー</a>'
menu4[3]='<a href="http://www.idt.com/?id=164&source=support_menu">購入方法/在庫確認</a>'
menu4[4]='<a href="tools/knowledge.html">ナレッジ・ベース</a>'
menu4[5]='<a href="quality/welcome.html">信頼性と品質</a>'
menu4[6]='<a href="tools/supwelcome.html">販売拠点</a>'
menu4[7]='<a href="tools/supwelcome.html">テクニカルサポート</a>'
menu4[8]='<a href="http://www.idt.com/?id=84&source=support_menu">温度関連データ</a>'


//Contents for menu 5
var menu5=new Array()
menu5[0]='<a href="https://my.idt.com/?&source=myidt_menu">myIDTにログイン</a>'
menu5[1]='<a href="http://www.idt.com/?app=register&source=myidt_menu" class="padleft">新規登録</a>'
menu5[2]='<a href="http://www.idt.com/?app=register&function=forgotPassword&source=myidt_menu" class="padleft">パスワードをお忘れの方</a>'
menu5[3]='<a href="https://my.idt.com/2_0/?id=2&source=myidt_menu" class="padleft">プロフィールの変更</a>'
menu5[4]='<a href="http://www.idt.com/?app=knowledgebase&contentID=4740&parentID=4740&parentPath=1210-4740&source=myidt_menu">myIDT 質問とサポート</a>'
menu5[5]='<a href="http://www.idt.com/?app=register&source=myidt_menu">最新情報を受け取るには</a>'

//Contents for menu 6
var menu6=new Array()
menu6[0]='<div id="advanced_menu">'
menu6[1]='<div id="adv_men">'
menu6[2]='<a href="products/amb.html">アドバンスド・メモリ・バッファ</a>'
menu6[3]='<a href="http://www.idt.com/?catID=18442816&source=all_products_menu">アナログ／USBスイッチ</a>'
menu6[4]='<a href="products/pc_audio.html">オーディオ・ソリューション</a>'
menu6[5]='<a href="products/timing_solutions.html">クロック／タイミング </a>'
menu6[6]='<a href="products/ddr.html">DDR 製品</a>'
menu6[7]='<a href="products/digital_logic.html">デジタル・ロジック </a>'
menu6[8]='<a href="products/display_solutions.html">ディスプレイ・ソリューション </a>'
menu6[9]='<a href="products/fifo.html">FIFO 製品</a>'
menu6[10]='<a href="products/integrated_processors.html">統合コミュニケーション・プロセッサ </a>'
menu6[11]='<a href="products/multi_port.html">マルチポート・メモリ </a>'
menu6[12]='<a href="products/pci_express.html">PCI Express&reg; スイッチ </a>'
menu6[13]='<a href="products/physical_layer.html">物理層（PHY） </a>'
menu6[14]='<a href="products/pll_registers.html">PLL、レジスタ </a>'
menu6[15]='<a href="products/serial_rapidio.html">シリアル・バッファ (RapidIO&reg;)</a>'
menu6[16]='<a href="products/saw_filter.html">SAWフィルタ </a>'
menu6[17]='<a href="products/search_engines.html">サーチ・エンジン </a>'
menu6[18]='<a href="products/serial_rapidio.html">Serial RapidIO&reg; ソリューション </A>'
menu6[19]='<a href="products/sram.html">SRAMs</a>'
menu6[20]='<a href="products/telecom.html">テレコムIC </a>'
menu6[21]='<a href="products/other_products.html">その他の製品 (SwitchStar, トラフィック･マネージャ等)</a>'
menu6[22]='</div>'
menu6[23]='</div>'




//Contents for menu 7
var menu7=new Array()
menu7[0]='<a href="siteinfo/trademarks.html">商標</a>'
menu7[1]='<a href="siteinfo/privacy.html">個人情報に関する方針</a>'
menu7[2]='<a href="http://www.idt.com/?id=3243&investorID=1&source=footer">企業管理</a>'

//Contents for menu 8
var menu8=new Array()
menu8[0]='<a href="green_initiative/index.html">環境への取り組みとRoHS</a>'
menu8[1]='<a href="products/thermalintro.html">熱データ</a>'
menu8[2]='<a href="quality/welcome.html">信頼性と品質</a>'
menu8[3]='<a href="tools/shipping_container_label.html">出荷とコンテナ貼付ラベルについてのお知らせ</a>'

//Contents for menu 9
var menu9=new Array()
menu9[0]='<div id="popup">'
menu9[1]='my IDTに登録していただければ、ホワイト・ペーパーや設計に役立つ情報を含む登録者限定のサイトをすぐにご覧になれます。IDTの新製品発表やイベント情報をメールで受信できるサービスにもご登録ください。'
menu9[2]='</div>'

//Contents for menu 10
var menu10=new Array()
menu10[0]='<div id="popup">'
menu10[1]='ご質問、ご意見はこちらから'
menu10[2]='</div>'
		
var menuwidth='151px' //default menu width
var menubgcolor='#cccccc'  //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

