/* ---------------------------------------------------------------------
   L I C E N S E D   S O F T A R E   N O T I C E
   ---------------------------------------------------------------------
   This file is licensed software; it may not be copied or used for any
   purpose without license from MyST Technology Partners, Inc.
   http://myst-technology.com
  
   ---------------------------------------------------------------------
   P R O P R I E T A R Y   I N F O R M A T I O N   N O T I C E
   ---------------------------------------------------------------------
   This file contains CONFIDENTIAL INFORMATION ("Information") that
   belongs to MyST Technology Partners, Inc. (the "Owner").  This
   Information is considered a TRADE SECRET of the Owner. This file may
   not be divulged to or used by any party without prior written
   authorization of the Owner.
  
   Should the Owner elect to publish this file in such a way as to lose
   its trade secret status, this file shall remain a copyrighted work
   bearing the following copyright notice:
  
   Copyright (C) 2006-2009 MyST Technology Partners, Inc.
   All rights reserved.
   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   $Id: myst-wr.js,v 1.4, 2009-05-25 02:03:45Z, F. Andy Seidl$
*/
wr={};wr.$j="0";wr.g=function($a){wr.$j=$a;};wr.m1=["Click 'Save Recording' if you are satisfied."];wr.m2=["Your recording is ready to submit with your posting.","You may click 'REC' again to re-record.","You may click 'X' to discard the recording."];wr.m3=["Click 'REC' to begin recording.","Click 'S' to stop recording."];wr.newRecording=function(){wr.show();var $b=new bu.DOMBuilder();var $c=$b.genTag("div",{id:"ID_WR_Msg"});bu.safeReplaceNode($c,getObj("ID_WR_New"));wr.$k(wr.m3);};wr.SetMsgContent=function($d){var $e=getObj("ID_WR_Msg");if($e!=null){while($e.firstChild!=null){bu.safeDeleteNode($e.firstChild);};$e.appendChild($d);}};wr.$k=function($f){var $b=new bu.DOMBuilder();$b.startTag("ul");for(var i=0;i<$f.length;i++){$b.genTag("li",{},$f[i]);};wr.SetMsgContent($b.endTag());};function vrEvent($g){if("onRecordFinish"==$g){wr.$k(wr.m1);}else if("onSaveFinish"==$g){document.FORM.ID_WR_GUID.value=wr.$j;wr.$k(wr.m2);}else if("onPlayerDeleteFinish"==$g){document.FORM.ID_WR_GUID.value="";wr.$k(wr.m3);}};function FlashRequest($h,$i){};


