home *** CD-ROM | disk | FTP | other *** search
- function changeImages(sourceLoc, newImage)
- {
- if (document.images || (newImage.search(/^\w{1,32}\.(gif|jpg)$/i) != -1))
- {
-
- var tempPath = sourceLoc.src;
- var lastSlash = tempPath.lastIndexOf("/");
- var tempPath = tempPath.substr(0,lastSlash + 1);
-
- sourceLoc.src = tempPath + newImage;
-
- }
- }
-
- function openHSC(strURL)
- {
- var h_hsc;
- var intTop, intLeft;
- intTop = window.screen.height;
- intLeft = window.screen.width;
-
- h_hsc = window.open(strURL,"win_hsc","height=100,width=100,top=" + intTop +",left=" + intLeft + "","");
- h_hsc.close();
-
- }
-
- function toCold(imgID)
- {
- imgID.src = "ms-its:ntshared.chm::/shortcutCold.gif";
- }
-
- function toHot(imgId)
- {
- imgID.src = "ms-its:ntshared.chm::/shortcutHot.gif";
- }