/*                                                                  
* Copyright � 1999-2008 TeaLeaf Technology, Inc.  
* All rights reserved.
*
* THIS SOFTWARE IS PROVIDED BY TEALEAF ``AS IS'' 
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, 
* FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE DISCLAIMED.  
* IN NO EVENT SHALL TEALEAF BE LIABLE FOR ANY DIRECT, INDIRECT, 
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 
* THE POSSIBILITY OF SUCH DAMAGE.
*
* @fileoverview 
* This is the configuration file for capturing Client Events that 
* happen on the rendered Flash movie. 
*
* @version 2010.10.14.10
*                                                                   
*/

if(typeof TeaLeafFlashCfg == "undefined"){
	var TeaLeafFlashCfg = {};

   if(typeof TeaLeafFlashCfg.Configuration == "undefined"){
	    	TeaLeafFlashCfg.Configuration = {
          "tlnoasync"                 : false,  
          "tlCreateRawXPath"          : true,   
          "tlCreateTargetPath"        : true,
          "tlSendDupUICommand"        : true,  
          "tlSendPageEvents"          : false, 
          "tlCheckOtherNodes"         : false,   
          "tlIDPropertyField"         : null,
          "tlReplayWaitTime"          : 500, 
          "tlCheckBusyCursor"         : false, 
	 
			tlFlashStageAttach:[
				{"tlcaptureflashevent": "click",	          "tlattach": true},
				{"tlcaptureflashevent": "change",           "tlattach": false},
				{"tlcaptureflashevent": "scroll",           "tlattach": false},
				{"tlcaptureflashevent": "mouseDown",	      "tlattach": true},
				{"tlcaptureflashevent": "mouseUp", 	        "tlattach": false},
				{"tlcaptureflashevent": "mouseMove",	      "tlattach": false},
				{"tlcaptureflashevent": "mouseFocusChange", "tlattach": false},
				{"tlcaptureflashevent": "rollOut",          "tlattach": false},
        {"tlcaptureflashevent": "rollOver",         "tlattach": false},
				{"tlcaptureflashevent": "keyUp", 	          "tlattach": true},
				{"tlcaptureflashevent": "keyDown",          "tlattach": false},
				{"tlcaptureflashevent": "textInput",        "tlattach": false},
				{"tlcaptureflashevent": "focusOut", 	      "tlattach": true},
				{"tlcaptureflashevent": "focusIn", 	        "tlattach": true},
				{"tlcaptureflashevent": "link",             "tlattach": true},
				{"tlcaptureflashevent": "tealeafCapture",   "tlattach": true}],
		    
		tlSingleAttach:[
		  {"tlcaptureflashevent":"","domelementPath":"","domelementName":""}],

    tlTriggerSingleAttach:[
      {"triggerFlashevent":"","triggerDomelementPath":"","triggerDomelementName":"","tlcaptureflashevent":"","domelementPath":"","domelementName":"","tlTimeToWait":0}],

   tlFunctionNames:[
    {"tlcaptureflashevent":"","domelementPath":"","domelementName":"","functionName":"","Replay":""}],

   tlEventIgnore:[
    {"tlcaptureflashevent":"", "domelementPath":"","domelementName":""}],

   tlDispatchEvent:[
    {"tlcaptureflashevent":"","domelementPath":"","domelementName":"","event":""}],
    
   tlFieldModify:[
    {"domelementPath":"","domelementName":"","replacePattern":"","replaceValue":""}],
    
   tlSglKeyEvent:[
    {"tlcaptureflashevent":"", "domelementPath":"","domelementName":""}],
    
   tlSequenceEvent:[
    {"tlcaptureflashevent":"mouseDown", "domelementPath":".*", "domelementName":".*", "tlflashevents":"mouseMove,mouseDown,mouseUp"}],   

   tlFlashCookies:[
    {"tlcaptureflashevent":"", "domelementPath":"", "domelementName":"", "tlPathName":"", "tlFlashCookies":""}],

   tlPageUnload:[
    {"tlcaptureflashevent":"", "domelementPath":"", "domelementName":"", "tlTimeToWait":2000}],

   tlImageCapture:[
    {"tlcaptureflashevent":"", "domelementPath":"", "domelementName":"", "tlColor":false, "tlTimeToWait":200, "tlPrivacy":[]}]
	  };
  }

  TeaLeafFlashCfg.tlnoasync= function(){
    return TeaLeafFlashCfg.Configuration.tlnoasync;  
  }
  
  TeaLeafFlashCfg.tlCreateRawXPath= function(){
    return TeaLeafFlashCfg.Configuration.tlCreateRawXPath;
	 }	

  TeaLeafFlashCfg.tlCreateTargetPath= function(){
    return TeaLeafFlashCfg.Configuration.tlCreateTargetPath;  
  }

  TeaLeafFlashCfg.tlSendDupUICommand= function(){
    return TeaLeafFlashCfg.Configuration.tlSendDupUICommand;  
  }

  TeaLeafFlashCfg.tlSendPageEvents= function(){
    return TeaLeafFlashCfg.Configuration.tlSendPageEvents;  
  }

  TeaLeafFlashCfg.tlCheckOtherNodes= function(){
    return TeaLeafFlashCfg.Configuration.tlCheckOtherNodes;  
  }

  TeaLeafFlashCfg.tlCheckBusyCursor= function(){
    return TeaLeafFlashCfg.Configuration.tlCheckBusyCursor;  
  }
  
  TeaLeafFlashCfg.tlReplayWaitTime= function(){
    return TeaLeafFlashCfg.Configuration.tlReplayWaitTime;  
  }

  TeaLeafFlashCfg.tlIDPropertyField= function(){
    return TeaLeafFlashCfg.Configuration.tlIDPropertyField;  
  }

	TeaLeafFlashCfg.tlreturnStageAttach= function(){
    return TeaLeafFlashCfg.Configuration.tlFlashStageAttach;
	 }	

 	TeaLeafFlashCfg.tlreturnSingleAttach= function(){
	  	return TeaLeafFlashCfg.Configuration.tlSingleAttach;
	 }

  TeaLeafFlashCfg.tlreturnTriggerSingleAttach= function(){
      return TeaLeafFlashCfg.Configuration.tlTriggerSingleAttach;
   }

  TeaLeafFlashCfg.tlreturnFunctionNames= function(){
    return TeaLeafFlashCfg.Configuration.tlFunctionNames;
  } 
  
  TeaLeafFlashCfg.tlreturnEventIgnore= function(){
    return TeaLeafFlashCfg.Configuration.tlEventIgnore;
  } 
  
  TeaLeafFlashCfg.tlreturnDispatchEvent= function(){
    return TeaLeafFlashCfg.Configuration.tlDispatchEvent;
  }
  
  TeaLeafFlashCfg.tlreturnFieldModify= function(){
    return TeaLeafFlashCfg.Configuration.tlFieldModify;
  }  
  	
	TeaLeafFlashCfg.tlreturnSglKeyEvent= function(){
		  return TeaLeafFlashCfg.Configuration.tlSglKeyEvent;
	 }
	
	TeaLeafFlashCfg.tlreturnSequenceEvent= function(){
    return TeaLeafFlashCfg.Configuration.tlSequenceEvent;
  }
    
  TeaLeafFlashCfg.tlreturnFlashCookies= function(){
    return TeaLeafFlashCfg.Configuration.tlFlashCookies;
  }
  
  TeaLeafFlashCfg.tlreturnPageUnload= function(){
    return TeaLeafFlashCfg.Configuration.tlPageUnload;
  }
  
	TeaLeafFlashCfg.tlreturnImageCapture= function(){
    return TeaLeafFlashCfg.Configuration.tlImageCapture;
  } 
 }
