if(typeof DIALOGIC==="undefined"||!DIALOGIC){DIALOGIC={version:"1.0"}};(function(a){a.fn.video=function(c){var b={Div:a(this).attr("id"),AutoPlay:false,BackgroundUrl:"",Background:"#0E309B url(/static/videos/flowplayer.bg.swf) no-repeat 0pct 0pct",Plugins:{controls:{stop:true,autoBuffering:false,durationColor:"#ffffff",progressGradient:"medium",volumeSliderColor:"#000000",tooltipColor:"#0E309B",sliderGradient:"none",backgroundGradient:"10",borderRadius:"0",backgroundColor:"#0E309B",bufferGradient:"none",sliderColor:"#000000",buttonOverColor:"#0090CF",timeBgColor:"#0E309B",timeColor:"#666666",progressColor:"#0090CF",bufferColor:"#0E309B",volumeSliderGradient:"none",buttonColor:"#0E309B",tooltipTextColor:"#ffffff",height:20,opacity:1}},SMILPlugins:{smil:{url:"/static/js/flowplayer/flowplayer.smil-3.1.3.swf"},rtmp:{url:"/static/js/flowplayer/flowplayer.rtmp-3.1.3.swf"}},SMILProvider:{provider:"rtmp"},Clip:{autoPlay:true,autoBuffering:false,scaling:"fit",onStart:function(e){pageTracker._trackEvent("Videos","Play",e.url)},onPause:function(e){pageTracker._trackEvent("Videos","Pause",e.url,parseInt(this.getTime()))},onResume:function(e){pageTracker._trackEvent("Videos","Resume",e.url,parseInt(this.getTime()))},onStop:function(e){pageTracker._trackEvent("Videos","Stop",e.url,parseInt(this.getTime()))},onFinish:function(e){pageTracker._trackEvent("Videos","Finish",e.url)}}};var d=a(this).attr("href").indexOf(".smil")>-1?true:false;if(d){a.extend(true,b.Plugins,b.SMILPlugins)}if(d){a.extend(true,b.Clip,b.SMILProvider)}a.extend(true,b,c);if(b.BackgroundUrl!=""){b.Background="#0E309B url("+b.BackgroundUrl+") no-repeat 50pct 50pct"}return $f(b.Div,{src:"/static/js/flowplayer/flowplayer.commercial-3.1.4.swf"},{key:"#$ed7be423c754867c89f",canvas:{background:b.Background,backgroundGradient:"none"},logo:{url:"/static/images/dialogic_logo_fp.png",top:45,right:5,fullscreenOnly:true,displayTime:0,opacity:0.6,linkUrl:"http://www.dialogic.com"},clip:b.Clip,plugins:b.Plugins})}})(jQuery);DIALOGIC.doPopPlayer=function(){var a=DIALOGIC.modal;var b={Clip:{autoPlay:true}};if(a.play==="false"){b={Clip:{autoPlay:false}}}try{$("#popPlayer").attr("href",a.video);$("#popPlayer").video(b);$("#playerContainer").css("height",a.height+"px");$("#playerContainer").css("width",a.width+"px")}catch(c){return false}};DIALOGIC.setModalParams=function(b){var a=DIALOGIC.getHashValue(b);DIALOGIC.modal={play:a.play,video:a.video,width:a.width,height:a.height};return false};(function(c){c.fn.jqm=function(e){var f={overlay:50,overlayClass:"jqmOverlay",closeClass:"jqmClose",trigger:".jqModal",ajax:b,ajaxText:"",target:b,modal:b,toTop:b,onShow:b,onHide:b,onLoad:b};return this.each(function(){if(this._jqm){return k[this._jqm].c=c.extend({},k[this._jqm].c,e)}n++;this._jqm=n;k[n]={c:c.extend(f,c.jqm.params,e),a:b,w:c(this).addClass("jqmID"+n),s:n};if(f.trigger){c(this).jqmAddTrigger(f.trigger)}})};c.fn.jqmAddClose=function(f){return l(this,f,"jqmHide")};c.fn.jqmAddTrigger=function(f){return l(this,f,"jqmShow")};c.fn.jqmShow=function(e){return this.each(function(){e=e||window.event;c.jqm.open(this._jqm,e)})};c.fn.jqmHide=function(e){return this.each(function(){e=e||window.event;c.jqm.close(this._jqm,e)})};c.jqm={hash:{},open:function(w,x){var B=k[w],q=B.c,e="."+q.closeClass,m=(parseInt(B.w.css("z-index"))),m=(m>0)?m:3000,f=c("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":m-1,opacity:q.overlay/100});if(B.a){return b}B.t=x;B.a=true;B.w.css("z-index",m);if(q.modal){if(!p[0]){h("bind")}p.push(w)}else{if(q.overlay>0){B.w.jqmAddClose(f)}else{f=b}}B.o=(f)?f.addClass(q.overlayClass).prependTo("body"):b;if(j){c("html,body").css({height:"100%",width:"100%"});if(f){f=f.css({position:"absolute"})[0];for(var i in {Top:1,Left:1}){f.style.setExpression(i.toLowerCase(),"(_=(document.documentElement.scroll"+i+" || document.body.scroll"+i+"))+'px'")}}}if(q.ajax){var v=q.target||B.w,A=q.ajax,v=(typeof v=="string")?c(v,B.w):c(v),A=(A.substr(0,1)=="@")?c(x).attr(A.substring(1)):A;v.html(q.ajaxText).load(A,function(){if(q.onLoad){q.onLoad.call(this,B)}if(e){B.w.jqmAddClose(c(e,B.w))}d(B)})}else{if(e){B.w.jqmAddClose(c(e,B.w))}}if(q.toTop&&B.o){B.w.before('<span id="jqmP'+B.w[0]._jqm+'"></span>').insertAfter(B.o)}(q.onShow)?q.onShow(B):B.w.show();d(B);return b},close:function(e){var f=k[e];if(!f.a){return b}f.a=b;if(p[0]){p.pop();if(!p[0]){h("unbind")}}if(f.c.toTop&&f.o){c("#jqmP"+f.w[0]._jqm).after(f.w).remove()}if(f.c.onHide){f.c.onHide(f)}else{f.w.hide();if(f.o){f.o.remove()}}return b},params:{}};var n=0,k=c.jqm.hash,p=[],j=c.browser.msie&&(c.browser.version=="6.0"),b=false,a=c('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({opacity:0}),d=function(e){if(j){if(e.o){e.o.html('<p style="width:100%;height:100%"/>').prepend(a)}else{if(!c("iframe.jqm",e.w)[0]){e.w.prepend(a)}}}g(e)},g=function(e){try{c(":input:visible",e.w)[0].focus()}catch(f){}},h=function(e){c()[e]("keypress",o)[e]("keydown",o)[e]("mousedown",o)},o=function(m){var i=k[p[p.length-1]],f=(!c(m.target).parents(".jqmID"+i.s)[0]);if(f){g(i)}return !f},l=function(f,e,i){return f.each(function(){var m=this._jqm;c(e).each(function(){if(!this[i]){this[i]=[];c(this).click(function(){for(var r in {jqmShow:1,jqmHide:1}){for(var q in this[r]){if(k[this[r][q]]){k[this[r][q]].w[r](this)}}}return b})}this[i].push(m)})})}})(jQuery);(function(){function A(a){console.log("$f.fireEvent",[].slice.call(a))}function q(c){if(!c||typeof c!="object"){return c}var a=new c.constructor();for(var b in c){if(c.hasOwnProperty(b)){a[b]=q(c[b])}}return a}function s(c,f){if(!c){return}var e,d=0,a=c.length;if(a===undefined){for(e in c){if(f.call(c[e],e,c[e])===false){break}}}else{for(var b=c[0];d<a&&f.call(b,d,b)!==false;b=c[++d]){}}return c}function w(a){return document.getElementById(a)}function o(c,b,a){if(typeof b!="object"){return c}if(c&&b){s(b,function(d,e){if(!a||typeof e!="function"){c[d]=e}})}return c}function t(b){var e=b.indexOf(".");if(e!=-1){var d=b.substring(0,e)||"*";var c=b.substring(e+1,b.length);var a=[];s(document.getElementsByTagName(d),function(){if(this.className&&this.className.indexOf(c)!=-1){a.push(this)}});return a}}function z(a){a=a||window.event;if(a.preventDefault){a.stopPropagation();a.preventDefault()}else{a.returnValue=false;a.cancelBubble=true}return false}function p(c,a,b){c[a]=c[a]||[];c[a].push(b)}function y(){return"_"+(""+Math.random()).substring(2,10)}var B=function(c,a,b){var g=this;var f={};var d={};g.index=a;if(typeof c=="string"){c={url:c}}o(this,c,true);s(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var h="on"+this;if(h.indexOf("*")!=-1){h=h.substring(0,h.length-1);var i="onBefore"+h.substring(2);g[i]=function(j){p(d,i,j);return g}}g[h]=function(j){p(d,h,j);return g};if(a==-1){if(g[i]){b[i]=g[i]}if(g[h]){b[h]=g[h]}}});o(this,{onCuepoint:function(h,j){if(arguments.length==1){f.embedded=[null,h];return g}if(typeof h=="number"){h=[h]}var i=y();f[i]=[h,j];if(b.isLoaded()){b._api().fp_addCuepoints(h,a,i)}return g},update:function(j){o(g,j);if(b.isLoaded()){b._api().fp_updateClip(j,a)}var i=b.getConfig();var h=(a==-1)?i.clip:i.playlist[a];o(h,j,true)},_fireEvent:function(k,i,l,h){if(k=="onLoad"){s(f,function(n,D){if(D[0]){b._api().fp_addCuepoints(D[0],a,n)}});return false}h=h||g;if(k=="onCuepoint"){var j=f[i];if(j){return j[1].call(b,h,l)}}if(i&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(k)!=-1){o(h,i);if(i.metaData){if(!h.duration){h.duration=i.metaData.duration}else{h.fullDuration=i.metaData.duration}}}var m=true;s(d[k],function(){m=this.call(b,h,i,l)});return m}});if(c.onCuepoint){var e=c.onCuepoint;g.onCuepoint.apply(g,typeof e=="function"?[e]:e);delete c.onCuepoint}s(c,function(h,i){if(typeof i=="function"){p(d,h,i);delete c[h]}});if(a==-1){b.onCuepoint=this.onCuepoint}};var r=function(f,a,g,c){var b={};var e=this;var d=false;if(c){o(b,c)}s(a,function(h,i){if(typeof i=="function"){b[h]=i;delete a[h]}});o(this,{animate:function(i,j,h){if(!i){return e}if(typeof j=="function"){h=j;j=500}if(typeof i=="string"){var l=i;i={};i[l]=j;j=500}if(h){var k=y();b[k]=h}if(j===undefined){j=500}a=g._api().fp_animate(f,i,j,k);return e},css:function(j,h){if(h!==undefined){var i={};i[j]=h;j=i}a=g._api().fp_css(f,j);o(e,a);return e},show:function(){this.display="block";g._api().fp_showPlugin(f);return e},hide:function(){this.display="none";g._api().fp_hidePlugin(f);return e},toggle:function(){this.display=g._api().fp_togglePlugin(f);return e},fadeTo:function(i,h,k){if(typeof h=="function"){k=h;h=500}if(k){var j=y();b[j]=k}this.display=g._api().fp_fadeTo(f,i,h,j);this.opacity=i;return e},fadeIn:function(i,h){return e.fadeTo(1,i,h)},fadeOut:function(i,h){return e.fadeTo(0,i,h)},getName:function(){return f},getPlayer:function(){return g},_fireEvent:function(l,k,h){if(l=="onUpdate"){var i=g._api().fp_getPlugin(f);if(!i){return}o(e,i);delete e.methods;if(!d){s(i.methods,function(){var m=""+this;e[m]=function(){var n=[].slice.call(arguments);var D=g._api().fp_invoke(f,m,n);return D==="undefined"||D===undefined?e:D}});d=true}}var j=b[l];if(j){j.apply(e,k);if(l.substring(0,1)=="_"){delete b[l]}}}})};function v(k,g,b){var G=this,a=null,H,h,c=[],f={},m={},e,i,j,F,l,d;o(G,{id:function(){return e},isLoaded:function(){return(a!==null)},getParent:function(){return k},hide:function(C){if(C){k.style.height="0px"}if(a){a.style.height="0px"}return G},show:function(){k.style.height=d+"px";if(a){a.style.height=l+"px"}return G},isHidden:function(){return a&&parseInt(a.style.height,10)===0},load:function(C){if(!a&&G._fireEvent("onBeforeLoad")!==false){s(u,function(){this.unload()});H=k.innerHTML;if(H&&!flashembed.isSupported(g.version)){k.innerHTML=""}flashembed(k,g,{config:b});if(C){C.cached=true;p(m,"onLoad",C)}}return G},unload:function(){if(H.replace(/\s/g,"")!==""){if(G._fireEvent("onBeforeUnload")===false){return G}try{if(a){a.fp_close();G._fireEvent("onUnload")}}catch(C){}a=null;k.innerHTML=H}return G},getClip:function(C){if(C===undefined){C=F}return c[C]},getCommonClip:function(){return h},getPlaylist:function(){return c},getPlugin:function(E){var D=f[E];if(!D&&G.isLoaded()){var C=G._api().fp_getPlugin(E);if(C){D=new r(E,C,G);f[E]=D}}return D},getScreen:function(){return G.getPlugin("screen")},getControls:function(){return G.getPlugin("controls")},getConfig:function(C){return C?q(b):b},getFlashParams:function(){return g},loadPlugin:function(N,M,P,O){if(typeof P=="function"){O=P;P={}}var C=O?y():"_";G._api().fp_loadPlugin(N,M,P,C);var E={};E[C]=O;var D=new r(N,null,G,E);f[N]=D;return D},getState:function(){return a?a.fp_getState():-1},play:function(C,E){function D(){if(C!==undefined){G._api().fp_play(C,E)}else{G._api().fp_play()}}if(a){D()}else{G.load(function(){D()})}return G},getVersion:function(){var C="flowplayer.js 3.1.4";if(a){var D=a.fp_getVersion();D.push(C);return D}return C},_api:function(){if(!a){throw"Flowplayer "+G.id()+" not loaded when calling an API method"}return a},setClip:function(C){G.setPlaylist([C]);return G},getIndex:function(){return j}});s(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var D="on"+this;if(D.indexOf("*")!=-1){D=D.substring(0,D.length-1);var C="onBefore"+D.substring(2);G[C]=function(E){p(m,C,E);return G}}G[D]=function(E){p(m,D,E);return G}});s(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed").split(","),function(){var C=this;G[C]=function(E,D){if(!a){return G}var J=null;if(E!==undefined&&D!==undefined){J=a["fp_"+C](E,D)}else{J=(E===undefined)?a["fp_"+C]():a["fp_"+C](E)}return J==="undefined"||J===undefined?G:J}});G._fireEvent=function(W){if(typeof W=="string"){W=[W]}var D=W[0],U=W[1],S=W[2],R=W[3],Q=0;if(b.debug){A(W)}if(!a&&D=="onLoad"&&U=="player"){a=a||w(i);l=a.clientHeight;s(c,function(){this._fireEvent("onLoad")});s(f,function(I,J){J._fireEvent("onUpdate")});h._fireEvent("onLoad")}if(D=="onLoad"&&U!="player"){return}if(D=="onError"){if(typeof U=="string"||(typeof U=="number"&&typeof S=="number")){U=S;S=R}}if(D=="onContextMenu"){s(b.contextMenu[U],function(I,J){J.call(G)});return}if(D=="onPluginEvent"){var C=U.name||U;var X=f[C];if(X){X._fireEvent("onUpdate",U);X._fireEvent(S,W.slice(3))}return}if(D=="onPlaylistReplace"){c=[];var T=0;s(U,function(){c.push(new B(this,T++,G))})}if(D=="onClipAdd"){if(U.isInStream){return}U=new B(U,S,G);c.splice(S,0,U);for(Q=S+1;Q<c.length;Q++){c[Q].index++}}var V=true;if(typeof U=="number"&&U<c.length){F=U;var E=c[U];if(E){V=E._fireEvent(D,S,R)}if(!E||V!==false){V=h._fireEvent(D,S,R,E)}}s(m[D],function(){V=this.call(G,U,S);if(this.cached){m[D].splice(Q,1)}if(V===false){return false}Q++});return V};function n(){if($f(k)){$f(k).getParent().innerHTML="";j=$f(k).getIndex();u[j]=G}else{u.push(G);j=u.length-1}d=parseInt(k.style.height,10)||k.clientHeight;if(typeof g=="string"){g={src:g}}e=k.id||"fp"+y();i=g.id||e+"_api";g.id=i;b.playerId=e;if(typeof b=="string"){b={clip:{url:b}}}if(typeof b.clip=="string"){b.clip={url:b.clip}}b.clip=b.clip||{};if(k.getAttribute("href",2)&&!b.clip.url){b.clip.url=k.getAttribute("href",2)}h=new B(b.clip,-1,G);b.playlist=b.playlist||[b.clip];var D=0;s(b.playlist,function(){var E=this;if(typeof E=="object"&&E.length){E={url:""+E}}s(b.clip,function(K,L){if(L!==undefined&&E[K]===undefined&&typeof L!="function"){E[K]=L}});b.playlist[D]=E;E=new B(E,D,G);c.push(E);D++});s(b,function(E,J){if(typeof J=="function"){if(h[E]){h[E](J)}else{p(m,E,J)}delete b[E]}});s(b.plugins,function(E,J){if(J){f[E]=new r(E,J,G)}});if(!b.plugins||b.plugins.controls===undefined){f.controls=new r("controls",null,G)}f.canvas=new r("canvas",null,G);g.bgcolor=g.bgcolor||"#000000";g.version=g.version||[9,0];g.expressInstall="http://www.flowplayer.org/swf/expressinstall.swf";function C(E){if(!G.isLoaded()&&G._fireEvent("onBeforeClick")!==false){G.load()}return z(E)}H=k.innerHTML;if(H.replace(/\s/g,"")!==""){if(k.addEventListener){k.addEventListener("click",C,false)}else{if(k.attachEvent){k.attachEvent("onclick",C)}}}else{if(k.addEventListener){k.addEventListener("click",z,false)}G.load()}}if(typeof k=="string"){flashembed.domReady(function(){var C=w(k);if(!C){throw"Flowplayer cannot access element: "+k}else{k=C;n()}})}else{n()}}var u=[];function x(a){this.length=a.length;this.each=function(b){s(a,b)};this.size=function(){return a.length}}window.flowplayer=window.$f=function(){var e=null;var c=arguments[0];if(!arguments.length){s(u,function(){if(this.isLoaded()){e=this;return false}});return e||u[0]}if(arguments.length==1){if(typeof c=="number"){return u[c]}else{if(c=="*"){return new x(u)}s(u,function(){if(this.id()==c.id||this.id()==c||this.getParent()==c){e=this;return false}});return e}}if(arguments.length>1){var a=arguments[1];var f=(arguments.length==3)?arguments[2]:{};if(typeof c=="string"){if(c.indexOf(".")!=-1){var d=[];s(t(c),function(){d.push(new v(this,q(a),q(f)))});return new x(d)}else{var b=w(c);return new v(b!==null?b:c,a,f)}}else{if(c){return new v(c,a,f)}}}return null};o(window.$f,{fireEvent:function(){var a=[].slice.call(arguments);var b=$f(a[0]);return b?b._fireEvent(a.slice(1)):null},addPlugin:function(a,b){v.prototype[a]=b;return $f},each:s,extend:o});if(typeof jQuery=="function"){jQuery.prototype.flowplayer=function(c,b){if(!arguments.length||typeof arguments[0]=="number"){var a=[];this.each(function(){var d=$f(this);if(d){a.push(d)}});return arguments.length?a[arguments[0]]:new x(a)}return this.each(function(){$f(this,q(c),b?q(b):{})})}}})();(function(){var q=typeof jQuery=="function";var k={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(q){jQuery.tools=jQuery.tools||{};jQuery.tools.flashembed={version:"1.0.4",conf:k}}function l(){if(o.done){return false}var b=document;if(b&&b.getElementsByTagName&&b.getElementById&&b.body){clearInterval(o.timer);o.timer=null;for(var a=0;a<o.ready.length;a++){o.ready[a].call()}o.ready=null;o.done=true}}var o=q?jQuery:function(a){if(o.done){return a()}if(o.timer){o.ready.push(a)}else{o.ready=[a];o.timer=setInterval(l,13)}};function r(b,a){if(a){for(key in a){if(a.hasOwnProperty(key)){b[key]=a[key]}}}return b}function s(b){switch(t(b)){case"string":b=b.replace(new RegExp('(["\\\\])',"g"),"\\$1");b=b.replace(/^\s?(\d+)%/,"$1pct");return'"'+b+'"';case"array":return"["+n(b,function(d){return s(d)}).join(",")+"]";case"function":return'"function()"';case"object":var c=[];for(var a in b){if(b.hasOwnProperty(a)){c.push('"'+a+'":'+s(b[a]))}}return"{"+c.join(",")+"}"}return String(b).replace(/\s/g," ").replace(/\'/g,'"')}function t(b){if(b===null||b===undefined){return false}var a=typeof b;return(a=="object"&&b.push)?"array":a}if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function n(c,b){var a=[];for(var d in c){if(c.hasOwnProperty(d)){a[d]=b(c[d])}}return a}function m(f,h){var e=r({},f);var g=document.all;var c='<object width="'+e.width+'" height="'+e.height+'"';if(g&&!e.id){e.id="_"+(""+Math.random()).substring(9)}if(e.id){c+=' id="'+e.id+'"'}if(e.cachebusting){e.src+=((e.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(e.w3c||!g){c+=' data="'+e.src+'" type="application/x-shockwave-flash"'}else{c+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}c+=">";if(e.w3c||g){c+='<param name="movie" value="'+e.src+'" />'}e.width=e.height=e.id=e.w3c=e.src=null;for(var a in e){if(e[a]!==null){c+='<param name="'+a+'" value="'+e[a]+'" />'}}var d="";if(h){for(var b in h){if(h[b]!==null){d+=b+"="+(typeof h[b]=="object"?s(h[b]):h[b])+"&"}}d=d.substring(0,d.length-1);c+='<param name="flashvars" value=\''+d+"' />"}c+="</object>";return c}function p(c,f,b){var a=flashembed.getVersion();r(this,{getContainer:function(){return c},getConf:function(){return f},getVersion:function(){return a},getFlashvars:function(){return b},getApi:function(){return c.firstChild},getHTML:function(){return m(f,b)}});var g=f.version;var h=f.expressInstall;var e=!g||flashembed.isSupported(g);if(e){f.onFail=f.version=f.expressInstall=null;c.innerHTML=m(f,b)}else{if(g&&h&&flashembed.isSupported([6,65])){r(f,{src:h});b={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};c.innerHTML=m(f,b)}else{if(c.innerHTML.replace(/\s/g,"")!==""){}else{c.innerHTML="<h2>Flash version "+g+" or greater is required</h2><h3>"+(a[0]>0?"Your version is "+a:"You have no flash plugin installed")+"</h3>"+(c.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>");if(c.tagName=="A"){c.onclick=function(){location.href="http://www.adobe.com/go/getflashplayer"}}}}}if(!e&&f.onFail){var d=f.onFail.call(this);if(typeof d=="string"){c.innerHTML=d}}if(document.all){window[f.id]=document.getElementById(f.id)}}window.flashembed=function(e,a,d){if(typeof e=="string"){var b=document.getElementById(e);if(b){e=b}else{o(function(){flashembed(e,a,d)});return}}if(!e){return}if(typeof a=="string"){a={src:a}}var c=r({},k);r(c,a);return new p(e,c,d)};r(window.flashembed,{getVersion:function(){var c=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var b=navigator.plugins["Shockwave Flash"].description;if(typeof b!="undefined"){b=b.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var d=parseInt(b.replace(/^(.*)\..*$/,"$1"),10);var h=/r/.test(b)?parseInt(b.replace(/^.*r(.*)$/,"$1"),10):0;c=[d,h]}}else{if(window.ActiveXObject){try{var f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(g){try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");c=[6,0];f.AllowScriptAccess="always"}catch(a){if(c[0]==6){return c}}try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}if(typeof f=="object"){b=f.GetVariable("$version");if(typeof b!="undefined"){b=b.replace(/^\S+\s+(.*)$/,"$1").split(",");c=[parseInt(b[0],10),parseInt(b[2],10)]}}}}return c},isSupported:function(b){var a=flashembed.getVersion();var c=(a[0]>b[0])||(a[0]==b[0]&&a[1]>=b[1]);return c},domReady:o,asString:s,getHTML:m});if(q){jQuery.fn.flashembed=function(c,b){var a=null;this.each(function(){a=flashembed(this,c,b)});return c.api===false?this:a}}})();$(document).ready(function(){if($("#newtabs").length>0&&$(".tabHolder").length>0){$("[id^=tabs]").hide();$("[id^=tabs]:first").show();var a=$(".tabs-nav li a");a.click(function(){a.parent().removeClass("tabs-selected");$(this).parent().addClass("tabs-selected");$("[id^=tabs]").hide();var b=$(this).attr("href");$(b).show();return false})}});DIALOGIC.getHashValue=function(f){var h={};var g=f.slice(f.indexOf("?")+1).split("&");var b=g.slice("=");for(var a=0;a<b.length;a++){var d=b[a].indexOf("=");if(d===-1){continue}var e=b[a].substring(0,d);var c=b[a].substring(d+1);h[e]=unescape(c)}return h};jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};function initPage(){var c=document.getElementById("nav");if(c){var a=c.getElementsByTagName("li");for(var b=0;b<a.length;b++){a[b].onmouseover=function(){if(this.className.indexOf("hover"==-1)){this.className+=" hover"}};a[b].onmouseout=function(){this.className=this.className.replace("hover","")}}}}if(window.attachEvent){window.attachEvent("onload",initPage)};