
                var myMooFlowPage = {
                  start: function(){
                    var mf = new MooFlow($('MooFlow'), {
startIndex: 0,
interval: 6000,
factor: 150,
bgColor: "transparent",
useCaption: true,
useMouseWheel: true,
useKeyInput: true,
'onEmptyinit': function(){
                              this.loadJSON('index.php?eID=tx_cfamooflow_pi1&damcat=');
                            },

      			'onStart': function(){
	      		this.autoPlay = this.auto.periodical(this.options.interval, this);
			this.isAutoPlay = true;
			this.fireEvent('autoPlay');
    			},'onClickView': 
                    function(obj){
                          myMooFlowPage.link(obj);
                      }  
                    });
                      },
                              link: function(result){
                                if(result.target == "_blank") {
                                  window.open(result.href);
                                } else {
                                  document.location = result.href;
                                }
	                      }
                            };
                        
                          window.addEvent('domready', myMooFlowPage.start);
                          
