home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 December
/
PCWorld_2003-12_cd.bin
/
Software
/
komercni
/
alc
/
ep2sr51csy.msi
/
Ep.CAB
/
reph9
< prev
next >
Wrap
Text File
|
2002-02-25
|
1KB
|
64 lines
<html>
<head>
<title>Strom</title>
<link rel="stylesheet" href="%HTMLPATH%\style.css">
</head>
<xml id="data"></xml>
<xml id="sheet" src="%HTMLPATH%\Strom.xsl"></xml>
<script for="window" event="onload">
data.load("%XMLPATH_C%");
xslTarget.innerHTML = data.transformNode(sheet.XMLDocument);
InitToggles();
</script>
<script>
function ToggleNextRow(e) {
but=e;
p=e.parentElement.parentElement.nextSibling;
if ( p.style.display == "none" ) {
p.style.display="block";
but.src="%HTMLPATH_C%\\minus.gif";
}
else {
p.style.display="none";
but.src="%HTMLPATH_C%\\plus.gif";
}
}
function ToggleProp(e) {
but=e;
p=e.parentElement.parentElement.nextSibling;
t=e.parentElement.parentElement.parentElement.parentElement;
if ( p.style.display == "none" ) {
p.style.display="block";
t.bgColor="#F0F0F0";
but.src="%HTMLPATH_C%\\up.gif";
}
else {
p.style.display="none";
t.bgColor="#FFFFFF";
but.src="%HTMLPATH_C%\\down.gif";
}
}
function InitToggles() {
var ecol=document.getElementsByTagName("IMG");
for ( j=0; j<ecol.length; j++ ) {
if ( ecol(j).id=="toggle" )
ecol(j).src="%HTMLPATH_C%\\minus.gif";
if ( ecol(j).id=="toggleprop" )
ecol(j).src="%HTMLPATH_C%\\up.gif";
}
}
</script>
<body>
<div id="xslTarget"></div>
</body>
</html>