home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-Online 1999 November
/
PCOnline_11_1999.iso
/
muenchen
/
hpri.js
< prev
next >
Wrap
Text File
|
1999-09-28
|
771b
|
24 lines
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 &&
(navigator.userAgent.indexOf("Windows 95")>=0 ||
navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
document.write('<script language=VBScript\> \n');
document.write('Sub hpri_FSCommand(ByVal command, ByVal args)\n');
document.write(' call hpri_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</script\> \n');
}
function hpri_DoFSCommand(command, args) {
var hpriObj = InternetExplorer ? hpri : document.hpri;
p = opener.parent.frames[10].para;
if ( command=="karte" ) {
hpriObj.LoadMovie( 1, p[0] + ".swf" );
}
}