/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/


window[esri._dojoScopeName||"dojo"]._xdResourceLoaded(function(_1,_2,_3){return {depends:[["provide","dojox.embed.Quicktime"]],defineResource:function(_4,_5,_6){if(!_4._hasResource["dojox.embed.Quicktime"]){_4._hasResource["dojox.embed.Quicktime"]=true;_4.provide("dojox.embed.Quicktime");(function(d){var _7,_8={major:0,minor:0,rev:0},_9,_a={width:320,height:240,redirect:null},_b="dojox-embed-quicktime-",_c=0,_d="This content requires the <a href=\"http://www.apple.com/quicktime/download/\" title=\"Download and install QuickTime.\">QuickTime plugin</a>.";function _e(_f){_f=d.mixin(d.clone(_a),_f||{});if(!("path" in _f)&&!_f.testing){console.error("dojox.embed.Quicktime(ctor):: no path reference to a QuickTime movie was provided.");return null;}if(_f.testing){_f.path="";}if(!("id" in _f)){_f.id=_b+_c++;}return _f;};if(d.isIE){_9=(function(){try{var o=new ActiveXObject("QuickTimeCheckObject.QuickTimeCheck.1");if(o!==undefined){var v=o.QuickTimeVersion.toString(16);function p(i){return (v.substring(i,i+1)-0)||0;};_8={major:p(0),minor:p(1),rev:p(2)};return o.IsQuickTimeAvailable(0);}}catch(e){}return false;})();_7=function(_10){if(!_9){return {id:null,markup:_d};}_10=_e(_10);if(!_10){return null;}var s="<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" "+"codebase=\"http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0\" "+"id=\""+_10.id+"\" "+"width=\""+_10.width+"\" "+"height=\""+_10.height+"\">"+"<param name=\"src\" value=\""+_10.path+"\"/>";for(var p in _10.params||{}){s+="<param name=\""+p+"\" value=\""+_10.params[p]+"\"/>";}s+="</object>";return {id:_10.id,markup:s};};}else{_9=(function(){for(var i=0,p=navigator.plugins,l=p.length;i<l;i++){if(p[i].name.indexOf("QuickTime")>-1){return true;}}return false;})();_7=function(_11){if(!_9){return {id:null,markup:_d};}_11=_e(_11);if(!_11){return null;}var s="<embed type=\"video/quicktime\" src=\""+_11.path+"\" "+"id=\""+_11.id+"\" "+"name=\""+_11.id+"\" "+"pluginspage=\"www.apple.com/quicktime/download\" "+"enablejavascript=\"true\" "+"width=\""+_11.width+"\" "+"height=\""+_11.height+"\"";for(var p in _11.params||{}){s+=" "+p+"=\""+_11.params[p]+"\"";}s+="></embed>";return {id:_11.id,markup:s};};}_6.embed.Quicktime=function(_12,_13){return _6.embed.Quicktime.place(_12,_13);};d.mixin(_6.embed.Quicktime,{minSupported:6,available:_9,supported:_9,version:_8,initialized:false,onInitialize:function(){_6.embed.Quicktime.initialized=true;},place:function(_14,_15){var o=_7(_14);if(!(_15=d.byId(_15))){_15=d.create("div",{id:o.id+"-container"},d.body());}if(o){_15.innerHTML=o.markup;if(o.id){return d.isIE?d.byId(o.id):document[o.id];}}return null;}});if(!d.isIE){var id="-qt-version-test",o=_7({testing:true,width:4,height:4}),c=10,top="-1000px",_16="1px";function _17(){setTimeout(function(){var qt=document[o.id],n=d.byId(id);if(qt){try{var v=qt.GetQuickTimeVersion().split(".");_6.embed.Quicktime.version={major:parseInt(v[0]||0),minor:parseInt(v[1]||0),rev:parseInt(v[2]||0)};if(_6.embed.Quicktime.supported=v[0]){_6.embed.Quicktime.onInitialize();}c=0;}catch(e){if(c--){_17();}}}if(!c&&n){d.destroy(n);}},20);};if(d._initFired){d.create("div",{innerHTML:o.markup,id:id,style:{top:top,left:0,width:_16,height:_16,overflow:"hidden",position:"absolute"}},d.body());}else{document.write("<div style=\"top:"+top+";left:0;width:"+_16+";height:"+_16+";overflow:hidden;position:absolute\" id=\""+id+"\">"+o.markup+"</div>");}_17();}else{if(d.isIE&&_9){setTimeout(function(){_6.embed.Quicktime.onInitialize();},10);}}})(_4);}}};});