var nextUrl;
function loadNext(){
    try{
	var currTime = document.movie1.GetTime();
	var duration = document.movie1.GetDuration();
    	if(currTime >= duration){
	    window.location = nextUrl;
	    return true;
	}//if
	else{
	    setTimeout('loadNext()',300);
	    return true;
	}//else
    }//try
    catch(e){
	//if that failed wait a second and try again
	setTimeout('loadNext()',1000);
	return true;
    }//catch
}
