var bWin32IE;

if ((navigator.userAgent.indexOf("IE") > -1) && (navigator.platform == "Win32")) {
     bWin32IE = true;
} else {
     bWin32IE = false;
}

function popup(Url, WindowName, Width, Height){

PopupWin = window.open("" +Url+ "","" + WindowName + "","width=" + Width + ",height=" + Height + ",location=0,menubar=0,resizable=0,scrollbars=1,status=1,titlebar=1,toolbar=0,screenX=50,left=50,screenY=50,top=50");
        PopupWin.focus();
}

function start(){
   if (bWin32IE == true) {
      WMPlay.CurrentPosition = WMPlay.CurrentPosition;

       WMPlay.play();
   } else {
      document.WMPlay.SetCurrentPosition(0);
      document.WMPlay.Play();
      
   }
}

function stop(){
   if (bWin32IE == true) {
      WMPlay.stop();
   } else {
      document.WMPlay.Stop();
      document.WMPlay.SetCurrentPosition(0);
   }
}

function remote(url){ 

                window.opener.location=url
} 

function popup(Url, WindowName, Width, Height){

	PopupWin = window.open("" +Url+ "","" + WindowName + "","width=" + Width + ",height=" + Height + ",location=0,menubar=0,resizable=0,scrollbars=0,status=1,titlebar=1,toolbar=0,screenX=50,left=50,screenY=50,top=50");
        
	PopupWin.focus();
}

function Confirm(ConfirmText){

	if (confirm(ConfirmText))
			
		return true;
			
	else
			
		return false;
			
	end
}

