// for showing and hiding hidden layers function show(object) { if (document.getElementById && document.getElementById(object) != null) node = document.getElementById(object).style.visibility='visible'; else if (document.layers && document.layers[object] != null) document.layers[object].visibility = 'visible'; else if (document.all) document.all[object].style.visibility = 'visible'; } function hide(object) { if (document.getElementById && document.getElementById(object) != null) node = document.getElementById(object).style.visibility='hidden'; else if (document.layers && document.layers[object] != null) document.layers[object].visibility = 'hidden'; else if (document.all) document.all[object].style.visibility = 'hidden'; } // rollover for all Level 1 Internal Site // One JS file means that it will be cached for all of the site // // Timeoout Used to stop annoying Netscape flicker var timeout_siteInternalId; function preload_siteSfeat_Internal() { } function preload_siteFilm_Internal() { } // Preload internal rollovers + descriptions function preload_siteInternal() { if(document.images) { var ImgArray = new Array(); for (var i = 0; i < 60; i++) { ImgArray[i] = new Image(); } ImgArray[0].src = "../subimages/top_filmmore.gif"; ImgArray[1].src = "../subimages/top_home.gif"; ImgArray[2].src = "../subimages/top_maps.gif"; ImgArray[3].src = "../subimages/top_off.gif"; ImgArray[5].src = "../subimages/top_series.gif"; ImgArray[6].src = "../subimages/top_sfeature.gif"; ImgArray[7].src = "../subimages/top_tguide.gif"; ImgArray[8].src = "../subimages/top_timeline.gif"; ImgArray[9].src = "../subimages/nav_bottom.jpg"; ImgArray[10].src = "../subimages/nav_filmmore.jpg"; ImgArray[11].src = "../subimages/nav_filmmore_a.gif"; ImgArray[12].src = "../subimages/nav_filmmore_a_over.gif"; ImgArray[13].src = "../subimages/nav_filmmore_fd.gif"; ImgArray[14].src = "../subimages/nav_filmmore_fd_over.gif"; ImgArray[15].src = "../subimages/nav_filmmore_fr.gif"; ImgArray[16].src = "../subimages/nav_filmmore_fr_over.gif"; ImgArray[17].src = "../subimages/nav_filmmore_off.gif"; ImgArray[18].src = "../subimages/nav_filmmore_on.gif"; ImgArray[19].src = "../subimages/nav_filmmore_over.jpg"; ImgArray[20].src = "../subimages/nav_filmmore_ps.gif"; ImgArray[21].src = "../subimages/nav_filmmore_ps_over.gif"; ImgArray[22].src = "../subimages/nav_filmmore_t.gif"; ImgArray[23].src = "../subimages/nav_filmmore_t_over.gif"; ImgArray[26].src = "../subimages/nav_maps.jpg"; ImgArray[27].src = "../subimages/nav_maps_over.jpg"; ImgArray[30].src = "../subimages/nav_sf_1.gif"; ImgArray[31].src = "../subimages/nav_sf_1_over.gif"; ImgArray[32].src = "../subimages/nav_sf_2.gif"; ImgArray[33].src = "../subimages/nav_sf_2_over.gif"; ImgArray[34].src = "../subimages/nav_sf_3.gif"; ImgArray[35].src = "../subimages/nav_sf_3_over.gif"; ImgArray[36].src = "../subimages/nav_sf_4.gif"; ImgArray[37].src = "../subimages/nav_sf_4_over.gif"; ImgArray[38].src = "../subimages/nav_sf_5.gif"; ImgArray[39].src = "../subimages/nav_sf_5_over.gif"; ImgArray[40].src = "../subimages/nav_sfeature.jpg"; ImgArray[41].src = "../subimages/nav_sfeature_off.gif"; ImgArray[42].src = "../subimages/nav_sfeature_on.gif"; ImgArray[43].src = "../subimages/nav_sfeature_over.jpg"; ImgArray[44].src = "../subimages/nav_tguide.jpg"; ImgArray[45].src = "../subimages/nav_tguide_over.jpg"; ImgArray[46].src = "../subimages/nav_timeline.jpg"; ImgArray[47].src = "../subimages/nav_timeline_over.jpg"; ImgArray[48].src = "../subimages/nav_top.jpg"; ImgArray[49].src = "../subimages/arrow_next_over.gif"; ImgArray[50].src = "../subimages/arrow_prev_over.gif"; ImgArray[57].src = "../subimages/rollover_shadow.jpg"; ImgArray[58].src = "../subimages/rollover_shadow_on.jpg"; } } // On MOUSEOUT this function resets the nav bar to "thissecttion" and the // rollover info box to default (no text) // It is called from the off function with time out to avoid annoying flicker function reset_NavandRollText(thissection) { var imgTurl, obj, objStr, imgRurl; if(document.images) { objStr = 'document.m_' + thissection; obj = eval(objStr); imgRurl = '../subimages/nav_' + thissection + '_over.jpg'; //#spec_img_type_nav_main# imgTurl = '../subimages/top_off.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow.jpg'; obj.src = imgRurl; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } } function reset_NavXandRollText(thissection) { var imgTurl, obj, objStr, imgRurl; if(document.images) { objStr = 'document.m_' + thissection; obj = eval(objStr); imgRurl = '../subimages/nav_' + thissection + '_over.gif'; //#spec_img_type_nav_main# imgTurl = '../subimages/top_off.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow.jpg'; obj.src = imgRurl; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } } // On MOUSEOUT this function resets the nav bar to "thissecttion" and the // rollover info box to default (no text) // It is called from the off function with time out to avoid annoying flicker // nb// this doesn't change rollover info function reset_Nav(thissection) { var imgTurl, obj, objStr, imgRurl; if(document.images) { objStr = 'document.m_' + thissection; obj = eval(objStr); imgRurl = '../subimages/nav_' + thissection + '_over.jpg'; obj.src = imgRurl; } } function reset_NavX(thissection) { var imgTurl, obj, objStr, imgRurl; if(document.images) { objStr = 'document.m_' + thissection; obj = eval(objStr); imgRurl = '../subimages/nav_' + thissection + '_over.gif'; obj.src = imgRurl; } } // sections with sub_nav function reset_sub_NavandRollText(thissection) { var imgTurl, obj, objStr, imgRurl; if(document.images) { objStr = 'document.m_' + thissection; obj = eval(objStr); imgRurl = '../subimages/nav_' + thissection + '_on.jpg'; //#spec_img_type_nav_sub# imgTurl = '../subimages/top_off.gif'; imgShadowUrl = '../subimages/rollover_shadow.jpg'; obj.src = imgRurl; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } } function reset_sub_NavXandRollText(thissection) { var imgTurl, obj, objStr, imgRurl; if(document.images) { objStr = 'document.m_' + thissection; obj = eval(objStr); imgRurl = '../subimages/nav_' + thissection + '_on.gif'; //#spec_img_type_nav_sub# imgTurl = '../subimages/top_off.gif'; imgShadowUrl = '../subimages/rollover_shadow.jpg'; obj.src = imgRurl; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } } // sections with sub_nav function reset_sub_Nav(thissection) { var imgTurl, obj, objStr, imgRurl; if(document.images) { objStr = 'document.m_' + thissection; obj = eval(objStr); imgRurl = '../subimages/nav_' + thissection + '_on.jpg'; obj.src = imgRurl; } } function reset_sub_NavX(thissection) { var imgTurl, obj, objStr, imgRurl; if(document.images) { objStr = 'document.m_' + thissection; obj = eval(objStr); imgRurl = '../subimages/nav_' + thissection + '_on.gif'; obj.src = imgRurl; } } // On MOUSEOUT this function resets the nav bar to "thissecttion" and the // rollover info box to default (no text) // It is called from the off function with time out to avoid annoying flicker // nb// this ONLY rollover info function top_RollText(imgName){ if(document.images){ clearTimeout(timeout_siteInternalId); imgTurl = '../subimages/top_' + imgName + '.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow_on.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } } function reset_RollText() { var imgTurl; if(document.images) { imgTurl = '../subimages/top_off.gif'; imgShadowUrl = '../subimages/rollover_shadow.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } } // Functions for onmouseover and mouseout.. // thisNav is there in case more rollovers are added to a page, that have different funtionality // imgName == current rollover, thissection == section that user is in function on_inav(thisNav, imgName, thissection) { var objStr,obj, sec_objStr, sec_obj, imgRurl, sec_imgRurl, imgTurl; if(document.images) { if (thisNav == 'm') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_over.jpg'; sec_imgRurl = '../subimages/nav_' + thissection + '.jpg'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_' + imgName + '.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow_on.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'mx') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_over.jpg'; sec_imgRurl = '../subimages/nav_' + thissection + '.gif'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_' + imgName + '.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow_on.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'sm') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_over.jpg'; sec_imgRurl = '../subimages/nav_' + thissection + '.jpg'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_off.gif'; imgShadowUrl = '../subimages/rollover_shadow.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'smx') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_over.gif'; sec_imgRurl = '../subimages/nav_' + thissection + '.gif'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_off.gif'; imgShadowUrl = '../subimages/rollover_shadow.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'nm') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '_over.jpg'; obj.src = imgRurl; imgTurl = '../subimages/top_off.gif'; imgShadowUrl = '../subimages/rollover_shadow.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'r') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_over.jpg'; sec_imgRurl = '../subimages/nav_' + thissection + '.jpg'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_off.gif'; imgShadowUrl = '../subimages/rollover_shadow.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } } } // Functions for mouseout.. // thisNav is there in case more rollovers are added to a page, that have different funtionality // imgName == current rollover, thissection == section that user is in function off_inav(thisNav, imgName, thissection) { var objStr,obj, imgRurl, imgTurl; if(document.images) { if (thisNav == 'm') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.jpg'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_NavandRollText(\"" + thissection + "\")",10); } else if (thisNav == 'mx') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.jpg'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_NavXandRollText(\"" + thissection + "\")",10); } else if (thisNav == 'sm') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.jpg'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_Nav(\"" + thissection + "\")",10); } else if (thisNav == 'smx') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.gif'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_NavX(\"" + thissection + "\")",10); } else if (thisNav == 'nm') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.jpg'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_RollText()",10); } else if (thisNav == 'r') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.jpg'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_roller(\"" + thissection + "\")",10); } } } // Functions for onmouseover and mouseout.. (sections with subnav) // thisNav is there in case more rollovers are added to a page, that have different funtionality // imgName == current rollover, thissection == section that user is in function on_i_sub_nav(thisNav, imgName, thissection) { var objStr,obj, sec_objStr, sec_obj, imgRurl, sec_imgRurl, imgTurl; if(document.images) { if (thisNav == 'm') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_over.jpg'; sec_imgRurl = '../subimages/nav_' + thissection + '_off.jpg'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_' + imgName + '.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow_on.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'mx') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_over.jpg'; sec_imgRurl = '../subimages/nav_' + thissection + '_off.gif'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_' + imgName + '.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow_on.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'm_sub') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '_on.gif'; obj.src = imgRurl; imgTurl = '../subimages/top_' + imgName + '.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow_on.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'm_sub_sec') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_on.gif'; sec_imgRurl = '../subimages/nav_' + thissection + '.gif'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_' + imgName + '.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow_on.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'sm') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_over.jpg'; sec_imgRurl = '../subimages/nav_' + thissection + '_off.jpg'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_off.gif'; imgShadowUrl = '../subimages/rollover_shadow.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'smx') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); sec_objStr = 'document.m_' + thissection; sec_obj = eval(sec_objStr); imgRurl = '../subimages/nav_' + imgName + '_over.gif'; sec_imgRurl = '../subimages/nav_' + thissection + '_off.gif'; sec_obj.src = sec_imgRurl; obj.src = imgRurl; imgTurl = '../subimages/top_off.gif'; imgShadowUrl = '../subimages/rollover_shadow.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } else if (thisNav == 'nm') { clearTimeout(timeout_siteInternalId); objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '_over.jpg'; obj.src = imgRurl; imgTurl = '../subimages/top_' + imgName + '.gif'; //#spec_img_type_top# imgShadowUrl = '../subimages/rollover_shadow_on.jpg'; document.top_rollover.src=imgTurl; document.top_rollover_shadow.src=imgShadowUrl; } } } // Functions for mouseout.. (sections with subnav) // thisNav is there in case more rollovers are added to a page, that have different funtionality // imgName == current rollover, thissection == section that user is in function off_i_sub_nav(thisNav, imgName, thissection) { var objStr,obj, imgRurl, imgTurl; if(document.images) { if (thisNav == 'm') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.jpg'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_sub_NavandRollText(\"" + thissection + "\")",10); } else if (thisNav == 'mx') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.jpg'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_sub_NavXandRollText(\"" + thissection + "\")",10); } else if (thisNav == 'm_sub') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '_off.gif'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_NavandRollText(\"" + thissection + "\")",10); } else if (thisNav == 'sm') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.jpg'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_sub_Nav(\"" + thissection + "\")",10); } else if (thisNav == 'smx') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.gif'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_sub_NavX(\"" + thissection + "\")",10); } else if (thisNav == 'nm') { objStr = 'document.m_' + imgName; obj = eval(objStr); imgRurl = '../subimages/nav_' + imgName + '.jpg'; obj.src = imgRurl; timeout_siteInternalId = setTimeout("reset_RollText()",10); } } } function swap(srcName, imgName) { var objStr,obj, imgRurl, imgTurl; if(document.images) { objStr = 'document.' + srcName; obj = eval(objStr); imgTurl = imgName; obj.src=imgTurl; } }