<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1 ;


function FSI(cmd){
    doFSICommand("FSICMD", cmd);
}

function FSIgotoPage(nPage) {
	doFSICommand("newImageIndex", nPage);
    doFSICommand("FSICMD", "GotoPage");
}
function FSIgotoPage2(nPage) {
	var page = parseInt(nPage)+4;
	doFSICommand("newImageIndex", page);
    doFSICommand("FSICMD", "GotoPage");
}

function FSInoCommand() {
    doFSICommand("FSICMD", "");
}

function FSIReset() {
    doFSICommand("RESET", "");
}
function FSINotepad() {
    doFSICommand("FSICMD", "notepad");
}
function FSIHome() {
    FSIgotoPage(5);
}
function doFSICommand(cmd, arg) {
    var fsiviewerObj = InternetExplorer ? fsiviewer : document.fsiviewer;
    try {
        fsiviewerObj.SetVariable(cmd, arg);
    }
    catch(e) {
    }
}

function FSIautoPlay(nPage) {
    var i;
    for (i = 1; i < nPage; i++)
        setTimeout("doFSICommand('FSICMD','NextPage')", 1000);
}

function goToChapter() {
    var pageindex = document.getElementById('erezchapter').options[document.getElementById('erezchapter').selectedIndex].value;
    FSIgotoPage(pageindex);
}





//-->
