(function(){var ua=navigator.userAgent.toLowerCase(),S={version:"3.0rc1",adapter:null,cache:[],client:{isIE:ua.indexOf('msie')>-1,isIE6:ua.indexOf('msie 6')>-1,isIE7:ua.indexOf('msie 7')>-1,isGecko:ua.indexOf('gecko')>-1&&ua.indexOf('safari')==-1,isWebkit:ua.indexOf('applewebkit/')>-1,isWindows:ua.indexOf('windows')>-1||ua.indexOf('win32')>-1,isMac:ua.indexOf('macintosh')>-1||ua.indexOf('mac os x')>-1,isLinux:ua.indexOf('linux')>-1},content:null,current:-1,dimensions:null,gallery:[],expando:'shadowboxCacheKey',libraries:{Prototype:'prototype',jQuery:'jquery',MooTools:'mootools',YAHOO:'yui',dojo:'dojo',Ext:'ext'},options:{adapter:null,animate:true,animateFade:true,autoplayMovies:true,continuous:false,ease:function(x){return 1+Math.pow(x-1,3);},enableKeys:true,errors:{fla:{name:'Flash',url:'http://www.adobe.com/products/flashplayer/'},qt:{name:'QuickTime',url:'http://www.apple.com/quicktime/download/'},wmp:{name:'Windows Media Player',url:'http://www.microsoft.com/windows/windowsmedia/'},f4m:{name:'Flip4Mac',url:'http://www.flip4mac.com/wmv_download.htm'}},ext:{img:['png','jpg','jpeg','gif','bmp'],swf:['swf'],flv:['flv','m4v'],qt:['dv','mov','moov','movie','mp4'],wmp:['asf','wm','wmv'],qtwmp:['avi','mpg','mpeg']},flashParams:{bgcolor:'#000000',allowfullscreen:true},flashVars:{},flashVersion:'9.0.115',handleOversize:'resize',handleUnsupported:'link',language:'en',onChange:null,onClose:null,onFinish:null,onOpen:null,players:['img'],showMovieControls:true,skipSetup:false,slideshowDelay:0,useSizzle:true,viewportPadding:20},path:'',plugins:null,ready:false,regex:{domain:/:\/\/(.*?)[:\/]/,inline:/#(.+)$/,rel:/^(light|shadow)box/i,gallery:/^(light|shadow)box\[(.*?)\]/i,unsupported:/^unsupported-(\w+)/,param:/\s*([a-z_]*?)\s*=\s*(.+)\s*/},applyOptions:function(opts){if(opts){default_options=apply({},S.options);apply(S.options,opts);}},revertOptions:function(){apply(S.options,default_options);},change:function(index){if(!S.gallery)return;if(!S.gallery[index]){if(!S.options.continuous)
return;else
index=index<0?S.gallery.length-1:0;}
S.current=index;if(typeof slide_timer=='number'){clearTimeout(slide_timer);slide_timer=null;slide_delay=slide_start=0;}
if(S.options.onChange)
S.options.onChange();loadContent();},close:function(){if(!active)return;active=false;listenKeys(false);if(S.content){S.content.remove();S.content=null;}
if(typeof slide_timer=='number')
clearTimeout(slide_timer);slide_timer=null;slide_delay=0;if(S.options.onClose)
S.options.onClose();S.skin.onClose();S.revertOptions();},contentId:function(){return content_id;},error:function(msg){if(!S.debug)return;if(typeof window['console']!='undefined'&&typeof console.log=='function')
console.log(msg);else
alert(msg);},getCurrent:function(){return S.current>-1?S.gallery[S.current]:null;},hasNext:function(){return S.gallery.length>1&&(S.current!=S.gallery.length-1||S.options.continuous);},init:function(opts){if(initialized)return;initialized=true;opts=opts||{};init_options=opts;if(opts)
apply(S.options,opts);for(var e in S.options.ext)
S.regex[e]=new RegExp('\.('+S.options.ext[e].join('|')+')\s*$','i');if(!S.path){var pathre=/(.+\/)shadowbox\.js/i,path;each(document.getElementsByTagName('script'),function(s){path=pathre.exec(s.src);if(path){S.path=path[1];return false;}});}
if(S.options.adapter)
S.adapter=S.options.adapter.toLowerCase();else{for(var lib in S.libraries){if(typeof window[lib]!='undefined'){S.adapter=S.libraries[lib];break;}}
if(!S.adapter)
S.adapter='base';}
if(S.options.useSizzle&&!window['Sizzle'])
if(window['jQuery'])
window['Sizzle']=jQuery.find;else
U.include(S.path+'libraries/sizzle/sizzle.js');if(!S.lang)
U.include(S.path+'languages/shadowbox-'+S.options.language+'.js');each(S.options.players,function(p){if((p=='swf'||p=='flv')&&!window['swfobject'])
U.include(S.path+'libraries/swfobject/swfobject.js');if(!S[p])
U.include(S.path+'players/shadowbox-'+p+'.js');});if(!S.lib)
U.include(S.path+'adapters/shadowbox-'+S.adapter+'.js');waitDom(waitLibs);},isActive:function(){return active;},isPaused:function(){return slide_timer=='paused';},load:function(){if(S.ready)return;S.ready=true;if(S.skin.options){apply(S.options,S.skin.options);apply(S.options,init_options);}
S.skin.init();if(!S.options.skipSetup)
S.setup();},next:function(){S.change(S.current+1);},open:function(obj){if(U.isLink(obj)){if(S.inCache(obj))
obj=S.cache[obj[S.expando]];else
obj=S.buildCacheObj(obj);}
if(obj.constructor==Array){S.gallery=obj;S.current=0;}else{if(!obj.gallery){S.gallery=[obj];S.current=0;}else{S.current=null;S.gallery=[];each(S.cache,function(c){if(c.gallery&&c.gallery==obj.gallery){if(S.current==null&&c.content==obj.content&&c.title==obj.title)
S.current=S.gallery.length;S.gallery.push(c);}});if(S.current==null){S.gallery.unshift(obj);S.current=0;}}}
obj=S.getCurrent();if(obj.options){S.revertOptions();S.applyOptions(obj.options);}
var item,remove,m,format,replace,oe=S.options.errors,msg,el;for(var i=0;i<S.gallery.length;++i){item=S.gallery[i]=apply({},S.gallery[i]);remove=false;if(m=S.regex.unsupported.exec(item.player)){if(S.options.handleUnsupported=='link'){item.player='html';switch(m[1]){case'qtwmp':format='either';replace=[oe.qt.url,oe.qt.name,oe.wmp.url,oe.wmp.name];break;case'qtf4m':format='shared';replace=[oe.qt.url,oe.qt.name,oe.f4m.url,oe.f4m.name];break;default:format='single';if(m[1]=='swf'||m[1]=='flv')m[1]='fla';replace=[oe[m[1]].url,oe[m[1]].name];}
msg=S.lang.errors[format].replace(/\{(\d+)\}/g,function(m,n){return replace[n];});item.content='<div class="sb-message">'+msg+'</div>';}else
remove=true;}else if(item.player=='inline'){m=S.regex.inline.exec(item.content);if(m){var el=U.get(m[1]);if(el)
item.content=el.innerHTML;else
S.error('Cannot find element with id '+m[1]);}else
S.error('Cannot find element id for inline content');}else if(item.player=='swf'||item.player=='flv'){var version=(item.options&&item.options.flashVersion)||S.options.flashVersion;if(!swfobject.hasFlashPlayerVersion(version)){item.width=310;item.height=177;}}
if(remove){S.gallery.splice(i,1);if(i<S.current)
--S.current;else if(i==S.current)
S.current=i>0?i-1:i;--i;}}
if(S.gallery.length){if(!active){if(typeof S.options.onOpen=='function'&&S.options.onOpen(obj)===false)
return;S.skin.onOpen(obj,loadContent);}else
loadContent();active=true;}},pause:function(){if(typeof slide_timer!='number')return;var time=new Date().getTime();slide_delay=Math.max(0,slide_delay-(time-slide_start));if(slide_delay){clearTimeout(slide_timer);slide_timer='paused';if(S.skin.onPause)
S.skin.onPause();}},play:function(){if(!S.hasNext())return;if(!slide_delay)slide_delay=S.options.slideshowDelay*1000;if(slide_delay){slide_start=new Date().getTime();slide_timer=setTimeout(function(){slide_delay=slide_start=0;S.next();},slide_delay);if(S.skin.onPlay)
S.skin.onPlay();}},previous:function(){S.change(S.current-1);},setDimensions:function(height,width,max_h,max_w,tb,lr,resizable){var h=height=parseInt(height),w=width=parseInt(width),pad=parseInt(S.options.viewportPadding)||0;var extra_h=2*pad+tb;if(h+extra_h>=max_h)h=max_h-extra_h;var extra_w=2*pad+lr;if(w+extra_w>=max_w)w=max_w-extra_w;var resize_h=height,resize_w=width,change_h=(height-h)/height,change_w=(width-w)/width,oversized=(change_h>0||change_w>0);if(resizable&&oversized&&S.options.handleOversize=='resize'){if(change_h>change_w)
w=Math.round((width/height)*h);else if(change_w>change_h)
h=Math.round((height/width)*w);resize_w=w;resize_h=h;}
S.dimensions={height:h+tb,width:w+lr,inner_h:h,inner_w:w,top:(max_h-(h+extra_h))/2+pad,left:(max_w-(w+extra_w))/2+pad,oversized:oversized,resize_h:resize_h,resize_w:resize_w};},setup:function(links,opts){each(S.findLinks(links),function(link){S.addCache(link,opts);});},teardown:function(links){each(S.findLinks(links),S.removeCache);},findLinks:function(links){if(!links){var links=[],rel;each(document.getElementsByTagName('a'),function(a){rel=a.getAttribute('rel');if(rel&&S.regex.rel.test(rel))
links.push(a);});}else{var len=links.length;if(len){if(window['Sizzle']){if(typeof links=='string')
links=Sizzle(links);else if(len==2&&links.push&&typeof links[0]=='string'&&links[1].nodeType)
links=Sizzle(links[0],links[1]);}}else
links=[links];}
return links;},inCache:function(link){return typeof link[S.expando]=='number'&&S.cache[link[S.expando]];},addCache:function(link,opts){if(!S.inCache(link)){link[S.expando]=S.cache.length;S.lib.addEvent(link,'click',handleClick);}
S.cache[link[S.expando]]=S.buildCacheObj(link,opts);},removeCache:function(link){S.lib.removeEvent(link,'click',handleClick);S.cache[link[S.expando]]=null;delete link[S.expando];},clearCache:function(){each(S.cache,function(obj){S.removeCache(obj.link);});S.cache=[];},buildCacheObj:function(link,opts){var obj={link:link,title:link.getAttribute('title'),options:apply({},opts||{}),content:link.href};if(opts)each(['player','title','height','width','gallery'],function(option){if(typeof obj.options[option]!='undefined'){obj[option]=obj.options[option];delete obj.options[option];}});if(!obj.player)
obj.player=S.getPlayer(obj.content);var rel=link.getAttribute('rel');if(rel){var match=rel.match(S.regex.gallery);if(match)
obj.gallery=escape(match[2]);each(rel.split(';'),function(parameter){match=parameter.match(S.regex.param);if(match){if(match[1]=='options')
eval('apply(obj.options,'+match[2]+')');else
obj[match[1]]=match[2];}});}
return obj;},getPlayer:function(content){var r=S.regex,p=S.plugins,m=content.match(r.domain),same_domain=m&&document.domain==m[1];if(content.indexOf('#')>-1&&same_domain)return'inline';var q=content.indexOf('?');if(q>-1)content=content.substring(0,q);if(r.img.test(content))return'img';if(r.swf.test(content))return p.fla?'swf':'unsupported-swf';if(r.flv.test(content))return p.fla?'flv':'unsupported-flv';if(r.qt.test(content))return p.qt?'qt':'unsupported-qt';if(r.wmp.test(content)){if(p.wmp)return'wmp';if(p.f4m)return'qt';if(S.client.isMac)return p.qt?'unsupported-f4m':'unsupported-qtf4m';return'unsupported-wmp';}
if(r.qtwmp.test(content)){if(p.qt)return'qt';if(p.wmp)return'wmp';return S.client.isMac?'unsupported-qt':'unsupported-qtwmp';}
return'iframe';}},U=S.util={animate:function(el,p,to,d,cb){var from=parseFloat(S.lib.getStyle(el,p));if(isNaN(from))from=0;var delta=to-from;if(delta==0){if(cb)cb();return;}
var op=p=='opacity';function fn(ease){var to=from+ease*delta;if(op)
U.setOpacity(el,to);else
el.style[p]=to+'px';}
if(!d||(!op&&!S.options.animate)||(op&&!S.options.animateFade)){fn(1);if(cb)cb();return;}
d*=1000;var begin=new Date().getTime(),ease=S.options.ease,end=begin+d,time,timer=setInterval(function(){time=new Date().getTime();if(time>=end){clearInterval(timer);fn(1);if(cb)cb();}else
fn(ease((time-begin)/d));},10);},apply:function(o,e){for(var p in e)
o[p]=e[p];return o;},clearOpacity:function(el){var s=el.style;if(window.ActiveXObject){if(typeof s.filter=='string'&&(/alpha/i).test(s.filter))
s.filter=s.filter.replace(/[\w\.]*alpha\(.*?\);?/i,'');}else
s.opacity='';},each:function(obj,fn,scope){for(var i=0,len=obj.length;i<len;++i)
if(fn.call(scope||obj[i],obj[i],i,obj)===false)return;},get:function(id){return document.getElementById(id);},include:function(){var includes={};return function(file){if(includes[file])return;includes[file]=true;var head=document.getElementsByTagName('head')[0],script=document.createElement('script');script.src=file;head.appendChild(script);}}(),isLink:function(obj){if(!obj||!obj.tagName)return false;var up=obj.tagName.toUpperCase();return up=='A'||up=='AREA';},removeChildren:function(el){while(el.firstChild)
el.removeChild(el.firstChild);},setOpacity:function(el,o){var s=el.style;if(window.ActiveXObject){s.zoom=1;s.filter=(s.filter||'').replace(/\s*alpha\([^\)]*\)/gi,'')+
(o==1?'':' alpha(opacity='+(o*100)+')');}else
s.opacity=o;}},apply=U.apply,each=U.each,init_options,initialized=false,default_options={},content_id='sb-content',active=false,slide_timer,slide_start,slide_delay=0;if(navigator.plugins&&navigator.plugins.length){var names=[];each(navigator.plugins,function(p){names.push(p.name);});names=names.join();var f4m=names.indexOf('Flip4Mac')>-1;S.plugins={fla:names.indexOf('Shockwave Flash')>-1,qt:names.indexOf('QuickTime')>-1,wmp:!f4m&&names.indexOf('Windows Media')>-1,f4m:f4m}}else{function detectPlugin(n){try{var axo=new ActiveXObject(n);}catch(e){}
return!!axo;}
S.plugins={fla:detectPlugin('ShockwaveFlash.ShockwaveFlash'),qt:detectPlugin('QuickTime.QuickTime'),wmp:detectPlugin('wmplayer.ocx'),f4m:false}}
function waitDom(cb){if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);cb();},false);}else if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);cb();}});if(document.documentElement.doScroll&&window==window.top)(function(){if(S.ready)return;try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}
cb();})();}
if(typeof window.onload=='function'){var oldonload=window.onload;window.onload=function(){oldonload();cb();}}else
window.onload=cb;}
function waitLibs(){if(S.lib&&S.lang)
S.load();else
setTimeout(waitLibs,0);}
function handleClick(e){var link;if(U.isLink(this)){link=this;}else{link=S.lib.getTarget(e);while(!U.isLink(link)&&link.parentNode)
link=link.parentNode;}
S.lib.preventDefault(e);if(link){S.open(link);if(S.gallery.length)
S.lib.preventDefault(e);}}
function listenKeys(on){if(!S.options.enableKeys)return;S.lib[(on?'add':'remove')+'Event'](document,'keydown',handleKey);}
function handleKey(e){var code=S.lib.keyCode(e),handler;switch(code){case 81:case 88:case 27:handler=S.close;break;case 37:handler=S.previous;break;case 39:handler=S.next;break;case 32:handler=typeof slide_timer=='number'?S.pause:S.play;}
if(handler){S.lib.preventDefault(e);handler();}}
function loadContent(){var obj=S.getCurrent();if(!obj)return;var p=obj.player=='inline'?'html':obj.player;if(typeof S[p]!='function')
S.error('Unknown player: '+p);var change=false;if(S.content){S.content.remove();change=true;S.revertOptions();if(obj.options)
S.applyOptions(obj.options);}
U.removeChildren(S.skin.bodyEl());S.content=new S[p](obj);listenKeys(false);S.skin.onLoad(S.content,change,function(){if(!S.content)return;if(typeof S.content.ready!='undefined'){var id=setInterval(function(){if(S.content){if(S.content.ready){clearInterval(id);id=null;S.skin.onReady(contentReady);}}else{clearInterval(id);id=null;}},100);}else
S.skin.onReady(contentReady);});if(S.gallery.length>1){var next=S.gallery[S.current+1]||S.gallery[0];if(next.player=='img'){var a=new Image();a.src=next.content;}
var prev=S.gallery[S.current-1]||S.gallery[S.gallery.length-1];if(prev.player=='img'){var b=new Image();b.src=prev.content;}}}
function contentReady(){if(!S.content)return;S.content.append(S.skin.bodyEl(),content_id,S.dimensions);S.skin.onFinish(finishContent);}
function finishContent(){if(!S.content)return;if(S.content.onLoad)
S.content.onLoad();if(S.options.onFinish)
S.options.onFinish();if(!S.isPaused())
S.play();listenKeys(true);}
window['Shadowbox']=S;})();(function(){var S=Shadowbox,U=S.util,overlay_on=false,visibility_cache=[],png=['sb-nav-close','sb-nav-next','sb-nav-play','sb-nav-pause','sb-nav-previous'],K={markup:'<div id="sb-container">'+'<div id="sb-overlay"></div>'+'<div id="sb-wrapper">'+'<div id="sb-title">'+'<div id="sb-title-inner"></div>'+'</div>'+'<div id="sb-body">'+'<div id="sb-body-inner"></div>'+'<div id="sb-loading">'+'<a onclick="Shadowbox.close()">{cancel}</a>'+'</div>'+'</div>'+'<div id="sb-info">'+'<div id="sb-info-inner">'+'<div id="sb-counter"></div>'+'<div id="sb-nav">'+'<a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a>'+'<a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a>'+'<a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a>'+'<a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a>'+'<a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a>'+'</div>'+'<div style="clear:both"></div>'+'</div>'+'</div>'+'</div>'+'</div>',options:{animSequence:'sync',autoDimensions:false,counterLimit:10,counterType:'default',displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:'#000',overlayOpacity:0.8,resizeDuration:0.35,showOverlay:true,troubleElements:['select','object','embed','canvas']},init:function(){var markup=K.markup.replace(/\{(\w+)\}/g,function(m,p){return S.lang[p];});S.lib.append(document.body,markup);if(S.client.isIE6){U.get('sb-body').style.zoom=1;var el,m,re=/url\("(.*\.png)"\)/;U.each(png,function(id){el=U.get(id);if(el){m=S.lib.getStyle(el,'backgroundImage').match(re);if(m){el.style.backgroundImage='none';el.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src='+
m[1]+',sizingMethod=scale);';}}});}
var id;S.lib.addEvent(window,'resize',function(){if(id){clearTimeout(id);id=null;}
if(S.isActive()){id=setTimeout(function(){K.onWindowResize();var c=S.content;if(c&&c.onWindowResize)
c.onWindowResize();},50);}});},bodyEl:function(){return U.get('sb-body-inner');},onOpen:function(obj,cb){toggleTroubleElements(false);var h=S.options.autoDimensions&&'height'in obj?obj.height:S.options.initialHeight,w=S.options.autoDimensions&&'width'in obj?obj.width:S.options.initialWidth;U.get('sb-container').style.display='block';var d=setDimensions(h,w);adjustHeight(d.inner_h,d.top,false);adjustWidth(d.width,d.left,false);toggleVisible(cb);},onLoad:function(content,change,cb){toggleLoading(true);hideBars(change,function(){if(!content)return;if(!change)U.get('sb-wrapper').style.display='';cb();});},onReady:function(cb){var c=S.content;if(!c)return;var d=setDimensions(c.height,c.width,c.resizable);K.resizeContent(d.inner_h,d.width,d.top,d.left,true,function(){showBars(cb);});},onFinish:function(cb){toggleLoading(false,cb);},onClose:function(){toggleVisible();toggleTroubleElements(true);},onPlay:function(){toggleNav('play',false);toggleNav('pause',true);},onPause:function(){toggleNav('pause',false);toggleNav('play',true);},onWindowResize:function(){var c=S.content;if(!c)return;var d=setDimensions(c.height,c.width,c.resizable);adjustWidth(d.width,d.left,false);adjustHeight(d.inner_h,d.top,false);var el=U.get(S.contentId());if(el){if(c.resizable&&S.options.handleOversize=='resize'){el.height=d.resize_h;el.width=d.resize_w;}}},resizeContent:function(height,width,top,left,anim,cb){var c=S.content;if(!c)return;var d=setDimensions(c.height,c.width,c.resizable);switch(S.options.animSequence){case'hw':adjustHeight(d.inner_h,d.top,anim,function(){adjustWidth(d.width,d.left,anim,cb);});break;case'wh':adjustWidth(d.width,d.left,anim,function(){adjustHeight(d.inner_h,d.top,anim,cb);});break;default:adjustWidth(d.width,d.left,anim);adjustHeight(d.inner_h,d.top,anim,cb);}}};function fixTop(){U.get('sb-container').style.top=document.documentElement.scrollTop+'px';}
function toggleTroubleElements(on){if(on){U.each(visibility_cache,function(c){c[0].style.visibility=c[1]||'';});}else{visibility_cache=[];U.each(S.options.troubleElements,function(tag){U.each(document.getElementsByTagName(tag),function(el){visibility_cache.push([el,el.style.visibility]);el.style.visibility='hidden';});});}}
function toggleVisible(cb){var so=U.get('sb-overlay'),sc=U.get('sb-container'),sb=U.get('sb-wrapper');if(cb){if(S.client.isIE6){fixTop();S.lib.addEvent(window,'scroll',fixTop);}
if(S.options.showOverlay){overlay_on=true;so.style.backgroundColor=S.options.overlayColor;U.setOpacity(so,0);if(!S.options.modal)S.lib.addEvent(so,'click',S.close);sb.style.display='none';}
sc.style.visibility='visible';if(overlay_on){var op=parseFloat(S.options.overlayOpacity);U.animate(so,'opacity',op,S.options.fadeDuration,cb);}else
cb();}else{if(S.client.isIE6)
S.lib.removeEvent(window,'scroll',fixTop);S.lib.removeEvent(so,'click',S.close);if(overlay_on){sb.style.display='none';U.animate(so,'opacity',0,S.options.fadeDuration,function(){sc.style.display='';sb.style.display='';U.clearOpacity(so);});}else
sc.style.visibility='hidden';}}
function toggleNav(id,on){var el=U.get('sb-nav-'+id);if(el)el.style.display=on?'':'none';}
function toggleLoading(on,cb){var ld=U.get('sb-loading'),p=S.getCurrent().player,anim=(p=='img'||p=='html');if(on){function fn(){U.clearOpacity(ld);if(cb)cb();}
U.setOpacity(ld,0);ld.style.display='';if(anim)
U.animate(ld,'opacity',1,S.options.fadeDuration,fn);else
fn();}else{function fn(){ld.style.display='none';U.clearOpacity(ld);if(cb)cb();}
if(anim)
U.animate(ld,'opacity',0,S.options.fadeDuration,fn);else
fn();}}
function buildBars(cb){var obj=S.getCurrent();U.get('sb-title-inner').innerHTML=obj.title||'';var c,n,pl,pa,p;if(S.options.displayNav){c=true;var len=S.gallery.length;if(len>1){if(S.options.continuous)
n=p=true;else{n=(len-1)>S.current;p=S.current>0;}}
if(S.options.slideshowDelay>0&&S.hasNext()){pa=!S.isPaused();pl=!pa;}}else{c=n=pl=pa=p=false;}
toggleNav('close',c);toggleNav('next',n);toggleNav('play',pl);toggleNav('pause',pa);toggleNav('previous',p);var counter='';if(S.options.displayCounter&&S.gallery.length>1){var len=S.gallery.length;if(S.options.counterType=='skip'){var i=0,end=len,limit=parseInt(S.options.counterLimit)||0;if(limit<len&&limit>2){var h=Math.floor(limit/2);i=S.current-h;if(i<0)i+=len;end=S.current+(limit-h);if(end>len)end-=len;}
while(i!=end){if(i==len)i=0;counter+='<a onclick="Shadowbox.change('+i+');"'
if(i==S.current)counter+=' class="sb-counter-current"';counter+='>'+(i++)+'</a>';}}else
var counter=(S.current+1)+' '+S.lang.of+' '+len;}
U.get('sb-counter').innerHTML=counter;cb();}
function hideBars(anim,cb){var sw=U.get('sb-wrapper'),st=U.get('sb-title'),si=U.get('sb-info'),ti=U.get('sb-title-inner'),ii=U.get('sb-info-inner'),t=parseInt(S.lib.getStyle(ti,'height'))||0,b=parseInt(S.lib.getStyle(ii,'height'))||0;var fn=function(){ti.style.visibility=ii.style.visibility='hidden';buildBars(cb);}
if(anim){U.animate(st,'height',0,0.35);U.animate(si,'height',0,0.35);U.animate(sw,'paddingTop',t,0.35);U.animate(sw,'paddingBottom',b,0.35,fn);}else{st.style.height=si.style.height='0px';sw.style.paddingTop=t+'px';sw.style.paddingBottom=b+'px';fn();}}
function showBars(cb){var sw=U.get('sb-wrapper'),st=U.get('sb-title'),si=U.get('sb-info'),ti=U.get('sb-title-inner'),ii=U.get('sb-info-inner'),t=parseInt(S.lib.getStyle(ti,'height'))||0,b=parseInt(S.lib.getStyle(ii,'height'))||0;ti.style.visibility=ii.style.visibility='';if(ti.innerHTML!=''){U.animate(st,'height',t,0.35);U.animate(sw,'paddingTop',0,0.35);}
U.animate(si,'height',b,0.35);U.animate(sw,'paddingBottom',0,0.35,cb);}
function adjustHeight(height,top,anim,cb){var sb=U.get('sb-body'),s=U.get('sb-wrapper'),h=parseInt(height),t=parseInt(top);if(anim){U.animate(sb,'height',h,S.options.resizeDuration);U.animate(s,'top',t,S.options.resizeDuration,cb);}else{sb.style.height=h+'px';s.style.top=t+'px';if(cb)cb();}}
function adjustWidth(width,left,anim,cb){var s=U.get('sb-wrapper'),w=parseInt(width),l=parseInt(left);if(anim){U.animate(s,'width',w,S.options.resizeDuration);U.animate(s,'left',l,S.options.resizeDuration,cb);}else{s.style.width=w+'px';s.style.left=l+'px';if(cb)cb();}}
function setDimensions(height,width,resizable){var sbi=U.get('sb-body-inner')
sw=U.get('sb-wrapper'),so=U.get('sb-overlay'),tb=sw.offsetHeight-sbi.offsetHeight,lr=sw.offsetWidth-sbi.offsetWidth,max_h=so.offsetHeight,max_w=so.offsetWidth;S.setDimensions(height,width,max_h,max_w,tb,lr,resizable);return S.dimensions;}
S.skin=K;})();if(typeof jQuery=='undefined')
throw'Unable to load Shadowbox adapter, jQuery not found';if(typeof Shadowbox=='undefined')
throw'Unable to load Shadowbox adapter, Shadowbox not found';(function($,S){S.lib={getStyle:function(el,style){return $(el).css(style);},remove:function(el){$(el).remove();},getTarget:function(e){return e.target;},getPageXY:function(e){return[e.pageX,e.pageY];},preventDefault:function(e){e.preventDefault();},keyCode:function(e){return e.keyCode;},addEvent:function(el,name,handler){$(el).bind(name,handler);},removeEvent:function(el,name,handler){$(el).unbind(name,handler);},append:function(el,html){$(el).append(html);}};})(jQuery,Shadowbox);(function($){$.fn.shadowbox=function(options){return this.each(function(){var el=$(this);var opts=$.extend({},options||{},$.metadata?el.metadata():$.meta?el.data():{});var cls=this.className||'';opts.width=parseInt((cls.match(/w:(\d+)/)||[])[1])||opts.width;opts.height=parseInt((cls.match(/h:(\d+)/)||[])[1])||opts.height;Shadowbox.setup(el,opts);});};})(jQuery);if(typeof Shadowbox=='undefined')
throw'Unable to load Shadowbox language file, Shadowbox not found.';Shadowbox.lang={code:'en',of:'of',loading:'loading',cancel:'Cancel',next:'Next',previous:'Previous',play:'Play',pause:'Pause',close:'Close',errors:{single:'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',shared:'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either:'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}};(function(S){var U=S.util,controller_height=20;S.flv=function(obj){this.obj=obj;this.resizable=true;this.height=obj.height?parseInt(obj.height,10):300;if(S.options.showMovieControls==true)
this.height+=controller_height;this.width=obj.width?parseInt(obj.width,10):300;}
S.flv.prototype={append:function(body,id,dims){this.id=id;var tmp=document.createElement('div');tmp.id=id;body.appendChild(tmp);var h=dims.resize_h,w=dims.resize_w,swf=S.path+'libraries/mediaplayer/player.swf',version=S.options.flashVersion,express=S.path+'libraries/swfobject/expressInstall.swf',flashvars=U.apply({file:this.obj.content,height:h,width:w,autostart:(S.options.autoplayMovies?'true':'false'),controlbar:(S.options.showMovieControls?'bottom':'none'),backcolor:'0x000000',frontcolor:'0xCCCCCC',lightcolor:'0x557722'},S.options.flashVars),params=S.options.flashParams;swfobject.embedSWF(swf,id,w,h,version,express,flashvars,params);},remove:function(){swfobject.expressInstallCallback();swfobject.removeSWF(this.id);}};})(Shadowbox);(function(S){S.html=function(obj){this.obj=obj;this.height=obj.height?parseInt(obj.height,10):300;this.width=obj.width?parseInt(obj.width,10):500;}
S.html.prototype={append:function(body,id,dims){this.id=id;var div=document.createElement('div');div.id=id;div.className='html';div.innerHTML=this.obj.content;body.appendChild(div);},remove:function(){var el=document.getElementById(this.id);if(el)S.lib.remove(el);}};})(Shadowbox);(function(S){S.iframe=function(obj){this.obj=obj;var so=document.getElementById('sb-overlay');this.height=obj.height?parseInt(obj.height,10):so.offsetHeight;this.width=obj.width?parseInt(obj.width,10):so.offsetWidth;}
S.iframe.prototype={append:function(body,id,dims){this.id=id;var html='<iframe id="'+id+'" name="'+id+'" height="100%" '+'width="100%" frameborder="0" marginwidth="0" marginheight="0" '+'scrolling="auto"';if(S.client.isIE){html+=' allowtransparency="true"';if(S.client.isIE6)
html+=' src="javascript:false;document.write(\'\');"';}
html+='></iframe>';body.innerHTML=html;},remove:function(){var el=document.getElementById(this.id);if(el){S.lib.remove(el);if(S.client.isGecko)
delete window.frames[this.id];}},onLoad:function(){var win=S.client.isIE?document.getElementById(this.id).contentWindow:window.frames[this.id];win.location.href=this.obj.content;}};})(Shadowbox);(function(S){var U=S.util,drag,draggable,drag_id='sb-drag-layer',pre;function resetDrag(){drag={x:0,y:0,start_x:null,start_y:null};}
function toggleDrag(on,h,w){if(on){resetDrag();var s=['position:absolute','height:'+h+'px','width:'+w+'px','cursor:'+(S.client.isGecko?'-moz-grab':'move'),'background-color:'+(S.client.isIE?'#fff;filter:alpha(opacity=0)':'transparent')].join(';');S.lib.append(S.skin.bodyEl(),'<div id="'+drag_id+'" style="'+s+'"></div>');S.lib.addEvent(U.get(drag_id),'mousedown',listenDrag);}else{var d=U.get(drag_id);if(d){S.lib.removeEvent(d,'mousedown',listenDrag);S.lib.remove(d);}
draggable=null;}}
function listenDrag(e){S.lib.preventDefault(e);var coords=S.lib.getPageXY(e);drag.start_x=coords[0];drag.start_y=coords[1];draggable=U.get(S.contentId());S.lib.addEvent(document,'mousemove',positionDrag);S.lib.addEvent(document,'mouseup',unlistenDrag);if(S.client.isGecko)
U.get(drag_id).style.cursor='-moz-grabbing';}
function unlistenDrag(){S.lib.removeEvent(document,'mousemove',positionDrag);S.lib.removeEvent(document,'mouseup',unlistenDrag);if(S.client.isGecko)
U.get(drag_id).style.cursor='-moz-grab';}
function positionDrag(e){var c=S.content,d=S.dimensions,coords=S.lib.getPageXY(e);var move_x=coords[0]-drag.start_x;drag.start_x+=move_x;drag.x=Math.max(Math.min(0,drag.x+move_x),d.inner_w-c.width);draggable.style.left=drag.x+'px';var move_y=coords[1]-drag.start_y;drag.start_y+=move_y;drag.y=Math.max(Math.min(0,drag.y+move_y),d.inner_h-c.height);draggable.style.top=drag.y+'px';}
S.img=function(obj){this.obj=obj;this.resizable=true;this.ready=false;var self=this;pre=new Image();pre.onload=function(){self.height=obj.height?parseInt(obj.height,10):pre.height;self.width=obj.width?parseInt(obj.width,10):pre.width;self.ready=true;pre.onload='';pre=null;}
pre.src=obj.content;}
S.img.prototype={append:function(body,id,d){this.id=id;var img=document.createElement('img');img.id=id;img.src=this.obj.content;img.style.position='absolute';img.setAttribute('height',d.resize_h)
img.setAttribute('width',d.resize_w)
body.appendChild(img);},remove:function(){var el=U.get(this.id);if(el)S.lib.remove(el);toggleDrag(false);if(pre){pre.onload='';pre=null;}},onLoad:function(){var d=S.dimensions;if(d.oversized&&S.options.handleOversize=='drag')
toggleDrag(true,d.resize_h,d.resize_w);},onWindowResize:function(){if(draggable){var c=S.content,d=S.dimensions,t=parseInt(S.lib.getStyle(draggable,'top')),l=parseInt(S.lib.getStyle(draggable,'left'));if(t+c.height<d.inner_h)
draggable.style.top=d.inner_h-c.height+'px';if(l+c.width<d.inner_w)
draggable.style.left=d.inner_w-c.width+'px';}}};})(Shadowbox);(function(S){var controller_height=16;S.qt=function(obj){this.obj=obj;this.height=obj.height?parseInt(obj.height,10):300;if(S.options.showMovieControls==true)
this.height+=controller_height;this.width=obj.width?parseInt(obj.width,10):300;}
S.qt.prototype={append:function(body,id,d){this.id=id;var opt=S.options,autoplay=String(opt.autoplayMovies),controls=String(opt.showMovieControls);var html='<object',movie={id:id,name:id,height:this.height,width:this.width,kioskmode:'true'};if(S.client.isIE){movie.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B';movie.codebase='http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0';}else{movie.type='video/quicktime';movie.data=this.obj.content;}
for(var m in movie)
html+=' '+m+'="'+movie[m]+'"';html+='>';var params={src:this.obj.content,scale:'aspect',controller:controls,autoplay:autoplay};for(var p in params)
html+='<param name="'+p+'" value="'+params[p]+'">';html+='</object>';body.innerHTML=html;},remove:function(){var id=this.id;try{document[id].Stop();}catch(e){}
var el=document.getElementById(id);if(el)S.lib.remove(el);}};})(Shadowbox);(function(S){var U=S.util;S.swf=function(obj){this.obj=obj;this.resizable=true;this.height=obj.height?parseInt(obj.height,10):300;this.width=obj.width?parseInt(obj.width,10):300;}
S.swf.prototype={append:function(body,id,dims){this.id=id;var tmp=document.createElement('div');tmp.id=id;body.appendChild(tmp);var h=dims.resize_h,w=dims.resize_w,swf=this.obj.content,version=S.options.flashVersion,express=S.path+'libraries/swfobject/expressInstall.swf',flashvars=S.options.flashVars,params=S.options.flashParams;swfobject.embedSWF(swf,id,w,h,version,express,flashvars,params);},remove:function(){swfobject.expressInstallCallback();swfobject.removeSWF(this.id);}};})(Shadowbox);(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,done=0,toString=Object.prototype.toString,hasDuplicate=false;var Sizzle=function(selector,context,results,seed){results=results||[];var origContext=context=context||document;if(context.nodeType!==1&&context.nodeType!==9){return[];}
if(!selector||typeof selector!=="string"){return results;}
var parts=[],m,set,checkSet,check,mode,extra,prune=true,contextXML=isXML(context);chunker.lastIndex=0;while((m=chunker.exec(selector))!==null){parts.push(m[1]);if(m[2]){extra=RegExp.rightContext;break;}}
if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context);}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector])
selector+=parts.shift();set=posProcess(selector,set);}}}else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){var ret=Sizzle.find(parts.shift(),context,contextXML);context=ret.expr?Sizzle.filter(ret.expr,ret.set)[0]:ret.set[0];}
if(context){var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&(parts[0]==="~"||parts[0]==="+")&&context.parentNode?context.parentNode:context,contextXML);set=ret.expr?Sizzle.filter(ret.expr,ret.set):ret.set;if(parts.length>0){checkSet=makeArray(set);}else{prune=false;}
while(parts.length){var cur=parts.pop(),pop=cur;if(!Expr.relative[cur]){cur="";}else{pop=parts.pop();}
if(pop==null){pop=context;}
Expr.relative[cur](checkSet,pop,contextXML);}}else{checkSet=parts=[];}}
if(!checkSet){checkSet=set;}
if(!checkSet){throw"Syntax error, unrecognized expression: "+(cur||selector);}
if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet);}else if(context&&context.nodeType===1){for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i]))){results.push(set[i]);}}}else{for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i]);}}}}else{makeArray(checkSet,results);}
if(extra){Sizzle(extra,origContext,results,seed);Sizzle.uniqueSort(results);}
return results;};Sizzle.uniqueSort=function(results){if(sortOrder){hasDuplicate=false;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1);}}}}};Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set);};Sizzle.find=function(expr,context,isXML){var set,match;if(!expr){return[];}
for(var i=0,l=Expr.order.length;i<l;i++){var type=Expr.order[i],match;if((match=Expr.match[type].exec(expr))){var left=RegExp.leftContext;if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(/\\/g,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break;}}}}
if(!set){set=context.getElementsByTagName("*");}
return{set:set,expr:expr};};Sizzle.filter=function(expr,set,inplace,not){var old=expr,result=[],curLoop=set,match,anyFound,isXMLFilter=set&&set[0]&&isXML(set[0]);while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.match[type].exec(expr))!=null){var filter=Expr.filter[type],found,item;anyFound=false;if(curLoop==result){result=[];}
if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true;}else if(match===true){continue;}}
if(match){for(var i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);var pass=not^!!found;if(inplace&&found!=null){if(pass){anyFound=true;}else{curLoop[i]=false;}}else if(pass){result.push(item);anyFound=true;}}}}
if(found!==undefined){if(!inplace){curLoop=result;}
expr=expr.replace(Expr.match[type],"");if(!anyFound){return[];}
break;}}}
if(expr==old){if(anyFound==null){throw"Syntax error, unrecognized expression: "+expr;}else{break;}}
old=expr;}
return curLoop;};var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href");}},relative:{"+":function(checkSet,part,isXML){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag&&!isXML){part=part.toUpperCase();}
for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}
checkSet[i]=isPartStrNotTag||elem&&elem.nodeName===part?elem||false:elem===part;}}
if(isPartStrNotTag){Sizzle.filter(part,checkSet,true);}},">":function(checkSet,part,isXML){var isPartStr=typeof part==="string";if(isPartStr&&!/\W/.test(part)){part=isXML?part:part.toUpperCase();for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName===part?parent:false;}}}else{for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part;}}
if(isPartStr){Sizzle.filter(part,checkSet,true);}}},"":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck;}
checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML);},"~":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!part.match(/\W/)){var nodeCheck=part=isXML?part:part.toUpperCase();checkFn=dirNodeCheck;}
checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML);}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?[m]:[];}},NAME:function(match,context,isXML){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i]);}}
return ret.length===0?null:ret;}},TAG:function(match,context){return context.getElementsByTagName(match[1]);}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(/\\/g,"")+" ";if(isXML){return match;}
for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").indexOf(match)>=0)){if(!inplace)
result.push(elem);}else if(inplace){curLoop[i]=false;}}}
return false;},ID:function(match){return match[1].replace(/\\/g,"");},TAG:function(match,curLoop){for(var i=0;curLoop[i]===false;i++){}
return curLoop[i]&&isXML(curLoop[i])?match[1]:match[1].toUpperCase();},CHILD:function(match){if(match[1]=="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]=="even"&&"2n"||match[2]=="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0;}
match[0]=done++;return match;},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1].replace(/\\/g,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name];}
if(match[2]==="~="){match[4]=" "+match[4]+" ";}
return match;},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if(match[3].match(chunker).length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop);}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret);}
return false;}}else if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true;}
return match;},POS:function(match){match.unshift(true);return match;}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden";},disabled:function(elem){return elem.disabled===true;},checked:function(elem){return elem.checked===true;},selected:function(elem){elem.parentNode.selectedIndex;return elem.selected===true;},parent:function(elem){return!!elem.firstChild;},empty:function(elem){return!elem.firstChild;},has:function(elem,i,match){return!!Sizzle(match[3],elem).length;},header:function(elem){return/h\d/i.test(elem.nodeName);},text:function(elem){return"text"===elem.type;},radio:function(elem){return"radio"===elem.type;},checkbox:function(elem){return"checkbox"===elem.type;},file:function(elem){return"file"===elem.type;},password:function(elem){return"password"===elem.type;},submit:function(elem){return"submit"===elem.type;},image:function(elem){return"image"===elem.type;},reset:function(elem){return"reset"===elem.type;},button:function(elem){return"button"===elem.type||elem.nodeName.toUpperCase()==="BUTTON";},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName);}},setFilters:{first:function(elem,i){return i===0;},last:function(elem,i,match,array){return i===array.length-1;},even:function(elem,i){return i%2===0;},odd:function(elem,i){return i%2===1;},lt:function(elem,i,match){return i<match[3]-0;},gt:function(elem,i,match){return i>match[3]-0;},nth:function(elem,i,match){return match[3]-0==i;},eq:function(elem,i,match){return match[3]-0==i;}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array);}else if(name==="contains"){return(elem.textContent||elem.innerText||"").indexOf(match[3])>=0;}else if(name==="not"){var not=match[3];for(var i=0,l=not.length;i<l;i++){if(not[i]===elem){return false;}}
return true;}},CHILD:function(elem,match){var type=match[1],node=elem;switch(type){case'only':case'first':while(node=node.previousSibling){if(node.nodeType===1)return false;}
if(type=='first')return true;node=elem;case'last':while(node=node.nextSibling){if(node.nodeType===1)return false;}
return true;case'nth':var first=match[2],last=match[3];if(first==1&&last==0){return true;}
var doneName=match[0],parent=elem.parentNode;if(parent&&(parent.sizcache!==doneName||!elem.nodeIndex)){var count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count;}}
parent.sizcache=doneName;}
var diff=elem.nodeIndex-last;if(first==0){return diff==0;}else{return(diff%first==0&&diff/first>=0);}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match;},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName===match;},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1;},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!=check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false;},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];if(filter){return filter(elem,i,match,array);}}}};var origPOS=Expr.match.POS;for(var type in Expr.match){Expr.match[type]=new RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source);}
var makeArray=function(array,results){array=Array.prototype.slice.call(array);if(results){results.push.apply(results,array);return results;}
return array;};try{Array.prototype.slice.call(document.documentElement.childNodes);}catch(e){makeArray=function(array,results){var ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array);}else{if(typeof array.length==="number"){for(var i=0,l=array.length;i<l;i++){ret.push(array[i]);}}else{for(var i=0;array[i];i++){ret.push(array[i]);}}}
return ret;};}
var sortOrder;if(document.documentElement.compareDocumentPosition){sortOrder=function(a,b){var ret=a.compareDocumentPosition(b)&4?-1:a===b?0:1;if(ret===0){hasDuplicate=true;}
return ret;};}else if("sourceIndex"in document.documentElement){sortOrder=function(a,b){var ret=a.sourceIndex-b.sourceIndex;if(ret===0){hasDuplicate=true;}
return ret;};}else if(document.createRange){sortOrder=function(a,b){var aRange=a.ownerDocument.createRange(),bRange=b.ownerDocument.createRange();aRange.selectNode(a);aRange.collapse(true);bRange.selectNode(b);bRange.collapse(true);var ret=aRange.compareBoundaryPoints(Range.START_TO_END,bRange);if(ret===0){hasDuplicate=true;}
return ret;};}
(function(){var form=document.createElement("div"),id="script"+(new Date).getTime();form.innerHTML="<a name='"+id+"'/>";var root=document.documentElement;root.insertBefore(form,root.firstChild);if(!!document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[];}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match;};}
root.removeChild(form);})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i]);}}
results=tmp;}
return results;};}
div.innerHTML="<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2);};}})();if(document.querySelectorAll)(function(){var oldSizzle=Sizzle,div=document.createElement("div");div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return;}
Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(query),extra);}catch(e){}}
return oldSizzle(query,context,extra,seed);};for(var prop in oldSizzle){Sizzle[prop]=oldSizzle[prop];}})();if(document.getElementsByClassName&&document.documentElement.getElementsByClassName)(function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(div.getElementsByClassName("e").length===0)
return;div.lastChild.className="e";if(div.getElementsByClassName("e").length===1)
return;Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1]);}};})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i;}
elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break;}
if(elem.nodeType===1&&!isXML){elem.sizcache=doneName;elem.sizset=i;}
if(elem.nodeName===cur){match=elem;break;}
elem=elem[dir];}
checkSet[i]=match;}}}
function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){var sibDir=dir=="previousSibling"&&!isXML;for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){if(sibDir&&elem.nodeType===1){elem.sizcache=doneName;elem.sizset=i;}
elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break;}
if(elem.nodeType===1){if(!isXML){elem.sizcache=doneName;elem.sizset=i;}
if(typeof cur!=="string"){if(elem===cur){match=true;break;}}else if(Sizzle.filter(cur,[elem]).length>0){match=elem;break;}}
elem=elem[dir];}
checkSet[i]=match;}}}
var contains=document.compareDocumentPosition?function(a,b){return a.compareDocumentPosition(b)&16;}:function(a,b){return a!==b&&(a.contains?a.contains(b):true);};var isXML=function(elem){return elem.nodeType===9&&elem.documentElement.nodeName!=="HTML"||!!elem.ownerDocument&&elem.ownerDocument.documentElement.nodeName!=="HTML";};var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"");}
selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet);}
return Sizzle.filter(later,tmpSet);};window.Sizzle=Sizzle;})();var swfobject=function(){var UNDEF="undefined",OBJECT="object",SHOCKWAVE_FLASH="Shockwave Flash",SHOCKWAVE_FLASH_AX="ShockwaveFlash.ShockwaveFlash",FLASH_MIME_TYPE="application/x-shockwave-flash",EXPRESS_INSTALL_ID="SWFObjectExprInst",win=window,doc=document,nav=navigator,domLoadFnArr=[],regObjArr=[],objIdArr=[],listenersArr=[],script,timer=null,storedAltContent=null,storedAltContentId=null,isDomLoaded=false,isExpressInstallActive=false;var ua=function(){var w3cdom=typeof doc.getElementById!=UNDEF&&typeof doc.getElementsByTagName!=UNDEF&&typeof doc.createElement!=UNDEF,playerVersion=[0,0,0],d=null;if(typeof nav.plugins!=UNDEF&&typeof nav.plugins[SHOCKWAVE_FLASH]==OBJECT){d=nav.plugins[SHOCKWAVE_FLASH].description;if(d&&!(typeof nav.mimeTypes!=UNDEF&&nav.mimeTypes[FLASH_MIME_TYPE]&&!nav.mimeTypes[FLASH_MIME_TYPE].enabledPlugin)){d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1");playerVersion[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10);playerVersion[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10);playerVersion[2]=/r/.test(d)?parseInt(d.replace(/^.*r(.*)$/,"$1"),10):0;}}
else if(typeof win.ActiveXObject!=UNDEF){var a=null,fp6Crash=false;try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".7");}
catch(e){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".6");playerVersion=[6,0,21];a.AllowScriptAccess="always";}
catch(e){if(playerVersion[0]==6){fp6Crash=true;}}
if(!fp6Crash){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX);}
catch(e){}}}
if(!fp6Crash&&a){try{d=a.GetVariable("$version");if(d){d=d.split(" ")[1].split(",");playerVersion=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)];}}
catch(e){}}}
var u=nav.userAgent.toLowerCase(),p=nav.platform.toLowerCase(),webkit=/webkit/.test(u)?parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,ie=false,windows=p?/win/.test(p):/win/.test(u),mac=p?/mac/.test(p):/mac/.test(u);return{w3cdom:w3cdom,pv:playerVersion,webkit:webkit,ie:ie,win:windows,mac:mac};}();var onDomLoad=function(){if(!ua.w3cdom){return;}
addDomLoadEvent(main);if(ua.ie&&ua.win){try{doc.write("<scr"+"ipt id=__ie_ondomload defer=true src=//:></scr"+"ipt>");script=getElementById("__ie_ondomload");if(script){addListener(script,"onreadystatechange",checkReadyState);}}
catch(e){}}
if(ua.webkit&&typeof doc.readyState!=UNDEF){timer=setInterval(function(){if(/loaded|complete/.test(doc.readyState)){callDomLoadFunctions();}},10);}
if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("DOMContentLoaded",callDomLoadFunctions,null);}
addLoadEvent(callDomLoadFunctions);}();function checkReadyState(){if(script.readyState=="complete"){script.parentNode.removeChild(script);callDomLoadFunctions();}}
function callDomLoadFunctions(){if(isDomLoaded){return;}
if(ua.ie&&ua.win){var s=createElement("span");try{var t=doc.getElementsByTagName("body")[0].appendChild(s);t.parentNode.removeChild(t);}
catch(e){return;}}
isDomLoaded=true;if(timer){clearInterval(timer);timer=null;}
var dl=domLoadFnArr.length;for(var i=0;i<dl;i++){domLoadFnArr[i]();}}
function addDomLoadEvent(fn){if(isDomLoaded){fn();}
else{domLoadFnArr[domLoadFnArr.length]=fn;}}
function addLoadEvent(fn){if(typeof win.addEventListener!=UNDEF){win.addEventListener("load",fn,false);}
else if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("load",fn,false);}
else if(typeof win.attachEvent!=UNDEF){addListener(win,"onload",fn);}
else if(typeof win.onload=="function"){var fnOld=win.onload;win.onload=function(){fnOld();fn();};}
else{win.onload=fn;}}
function main(){var rl=regObjArr.length;for(var i=0;i<rl;i++){var id=regObjArr[i].id;if(ua.pv[0]>0){var obj=getElementById(id);if(obj){regObjArr[i].width=obj.getAttribute("width")?obj.getAttribute("width"):"0";regObjArr[i].height=obj.getAttribute("height")?obj.getAttribute("height"):"0";if(hasPlayerVersion(regObjArr[i].swfVersion)){if(ua.webkit&&ua.webkit<312){fixParams(obj);}
setVisibility(id,true);}
else if(regObjArr[i].expressInstall&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){showExpressInstall(regObjArr[i]);}
else{displayAltContent(obj);}}}
else{setVisibility(id,true);}}}
function fixParams(obj){var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var e=createElement("embed"),a=nestedObj.attributes;if(a){var al=a.length;for(var i=0;i<al;i++){if(a[i].nodeName=="DATA"){e.setAttribute("src",a[i].nodeValue);}
else{e.setAttribute(a[i].nodeName,a[i].nodeValue);}}}
var c=nestedObj.childNodes;if(c){var cl=c.length;for(var j=0;j<cl;j++){if(c[j].nodeType==1&&c[j].nodeName=="PARAM"){e.setAttribute(c[j].getAttribute("name"),c[j].getAttribute("value"));}}}
obj.parentNode.replaceChild(e,obj);}}
function showExpressInstall(regObj){isExpressInstallActive=true;var obj=getElementById(regObj.id);if(obj){if(regObj.altContentId){var ac=getElementById(regObj.altContentId);if(ac){storedAltContent=ac;storedAltContentId=regObj.altContentId;}}
else{storedAltContent=abstractAltContent(obj);}
if(!(/%$/.test(regObj.width))&&parseInt(regObj.width,10)<310){regObj.width="310";}
if(!(/%$/.test(regObj.height))&&parseInt(regObj.height,10)<137){regObj.height="137";}
doc.title=doc.title.slice(0,47)+" - Flash Player Installation";var pt=ua.ie&&ua.win?"ActiveX":"PlugIn",dt=doc.title,fv="MMredirectURL="+win.location+"&MMplayerType="+pt+"&MMdoctitle="+dt,replaceId=regObj.id;if(ua.ie&&ua.win&&obj.readyState!=4){var newObj=createElement("div");replaceId+="SWFObjectNew";newObj.setAttribute("id",replaceId);obj.parentNode.insertBefore(newObj,obj);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj);};addListener(win,"onload",fn);}
createSWF({data:regObj.expressInstall,id:EXPRESS_INSTALL_ID,width:regObj.width,height:regObj.height},{flashvars:fv},replaceId);}}
function displayAltContent(obj){if(ua.ie&&ua.win&&obj.readyState!=4){var el=createElement("div");obj.parentNode.insertBefore(el,obj);el.parentNode.replaceChild(abstractAltContent(obj),el);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj);};addListener(win,"onload",fn);}
else{obj.parentNode.replaceChild(abstractAltContent(obj),obj);}}
function abstractAltContent(obj){var ac=createElement("div");if(ua.win&&ua.ie){ac.innerHTML=obj.innerHTML;}
else{var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var c=nestedObj.childNodes;if(c){var cl=c.length;for(var i=0;i<cl;i++){if(!(c[i].nodeType==1&&c[i].nodeName=="PARAM")&&!(c[i].nodeType==8)){ac.appendChild(c[i].cloneNode(true));}}}}}
return ac;}
function createSWF(attObj,parObj,id){var r,el=getElementById(id);if(el){if(typeof attObj.id==UNDEF){attObj.id=id;}
if(ua.ie&&ua.win){var att="";for(var i in attObj){if(attObj[i]!=Object.prototype[i]){if(i.toLowerCase()=="data"){parObj.movie=attObj[i];}
else if(i.toLowerCase()=="styleclass"){att+=' class="'+attObj[i]+'"';}
else if(i.toLowerCase()!="classid"){att+=' '+i+'="'+attObj[i]+'"';}}}
var par="";for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par+='<param name="'+j+'" value="'+parObj[j]+'" />';}}
el.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+att+'>'+par+'</object>';objIdArr[objIdArr.length]=attObj.id;r=getElementById(attObj.id);}
else if(ua.webkit&&ua.webkit<312){var e=createElement("embed");e.setAttribute("type",FLASH_MIME_TYPE);for(var k in attObj){if(attObj[k]!=Object.prototype[k]){if(k.toLowerCase()=="data"){e.setAttribute("src",attObj[k]);}
else if(k.toLowerCase()=="styleclass"){e.setAttribute("class",attObj[k]);}
else if(k.toLowerCase()!="classid"){e.setAttribute(k,attObj[k]);}}}
for(var l in parObj){if(parObj[l]!=Object.prototype[l]){if(l.toLowerCase()!="movie"){e.setAttribute(l,parObj[l]);}}}
el.parentNode.replaceChild(e,el);r=e;}
else{var o=createElement(OBJECT);o.setAttribute("type",FLASH_MIME_TYPE);for(var m in attObj){if(attObj[m]!=Object.prototype[m]){if(m.toLowerCase()=="styleclass"){o.setAttribute("class",attObj[m]);}
else if(m.toLowerCase()!="classid"){o.setAttribute(m,attObj[m]);}}}
for(var n in parObj){if(parObj[n]!=Object.prototype[n]&&n.toLowerCase()!="movie"){createObjParam(o,n,parObj[n]);}}
el.parentNode.replaceChild(o,el);r=o;}}
return r;}
function createObjParam(el,pName,pValue){var p=createElement("param");p.setAttribute("name",pName);p.setAttribute("value",pValue);el.appendChild(p);}
function removeSWF(id){var obj=getElementById(id);if(obj&&(obj.nodeName=="OBJECT"||obj.nodeName=="EMBED")){if(ua.ie&&ua.win){if(obj.readyState==4){removeObjectInIE(id);}
else{win.attachEvent("onload",function(){removeObjectInIE(id);});}}
else{obj.parentNode.removeChild(obj);}}}
function removeObjectInIE(id){var obj=getElementById(id);if(obj){for(var i in obj){if(typeof obj[i]=="function"){obj[i]=null;}}
obj.parentNode.removeChild(obj);}}
function getElementById(id){var el=null;try{el=doc.getElementById(id);}
catch(e){}
return el;}
function createElement(el){return doc.createElement(el);}
function addListener(target,eventType,fn){target.attachEvent(eventType,fn);listenersArr[listenersArr.length]=[target,eventType,fn];}
function hasPlayerVersion(rv){var pv=ua.pv,v=rv.split(".");v[0]=parseInt(v[0],10);v[1]=parseInt(v[1],10)||0;v[2]=parseInt(v[2],10)||0;return(pv[0]>v[0]||(pv[0]==v[0]&&pv[1]>v[1])||(pv[0]==v[0]&&pv[1]==v[1]&&pv[2]>=v[2]))?true:false;}
function createCSS(sel,decl){if(ua.ie&&ua.mac){return;}
var h=doc.getElementsByTagName("head")[0],s=createElement("style");s.setAttribute("type","text/css");s.setAttribute("media","screen");if(!(ua.ie&&ua.win)&&typeof doc.createTextNode!=UNDEF){s.appendChild(doc.createTextNode(sel+" {"+decl+"}"));}
h.appendChild(s);if(ua.ie&&ua.win&&typeof doc.styleSheets!=UNDEF&&doc.styleSheets.length>0){var ls=doc.styleSheets[doc.styleSheets.length-1];if(typeof ls.addRule==OBJECT){ls.addRule(sel,decl);}}}
function setVisibility(id,isVisible){var v=isVisible?"visible":"hidden";if(isDomLoaded&&getElementById(id)){getElementById(id).style.visibility=v;}
else{createCSS("#"+id,"visibility:"+v);}}
function urlEncodeIfNecessary(s){var regex=/[\\\"<>\.;]/;var hasBadChars=regex.exec(s)!=null;return hasBadChars?encodeURIComponent(s):s;}
var cleanup=function(){if(ua.ie&&ua.win){window.attachEvent("onunload",function(){var ll=listenersArr.length;for(var i=0;i<ll;i++){listenersArr[i][0].detachEvent(listenersArr[i][1],listenersArr[i][2]);}
var il=objIdArr.length;for(var j=0;j<il;j++){removeSWF(objIdArr[j]);}
for(var k in ua){ua[k]=null;}
ua=null;for(var l in swfobject){swfobject[l]=null;}
swfobject=null;});}}();return{registerObject:function(objectIdStr,swfVersionStr,xiSwfUrlStr){if(!ua.w3cdom||!objectIdStr||!swfVersionStr){return;}
var regObj={};regObj.id=objectIdStr;regObj.swfVersion=swfVersionStr;regObj.expressInstall=xiSwfUrlStr?xiSwfUrlStr:false;regObjArr[regObjArr.length]=regObj;setVisibility(objectIdStr,false);},getObjectById:function(objectIdStr){var r=null;if(ua.w3cdom){var o=getElementById(objectIdStr);if(o){var n=o.getElementsByTagName(OBJECT)[0];if(!n||(n&&typeof o.SetVariable!=UNDEF)){r=o;}
else if(typeof n.SetVariable!=UNDEF){r=n;}}}
return r;},embedSWF:function(swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,flashvarsObj,parObj,attObj){if(!ua.w3cdom||!swfUrlStr||!replaceElemIdStr||!widthStr||!heightStr||!swfVersionStr){return;}
widthStr+="";heightStr+="";if(hasPlayerVersion(swfVersionStr)){setVisibility(replaceElemIdStr,false);var att={};if(attObj&&typeof attObj===OBJECT){for(var i in attObj){if(attObj[i]!=Object.prototype[i]){att[i]=attObj[i];}}}
att.data=swfUrlStr;att.width=widthStr;att.height=heightStr;var par={};if(parObj&&typeof parObj===OBJECT){for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par[j]=parObj[j];}}}
if(flashvarsObj&&typeof flashvarsObj===OBJECT){for(var k in flashvarsObj){if(flashvarsObj[k]!=Object.prototype[k]){if(typeof par.flashvars!=UNDEF){par.flashvars+="&"+k+"="+flashvarsObj[k];}
else{par.flashvars=k+"="+flashvarsObj[k];}}}}
addDomLoadEvent(function(){createSWF(att,par,replaceElemIdStr);if(att.id==replaceElemIdStr){setVisibility(replaceElemIdStr,true);}});}
else if(xiSwfUrlStr&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){isExpressInstallActive=true;setVisibility(replaceElemIdStr,false);addDomLoadEvent(function(){var regObj={};regObj.id=regObj.altContentId=replaceElemIdStr;regObj.width=widthStr;regObj.height=heightStr;regObj.expressInstall=xiSwfUrlStr;showExpressInstall(regObj);});}},getFlashPlayerVersion:function(){return{major:ua.pv[0],minor:ua.pv[1],release:ua.pv[2]};},hasFlashPlayerVersion:hasPlayerVersion,createSWF:function(attObj,parObj,replaceElemIdStr){if(ua.w3cdom){return createSWF(attObj,parObj,replaceElemIdStr);}
else{return undefined;}},removeSWF:function(objElemIdStr){if(ua.w3cdom){removeSWF(objElemIdStr);}},createCSS:function(sel,decl){if(ua.w3cdom){createCSS(sel,decl);}},addDomLoadEvent:addDomLoadEvent,addLoadEvent:addLoadEvent,getQueryParamValue:function(param){var q=doc.location.search||doc.location.hash;if(param==null){return urlEncodeIfNecessary(q);}
if(q){var pairs=q.substring(1).split("&");for(var i=0;i<pairs.length;i++){if(pairs[i].substring(0,pairs[i].indexOf("="))==param){return urlEncodeIfNecessary(pairs[i].substring((pairs[i].indexOf("=")+1)));}}}
return"";},expressInstallCallback:function(){if(isExpressInstallActive&&storedAltContent){var obj=getElementById(EXPRESS_INSTALL_ID);if(obj){obj.parentNode.replaceChild(storedAltContent,obj);if(storedAltContentId){setVisibility(storedAltContentId,true);if(ua.ie&&ua.win){storedAltContent.style.display="block";}}
storedAltContent=null;storedAltContentId=null;isExpressInstallActive=false;}}}};}();Shadowbox.options.players=["flv","html","iframe","img","qt","swf"];Shadowbox.options.useSizzle=true;
