<!--
var DExplore = null;
if(document.documentElement) {
// get all elements with name/id "
psdk"
var
psdk = document.getElementsByName("
psdk");
if(
psdk &&
psdk.length > 0) {
var a = null;
var txt = null;
var title = null;
for(var i=0;i<
psdk.length;i++) {
if(
psdk[i].nodeName == "SPAN" &&
psdk[i].firstChild &&
psdk[i].firstChild.nodeName != "A" &&
psdk[i].firstChild.nodeValue != "")
{
title =
psdk[i].getAttribute("title");
if(title && title!="")
psdk[i].removeAttribute("title");
a = document.createElement("A");
txt = document.createTextNode(
psdk[i].firstChild.nodeValue);
if(a && txt) {
a.appendChild(txt);
a.setAttribute("title","Thema im
PSDK ansehen");
if(title && title!="")
a.setAttribute("href","javascript
:performPSDK('" +
title + "');");
else
a.setAttribute("href","javascript
:performPSDK('" +
psdk[i].firstChild.nodeValue + "');");
a.setAttribute("className","
PSDK");
psdk[i].replaceChild(a,
psdk[i].firstChild);
}
}
}
title = null;
txt = null;
a = null;
}
}
var SyncIndex = false;
var IndexResults = false;
function performPSDK(keyword) {
if(DExplore == null) {
try {
DExplore = new ActiveXObject("DExplore.AppObj.7");
} catch(e) {
DExplore = null;
}
if(DExplore) {
DExplore.setCollection("ms-help://MS.PSDK.1033","");
try {
DExplore.SyncIndex("bool",1);
SyncIndex = true;
} catch(e) {
SyncIndex = false;
}
try {
DExplore.IndexResults();
IndexResults = true;
} catch(e) {
IndexResults = false;
}
}
}
if(DExplore) {
DExplore.DisplayTopicFromF1Keyword(keyword);
if(SyncIndex) DExplore.SyncIndex(keyword,1);
if(IndexResults) DExplore.IndexResults();
} else {
alert("Der Document Explorer von Microsoft ist nicht installiert.");
}
}
function FreeMem() {
if(DExplore) DExplore = null;
}
window.onunload = FreeMem;
//-->