home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 December
/
PCWorld_2003-12_cd.bin
/
Software
/
komercni
/
alc
/
ep2sr51csy.msi
/
Ep.CAB
/
reph4
< prev
next >
Wrap
Text File
|
2002-08-26
|
2KB
|
77 lines
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title>Nainstalovan² software</title>
<link rel="stylesheet" href="dummy.css">
</head>
<xml id="data"></xml>
<xml id="sheet"></xml>
<script>
function FileLocation(fn) {
return "%HTMLPATH_C%\\" + fn; // release
// return fn; // debug
}
function InitToggles()
{
SetToggleDetailsButton(true);
var ecol=document.getElementsByTagName("IMG");
for ( j=0; j < ecol.length; j++ ) {
if ( ecol(j).id=="CloseDetails" )
ecol(j).src=FileLocation("close.gif");
}
}
function SetToggleDetailsButton(bUp)
{
var ecol=document.getElementsByTagName("IMG");
for ( j=0; j < ecol.length; j++ ) {
if ( ecol(j).id=="ToggleDetails" )
ecol(j).src=FileLocation( bUp ? "up.gif" : "down.gif" );
}
}
function OnToggleDetails()
{
var bUp;
var ecol=document.getElementsByTagName("TABLE");
for ( j=0; j < ecol.length; j++ ) {
if ( ecol(j).id == "Detail" ) {
if ( ecol(j).style.display == "none" ) {
ecol(j).style.display="block";
bUp=true;
}
else {
ecol(j).style.display="none";
bUp=false;
}
}
}
SetToggleDetailsButton(bUp);
}
</script>
<script for="window" event="onload">
document.styleSheets(0).href=FileLocation("style.css");
data.load("%XMLPATH_C%"); // release
// data.load("Nainstalovan² software.xml"); // debug
sheet.load(FileLocation("Nainstalovan² software.xsl"));
xslTarget.innerHTML = data.transformNode(sheet.XMLDocument);
InitToggles();
</script>
<body>
<div id="xslTarget"></div>
</body>
</html>