// Filename: shared.js
// Version shared.js for windows server 2003
// version for 2.2.3
//************************************************ Shared components path setting *****************************************
//*******************************************************************************************************************
// Date 11/07/01
//
set_path = "" + document.URL
ntshared = set_path.indexOf("::/")
if (ntshared == -1) {
var moniker= "ms-its:";
var sSharedCHM = moniker+"uddi.mmc.chm::/";
}
else
{
path = set_path.substring(0,ntshared)
path = path.toLowerCase()
ntshared = path.lastIndexOf("\\")
var moniker = path.substring(0,ntshared)+ "\\";
//var ntshared = moniker.lastIndexOf("\\")
//var moniker = moniker.substring(0,ntshared) + "\\";
var sSharedCHM= moniker+"uddi.mmc.chm::/";
}
//************************************************ EVENT HANDLING ********************************************
//*******************************************************************************************************************
// re-directs to the proper event-driven functions.
// window.onload = load_object;
window.onload = loadPage;
document.onclick= onclickTriage;
document.onmouseover= gettingHot;
document.onmouseout= gettingCold;
window.onunload=saveChecklistState;
window.onresize= resizeDiv;
window.onbeforeprint = set_to_print;
window.onafterprint = reset_form;
//******************************************** USER-DEFINED GLOBAL VARIABLES ************************************
//********************************************************************************************************************
// The images listed below can all be changed by the user.
var isIE5 = (navigator.appVersion.indexOf("MSIE 5")>0) || (navigator.appVersion.indexOf("MSIE")>0 && parseInt(navigator.appVersion)> 4);
var isIE55 = (navigator.appVersion.indexOf("MSIE 5.5")>0);
if (isIE5 && isIE55) isIE5 = false;
var isIE6 = (navigator.appVersion.indexOf("MSIE 6")>0);
var isIE4 = (navigator.appVersion.indexOf("MSIE 4")>0);
if (isIE4){
var moniker= "ms-its:"; // moniker= ""; for flat files
var sSharedCHM= moniker+"ntshared.chm::/";
}
if (!isIE5 && !isIE55 && !isIE4 && !isIE6) {
isIE6 = true;
}
var sShortcutTip= "";
var gifwithin = false;
if(!isIE4){
xmldoc = new ActiveXObject("microsoft.XMLDOM");
xmldoc.async = false;
xmldoc.load(sSharedCHM + "alttext.xml");
var Alt_sPreviousTip= xmldoc.getElementsByTagName("sPreviousTip")
var Alt_sNextTip= xmldoc.getElementsByTagName("sNextTip")
var Alt_sExpandTip= xmldoc.getElementsByTagName("sExpandTip")
var Alt_sPopupTip= xmldoc.getElementsByTagName("sPopupTip")
var hld_path2reuse= xmldoc.getElementsByTagName("path2reuse")
var hld_path2glossary= xmldoc.getElementsByTagName("path2glossary")
var hld_rel_gif = xmldoc.getElementsByTagName("reltopgif")
var hld_chmName = xmldoc.getElementsByTagName("chmName")
var hld_emailer = xmldoc.getElementsByTagName("emailer")
var hld_sendtext = xmldoc.getElementsByTagName("sendtext")
var hld_sendto = xmldoc.getElementsByTagName("sendto")
//
" +imgPrev + " | " +imgNext+ " |