﻿// JScript File
/*
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
*/

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.
submenu[0]='<font size="2" face="Tahoma" color="aquamarine"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Default.aspx" style="color: white; text-decoration: none">صفحه اول</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/LoginPage.aspx">اعضا</a></font>'

submenu[1]='<font size="2" face="Tahoma" color="aquamarine"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=1&mp=0" style="color: white; text-decoration: none">مبانی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=2&mp=0">تشخیص افتراقی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=3&mp=0">توانبخشی ضایعات مرکزی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=4&mp=0">گزارشهای موردی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=5&mp=0">تحقیقات بالینی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=6&mp=0">آموزش</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=7&mp=0">چندرسانه ای</a></font>'

submenu[2]='<font size="2" face="Tahoma" color="aquamarine"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=8&mp=0" style="color: white; text-decoration: none">توانبخشی شنوایی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=9&mp=0">توانبخشی ضایعات مرکزی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=10&mp=0">توانبخشی وزوزگوش</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=11&mp=0">توانبخشی دهلیزی (تعادل)</a>  | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=12&mp=0">آموزش</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=13&mp=0">چندرسانه ای</a></font>'

submenu[3]='<font size="2" face="Tahoma" color="aquamarine"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=14&mp=0" style="color: white; text-decoration: none">غربالگری شنوایی نوزادان</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=15&mp=0">غربالگری شنوایی مدارس</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=16&mp=0">شنوایی شناسی صنعتی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=17&mp=0">آموزش</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=18&mp=0">چندرسانه ای</a></font>'

submenu[4]='<font size="2" face="Tahoma" color="aquamarine"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=19&mp=0" style="color: white; text-decoration: none">علوم اعصاب</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=20&mp=0">گوش پزشکی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=21&mp=0">الکتروفیزیولوژی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=22&mp=0">آموزش</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=22&mp=0">چندرسانه ای</a></font>'

submenu[5]='<font size="2" face="Tahoma" color="aquamarine"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=23&mp=0" style="color: white; text-decoration: none">تازه های پژوهشی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=24&mp=0">دعوت به همکاری</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=25&mp=0">جستجوی مقالات</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=26&mp=0">آموزش</a></font>'

submenu[6]='<font size="1" face="Tahoma" color="#B7FFB7"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=27&mp=0" style="color: white; text-decoration: none">آسیب شناسی گفتار و زبان</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=28&mp=0">نورولوژی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=29&mp=0">هیستولوژی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=30&mp=0">رادیولوژی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=31&mp=0">بیولوژی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=32&mp=0">میکروبیولوژی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=33&mp=0">بیوتکنولوژی</a> | <a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=34&mp=0" style="color: white; text-decoration: none">مهندسی پزشکی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=35&mp=0">فارماکولوژی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=36&mp=0">روانشناسی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=37&mp=0">کاردرمانی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=38&mp=0">فیزیوتراپی</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=39&mp=0">اپتولوژی</a></font>'

submenu[7]='<font size="2" face="Tahoma" color="#B7FFB7"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=40&mp=0" style="color: white; text-decoration: none">معرفی شرکتها</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=41&mp=0">معرفی تجهیزات جدید شرکتها</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=42&mp=0">وب سایت شرکتها</a></font>'

submenu[8]='<font size="2" face="Tahoma" color="#B7FFB7"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=43&mp=0" style="color: white; text-decoration: none">استانداردها</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=44&mp=0">جستجو</a></font>'

submenu[9]='<font size="2" face="Tahoma" color="#B7FFB7"><a href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=45&mp=0" style="color: white; text-decoration: none">تاریخچه IAA</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=46&mp=0">IAA امروز</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=47&mp=0">اتاق خبر</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=48&mp=0">آمار و اعتبارات</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=49&mp=0">دیدگاه و ماموریتها</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=50&mp=0">انتخابات</a> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=51&mp=0">سوابق اعضاء هیئت مدیره انجمن</a></font> | <a style="color: white; text-decoration: none" href="http://www.iaoa.ir/Audiology/Master/Persian/main/Subpages/redirect.aspx?gn=52&mp=0">اساس نامه</a></font>'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=2000

/////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;
}
