function hasClass(ele,cls){return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));}
function addClass(ele,cls){if(!this.hasClass(ele,cls))ele.className+=" "+cls;}
function removeClass(ele,cls){if(hasClass(ele,cls)){var reg=new RegExp('(\\s|^)'+cls+'(\\s|$)');ele.className=ele.className.replace(reg,' ');}}
function hasStyle(ele,stl,val){var ret_val=false;if(val)
{ret_val=eval("ele.style."+stl)==val;}
else
{ret_val=eval("ele.style."+stl)!=null;}
return ret_val;}
function addStyle(ele,stl,val){if(!this.hasStyle(ele,stl,val))eval("ele.style."+stl+" = val");}
function removeStyle(ele,stl){if(hasStyle(ele,stl))eval("ele.style."+stl+" = ''");}
function AttachEvent(obj,evt,fnc,useCapture){if(!useCapture)useCapture=false;if(obj.addEventListener){obj.addEventListener(evt,fnc,useCapture);return true;}else if(obj.attachEvent)return obj.attachEvent("on"+evt,fnc);else{BrowserAttachEvent(obj,evt,fnc);obj['on'+evt]=function(){BrowserFireEvent(obj,evt)};}}
function BrowserAttachEvent(obj,evt,fnc){if(!obj.myEvents)obj.myEvents={};if(!obj.myEvents[evt])obj.myEvents[evt]=[];var evts=obj.myEvents[evt];evts[evts.length]=fnc;}
function BrowserFireEvent(obj,evt){if(!obj||!obj.myEvents||!obj.myEvents[evt])return;var evts=obj.myEvents[evt];for(var i=0,len=evts.length;i<len;i++)evts[i]();}
Array.prototype.remove=function(from,to){var rest=this.slice((to||from)+1||this.length);this.length=from<0?this.length+from:from;return this.push.apply(this,rest);};Array.prototype.contains=function(element)
{for(var i=0;i<this.length;i++)
{if(this[i]==element)
{return true;}}
return false;};function LayerAnim(id,bg_id,anc_id,nav_end)
{this.timeout=300;this.close_timer=null;this.id=id;this.layer_obj=document.getElementById(id);this.bg_layer_obj=document.getElementById(bg_id);this.anc_obj=document.getElementById(anc_id);this.cancel_anim=false;this.is_open=false;this.open_opacity_start=0;this.open_opacity_end=100;this.open_opacity_time=0.8;this.open_top_tween_start=-100;this.open_top_tween_end=nav_end;this.open_top_tween_time=1;this.close_opacity_start=100;this.close_opacity_end=0;this.close_opacity_time=0.3;}
LayerAnim.prototype.cancelAnim=function()
{this.cancel_anim=true;}
LayerAnim.prototype.open=function()
{if(!this.is_open)
{addClass(this.anc_obj,"on");this.openObj(this.layer_obj);this.openObj(this.bg_layer_obj);this.is_open=true;LayerAnim.prototype.open_layers[this.id]=this;}}
LayerAnim.prototype.openObj=function(obj)
{addStyle(obj,"display","block");addStyle(obj,"visibility","visible");var clients=document.getElementById("clients");if(null!=clients)
{clients.style.display='none';}
open_ot=new OpacityTween(obj,Tween.regularEaseOut,0,100,0.001);open_mt=new Tween(obj.style,"top",Tween.strongEaseOut,this.open_top_tween_start,this.open_top_tween_end,this.open_top_tween_time,"px");if(!this.cancel_anim)
{open_ot.start();open_mt.start();}}
LayerAnim.prototype.out=function()
{if(this.is_open)
{this.clearClose();LayerAnim.prototype.current_obj=this;this.close_timer=window.setTimeout("LayerAnim.prototype.current_obj.close()",this.timeout);}}
LayerAnim.prototype.close=function()
{this.clearClose();removeClass(this.anc_obj,"on");this.closeObj(this.layer_obj,false);this.closeObj(this.bg_layer_obj,true);this.is_open=false;}
LayerAnim.prototype.closeObj=function(obj,is_final_close)
{op_start=this.close_opacity_start;close_ot=new OpacityTween(obj,Tween.strongEaseOut,this.close_opacity_start,this.close_opacity_end,this.close_opacity_time);close_ot.onMotionFinished=function()
{var clients=document.getElementById("clients");if(null!=clients)
{clients.style.display='block';}
if(is_final_close&&LayerAnim.prototype.current_obj!=null&&!LayerAnim.prototype.current_obj.is_open)
{addStyle(LayerAnim.prototype.current_obj.layer_obj,"display","none");addStyle(LayerAnim.prototype.current_obj.bg_layer_obj,"display","none");LayerAnim.prototype.open_layers[LayerAnim.prototype.current_obj.id]=null;LayerAnim.prototype.current_obj=null;}}
if(!this.cancel_anim)
{close_ot.start();}
else
{addStyle(LayerAnim.prototype.current_obj.layer_obj,"display","none");addStyle(LayerAnim.prototype.current_obj.bg_layer_obj,"display","none");}}
LayerAnim.prototype.clearClose=function()
{clearTimeout(this.close_timer);this.close_timer=null;}
LayerAnim.prototype.open_layers=new Object();LayerAnim.prototype.current_obj=null;var currentAwardSection=false;var currentAwardSectionHeight=0;function showAwards(id,height)
{if(false!=currentAwardSection&&id!=currentAwardSection.id)
{t1=new Tween(currentAwardSection.style,'height',Tween.strongEaseOut,100,0,1.5,'px');t1.start();}
if(id!=currentAwardSection.id)
{currentAwardSection=document.getElementById(id);currentAwardSectionHeight=height;currentAwardSection.style.display='block';t3=new Tween(currentAwardSection.style,'height',Tween.strongEaseOut,0,height,1.5,'px');t3.start();}
return false;}
function hideJsFlashRequirment()
{var noFlash=document.getElementById("noFlash");if(null!=noFlash)
{noFlash.style.display='none';}}
AttachEvent(window,"load",hideJsFlashRequirment,false);function hideExpandSection()
{var expandContent=document.getElementById("expand-content");if(null!=expandContent){expandContent.style.display='none';expandContent.style.height='0';}}
AttachEvent(window,"load",hideExpandSection,false);function showExpand(height)
{var expandLink=document.getElementById("expand-link");expandLink.style.display='none';var expandContent=document.getElementById("expand-content");expandContent.style.display='block';t1=new Tween(expandContent.style,'height',Tween.strongEaseOut,0,height,1.5,'px');t1.start();return false;}
var scrollTimeoutIterations=0;var scrollTimeout;function checkScrollTo()
{if(60>scrollTimeoutIterations)
{}
else
{clearTimeout(scrollTimeout);scrollTimeoutIterations=0;}
scrollTimeoutIterations++;}
var open_layers=new Object();function layerAnimInit(layer_id)
{var layer_obj=document.getElementById(layer_id);if(layer_obj==null){return null;}
if(open_layers[layer_obj.id])
{open_layers[layer_obj.id].stop();}
if(open_layers[layer_obj.id+"opacity"])
{open_layers[layer_obj.id+"opacity"].stop();}
return layer_obj;}
function layerAnimImageDesc(description_id,open)
{var description_obj=layerAnimInit(description_id);tween_start=parseInt(description_obj.style.bottom);opacity_start=open_layers[description_obj.id+"opacity"]?open_layers[description_obj.id+"opacity"].getOpacity()*100:0;var tween_min=description_obj.offsetHeight*-1;var tween_end;if(!open)
{tween_end=tween_min;opacity_end=0;}
else
{tween_end=0;opacity_end=90;if(tween_start<tween_min)
{tween_start=tween_min;}}
open_layers[description_obj.id]=new Tween(description_obj.style,"bottom",Tween.regularEaseInOut,tween_start,tween_end,0.5,"px");open_layers[description_obj.id].onMotionFinished=function()
{open_layers[description_obj.id]=null;}
open_layers[description_obj.id].start();open_layers[description_obj.id+"opacity"]=new OpacityTween(description_obj,Tween.strongEaseOut,opacity_start,opacity_end,1);open_layers[description_obj.id+"opacity"].onMotionFinished=function()
{open_layers[description_obj.id+"opacity"]=null;}
open_layers[description_obj.id+"opacity"].start();}
function loadSiteLang(select_obj)
{document.location.href="http://"+document.location.host+"/"+select_obj.options[select_obj.selectedIndex].value+"/";}
function DEBUG_writeToLayer(layer_id,html_layer_id)
{var layer=document.getElementById(layer_id);var h=document.getElementById(html_layer_id).innerHTML.replace("<","&lt;").replace(">","&gt;");layer.innerText=document.getElementById(html_layer_id).innerHTML;}
var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion()
{var version;var axo;var e;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");version=axo.GetVariable("$version");}catch(e){}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version="WIN 3,0,18,0";}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");version="WIN 2,0,0,11";}catch(e){version=-1;}}
return version;}

function music_player_mini_close(){getStyleObject('radio-player').height="74px";}
function getStyleObject(objectId){if(document.getElementById&&document.getElementById(objectId)){return document.getElementById(objectId).style;}else if(document.all&&document.all(objectId)){return document.all(objectId).style;}else if(document.layers&&document.layers[objectId]){return document.layers[objectId];}else{return false;}}
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return"";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;function Delegate(){}
Delegate.create=function(o,f){var a=new Array();var l=arguments.length;for(var i=2;i<l;i++)a[i-2]=arguments[i];return function(){var aP=[].concat(arguments,a);f.apply(o,aP);}}
Tween=function(obj,prop,func,begin,finish,duration,suffixe){this.init(obj,prop,func,begin,finish,duration,suffixe)}
var t=Tween.prototype;t.obj=new Object();t.prop='';t.func=function(t,b,c,d){return c*t/d+b;};t.begin=0;t.change=0;t.prevTime=0;t.prevPos=0;t.looping=false;t._duration=0;t._time=0;t._pos=0;t._position=0;t._startTime=0;t._finish=0;t.name='';t.suffixe='';t._listeners=new Array();t.setTime=function(t){this.prevTime=this._time;if(t>this.getDuration()){if(this.looping){this.rewind(t-this._duration);this.update();this.broadcastMessage('onMotionLooped',{target:this,type:'onMotionLooped'});}else{this._time=this._duration;this.update();this.stop();this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'});}}else if(t<0){this.rewind();this.update();}else{this._time=t;this.update();}}
t.getTime=function(){return this._time;}
t.setDuration=function(d){this._duration=(d==null||d<=0)?100000:d;}
t.getDuration=function(){return this._duration;}
t.setPosition=function(p){this.prevPos=this._pos;var a=this.suffixe!=''?this.suffixe:'';this.obj[this.prop]=Math.round(p)+a;this._pos=p;this.broadcastMessage('onMotionChanged',{target:this,type:'onMotionChanged'});}
t.getPosition=function(t){if(t==undefined)t=this._time;return this.func(t,this.begin,this.change,this._duration);};t.setFinish=function(f){this.change=f-this.begin;};t.geFinish=function(){return this.begin+this.change;};t.init=function(obj,prop,func,begin,finish,duration,suffixe){if(!arguments.length)return;this._listeners=new Array();this.addListener(this);if(suffixe)this.suffixe=suffixe;this.obj=obj;this.prop=prop;this.begin=begin;this._pos=begin;this.setDuration(duration);if(func!=null&&func!=''){this.func=func;}
this.setFinish(finish);}
t.start=function(){this.rewind();this.startEnterFrame();this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'});}
t.rewind=function(t){this.stop();this._time=(t==undefined)?0:t;this.fixTime();this.update();}
t.fforward=function(){this._time=this._duration;this.fixTime();this.update();}
t.update=function(){this.setPosition(this.getPosition(this._time));}
t.startEnterFrame=function(){this.stopEnterFrame();this.isPlaying=true;this.onEnterFrame();}
t.onEnterFrame=function(){if(this.isPlaying){this.nextFrame();setTimeout(Delegate.create(this,this.onEnterFrame),0);}}
t.nextFrame=function(){this.setTime((this.getTimer()-this._startTime)/1000);}
t.stop=function(){this.stopEnterFrame();this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'});}
t.stopEnterFrame=function(){this.isPlaying=false;}
t.continueTo=function(finish,duration){this.begin=this._pos;this.setFinish(finish);if(this._duration!=undefined)
this.setDuration(duration);this.start();}
t.resume=function(){this.fixTime();this.startEnterFrame();this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'});}
t.yoyo=function(){this.continueTo(this.begin,this._time);}
t.addListener=function(o){this.removeListener(o);return this._listeners.push(o);}
t.removeListener=function(o){var a=this._listeners;var i=a.length;while(i--){if(a[i]==o){a.splice(i,1);return true;}}
return false;}
t.broadcastMessage=function(){var arr=new Array();for(var i=0;i<arguments.length;i++){arr.push(arguments[i])}
var e=arr.shift();var a=this._listeners;var l=a.length;for(var i=0;i<l;i++){if(a[i][e])
a[i][e].apply(a[i],arr);}}
t.fixTime=function(){this._startTime=this.getTimer()-this._time*1000;}
t.getTimer=function(){return new Date().getTime()-this._time;}
Tween.backEaseIn=function(t,b,c,d,a,p){if(s==undefined)var s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;}
Tween.backEaseOut=function(t,b,c,d,a,p){if(s==undefined)var s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;}
Tween.backEaseInOut=function(t,b,c,d,a,p){if(s==undefined)var s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;}
Tween.elasticEaseIn=function(t,b,c,d,a,p){if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(!a||a<Math.abs(c)){a=c;var s=p/4;}
else
var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;}
Tween.elasticEaseOut=function(t,b,c,d,a,p){if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(!a||a<Math.abs(c)){a=c;var s=p/4;}
else var s=p/(2*Math.PI)*Math.asin(c/a);return(a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b);}
Tween.elasticEaseInOut=function(t,b,c,d,a,p){if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)var p=d*(.3*1.5);if(!a||a<Math.abs(c)){var a=c;var s=p/4;}
else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;}
Tween.bounceEaseOut=function(t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;}}
Tween.bounceEaseIn=function(t,b,c,d){return c-Tween.bounceEaseOut(d-t,0,c,d)+b;}
Tween.bounceEaseInOut=function(t,b,c,d){if(t<d/2)return Tween.bounceEaseIn(t*2,0,c,d)*.5+b;else return Tween.bounceEaseOut(t*2-d,0,c,d)*.5+c*.5+b;}
Tween.strongEaseInOut=function(t,b,c,d){return c*(t/=d)*t*t*t*t+b;}
Tween.regularEaseIn=function(t,b,c,d){return c*(t/=d)*t+b;}
Tween.regularEaseOut=function(t,b,c,d){return-c*(t/=d)*(t-2)+b;}
Tween.regularEaseInOut=function(t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;}
Tween.strongEaseIn=function(t,b,c,d){return c*(t/=d)*t*t*t*t+b;}
Tween.strongEaseOut=function(t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b;}
Tween.strongEaseInOut=function(t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b;}
OpacityTween.prototype=new Tween();OpacityTween.prototype.constructor=Tween;OpacityTween.superclass=Tween.prototype;function OpacityTween(obj,func,fromOpacity,toOpacity,duration){this.targetObject=obj;this.init(new Object(),'x',func,fromOpacity,toOpacity,duration);}
var o=OpacityTween.prototype;o.targetObject={};o.onMotionChanged=function(evt){var v=evt.target._pos;var t=this.targetObject;t.style['opacity']=v/100;t.style['filter']='alpha(opacity='+v+')';}
o.getOpacity=function(){var t=this.targetObject;op=t.style['opacity'];return op;}
function JSONscriptRequest(fullUrl){this.fullUrl=fullUrl;this.noCacheIE='&noCacheIE='+(new Date()).getTime();this.headLoc=document.getElementsByTagName("head").item(0);this.scriptId='YJscriptId'+JSONscriptRequest.scriptCounter++;}
JSONscriptRequest.scriptCounter=1;JSONscriptRequest.prototype.buildScriptTag=function(){this.scriptObj=document.createElement("script");this.scriptObj.setAttribute("type","text/javascript");this.scriptObj.setAttribute("src",this.fullUrl+this.noCacheIE);this.scriptObj.setAttribute("id",this.scriptId);}
JSONscriptRequest.prototype.removeScriptTag=function(){this.headLoc.removeChild(this.scriptObj);}
JSONscriptRequest.prototype.addScriptTag=function(){this.headLoc.appendChild(this.scriptObj);}
function call_proxy(service,params){var proxy_service="/js/impress/proxy_services/"+service+"?"+params;var obj=new JSONscriptRequest(proxy_service);obj.buildScriptTag();obj.addScriptTag();}
function return_proxy(json_data){eval("return_"+json_data[0]+"(json_data[1])");}