var bWin32IE;
if ((navigator.userAgent.indexOf("IE")
    > -1) && (navigator.platform == "Win32")) {
     bWin32IE = true;
} else {
     bWin32IE = false;
}

function play1(){
   if (bWin32IE == true) {
      videoplayer.Play();
   } else {
      document.videoplayer.Play();
      
   }
}

function stop1(){
   if (bWin32IE == true) {
      videoplayer.stop();
   } else {
      document.videoplayer.Stop();
      document.videoplayer.SetCurrentPosition(0);
   }
}

function pause1(){
   if (bWin32IE == true) {
      videoplayer.stop();
	  videoplayer.SetCurrentPosition(0);
	  videoplayer.Play();
   } else {
	  document.videoplayer.Stop();
	  document.videoplayer.Play();
   }
}