home *** CD-ROM | disk | FTP | other *** search
- var objLastPopup = null;
- var HIGHLIGHTED_COLOR = "#c71700";
- var HIGHLIGHTED_ARROW = "images/arrowovr.gif"
- var NORMAL_ARROW = "images/arrow.gif"
-
- function mouseover(obj, bShow)
- {
- if (obj != null)
- {
- //obj.style.backgroundColor = HIGHLIGHTED_COLOR;
- obj.style.color = HIGHLIGHTED_COLOR;
- obj.all.arrow.src = HIGHLIGHTED_ARROW;
- if (bShow == true)
- {
- //showsubmenu(obj);
- // test test
- //window.open("3vfocus:", "_self");
- }
- else
- {
- //window.open("3vhidesubmenu:", "_self");
- }
- }
- }
-
- function mouseovernext(obj)
- {
- if (obj != null)
- {
- //showsubmenu(obj.parentElement);
- }
- }
-
- function mouseovertext(obj)
- {
- if (obj != null)
- {
- //obj.style.backgroundColor = HIGHLIGHTED_COLOR;
- obj.style.color = HIGHLIGHTED_COLOR;
- obj.all.arrow.src = HIGHLIGHTED_ARROW;
- }
- //window.open("3vhidesubmenu:", "_self");
- }
-
- function mouseout(obj)
- {
- if (obj)
- {
- //obj.style.backgroundColor = "";
- obj.style.color = "";
- obj.all.arrow.src = NORMAL_ARROW;
- }
- }
-
- function showsubmenu(obj)
- {
- if (obj != null)
- {
- var y = obj.offsetTop;
- var p = obj.parentElement;
- while (p != null)
- {
- y += p.offsetTop;
- p = p.parentElement;
- }
- var idx = obj.getAttribute("idx");
- window.open("3vsubmenu:idx=" + idx + ",y=" + y, "_self");
- }
- }
-
- function GotoLink(obj)
- {
- if (obj != null)
- {
- var idx = obj.getAttribute("idx");
- window.open("3vgoto:idx=" + idx, "_self");
- }
- }
-
- function GotoAWInfo(obj)
- {
- if (obj != null)
- {
- var idx = obj.getAttribute("idx");
- window.open("3vinfo:idx=" + idx, "_self");
- }
- }
-
- function GotoURL(url)
- {
- window.open("3vurl:" + url, "_self");
- }
-
- function HighlightItem(itemid)
- {
- var obj = document.all.itemid;
- if (obj != null)
- {
- obj.style.backgroundColor = HIGHLIGHTED_COLOR;
- }
- }
-
- function ShowPopup(itemid)
- {
- var obj = document.all(itemid);
- if (obj != null)
- {
- if (objLastPopup != null && objLastPopup != obj)
- {
- objLastPopup.style.color = "#3333FF";
- }
- objLastPopup = obj;
- objLastPopup.style.color = "red";
- }
- }
- /*
- function ShowPopup(obj)
- {
- if (obj != null)
- {
- if (objLastPopup != null && objLastPopup != obj)
- {
- objLastPopup.style.color = "#3333FF";
- }
- objLastPopup = obj;
- objLastPopup.style.color = "red";
- }
- }
- */
- function HidePopup()
- {
- if (objLastPopup != null)
- {
- objLastPopup.style.color = "#3333FF";
- }
- objLastPopup = null;
- }
-
-