home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2004 March
/
PCWorld_2004-03_cd.bin
/
Komunikace
/
myIE
/
M2Combo.exe
/
$_14327_
/
common.js
< prev
next >
Wrap
Text File
|
2003-12-18
|
2KB
|
45 lines
function PartWrapperToggle(elementName)
{
var HeaderElement = null;
var BodyElement = null;
if(document.getElementsByName) {
HeaderElement = document.getElementsByName(elementName+"Header");
BodyElement = document.getElementsByName(elementName+"Body");
UpImage = document.getElementsByName(elementName+"Up");
DownImage = document.getElementsByName(elementName+"Down");
if(BodyElement) {
if(BodyElement[0].style.display == "none") {
BodyElement[0].style.display = "block";
HeaderElement[0].className = "ListNuggetHeader";
DownImage[0].style.display = "none";
UpImage[0].style.display = "block";
} else {
BodyElement[0].style.display = "none";
HeaderElement[0].className = "ListNuggetHeaderClosed";
UpImage[0].style.display = "none";
DownImage[0].style.display = "block";
}
}
}
window.event.cancelBubble = true;
return false;
}
function panleState()
{
if (external.m2_readIni('WMP Player','config.ini','General','ControlPanel','')=='0')
{PartWrapperToggle('Cortrol');}
if (external.m2_readIni('WMP Player','config.ini','General','ScreenPanel','')=='0')
{PartWrapperToggle('Screen');}
if (external.m2_readIni('WMP Player','config.ini','General','SmiPanel','')=='0')
{PartWrapperToggle('Smi');}
if (external.m2_readIni('WMP Player','config.ini','General','PLPanel','')=='0')
{PartWrapperToggle('PL');}
}
var minView=false;
function goMic()
{
if (minView)
{fullview.style.display = "block";microview.style.display = "none";minView=false;}
else
{fullview.style.display = "none";microview.style.display = "block";minView=true;}
}