﻿var	m_playrow;
var g_stenscount ;
var g_stenssound =new Array();
function of_replay()
{
     m_isplay = true;
     m_playrow = -1;
     of_renext();

     return 1;
}

function of_renext()
{
	of_restop();
	if  (m_playrow+1  > g_stenscount){
	     return 0;
	}
	m_playrow += 1;
	of_soundplay();
	return 1;
}
/*
function of_repre()
{
	of_restop();
	if  (m_playrow  < 2){
	     return 0;
	}
	m_playrow -= 1;
	of_soundplay();
	return 1;
} */

function of_restop()
{
             LRSoundStop("newread_player");
}

function of_soundplay()
{
             LRSoundFileallOpen(g_stenssound[m_playrow] ,"newread_player",true,'MEDER001');
}
/*
//外部接口函数
function StensAction(sid)
{
   parent.frames['contentFramename'].scroll(0, sentenceX[m_playrow]-20);
}
*/

