﻿/**
 * Progression is (C) 2007-2008 taka:nium and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 */
var progression,Progression,SWFObject,SWFForceSize;(function(){var l=document,f=swfobject,i=function(a){return l.getElementById(a)},m=function(a){return l.getElementsByTagName(a)},G=function(a,c){switch(a){case null:case undefined:{return c}}return a},j="flashcontent",q={},H={url:"preloader.swf",replaceElementId:"attention",width:640,height:480,adjustHorizontal:false,adjustVertical:false,centering:true,version:"9.0.45",useExpressInstall:true,flashvars:{},params:{bgcolor:"#FFFFFF",wmode:"window",allowfullscreen:true,allowscriptaccess:"samedomain"},attributes:{}};var I=function(b){var r=m("html")[0];var s=m("body")[0];q=b;(function(a,c){for(var g in c){var h=a[g];var t=c[g];switch(typeof(h)){case"object":{arguments.callee(h,t);break}default:{a[g]=G(h,t)}}}})(b,H);b.attributes.id=b.attributes.name="external_"+j;var u=(b.centering&&!b.adjustHorizontal);var v=(b.centering&&!b.adjustVertical);var w=b.adjustHorizontal?"100%":b.width+"px";var x=b.adjustVertical?"100%":b.height+"px";var y=u?"50%":"0";var z=v?"50%":"0";var A=u?"-"+Math.ceil(b.width/2)+"px":"0";var B=v?"-"+Math.ceil(b.height/2)+"px":"0";var J=b.useExpressInstall?"contents/scripts/swfobject/expressinstall.swf":undefined;if(r){r.style.background=b.params.bgcolor}else{f.createCSS("html","background:"+b.params.bgcolor+";")}if(s){s.style.background=b.params.bgcolor}else{f.createCSS("body","background:"+b.params.bgcolor+";")}var C=i(j);if(C){var d=C.style;d.width=w;d.height=x;d.left=y;d.top=z;d.marginLeft=A;d.marginTop=B}else{f.createCSS("#"+j,"width:"+w+"; height:"+x+"; left:"+y+"; top:"+z+"; margin-left:"+A+"; margin-top:"+B+";")}f.embedSWF(b.url,b.replaceElementId,"100%","100%",b.version,J,b.flashvars,b.params,b.attributes);f.addLoadEvent(K)};var K=function(){((i("disabled_javascript")||{}).style||{}).display="none";var a=q;if(SWFForceSize&&a.adjustHorizontal&&a.adjustVertical){var c=new SWFForceSize(i(j),a.width,a.height);c.onLoadDiv()}};progression=function(){};progression.embedSWF=I;var D,E,n,o,F,k,e,p;Progression=function(a){((i("enableJavaScript")||{}).style||{}).display="none";E=a;l.write('<link rel="stylesheet" type="text/css" href="contents/styles/progression.css" />')};Progression.prototype={onLoad:function(){},init:function(){F=(this.onLoad.toString().indexOf("var forceSize = new SWFForceSize")>0);this.onLoad()}};SWFObject=function(a,c,g,h){D=a;n=g;o=h;k={};e={};p={}};SWFObject.prototype={useExpressInstall:function(a){},setAttribute:function(a,c){p[a]=c},getAttribute:function(a){return p[a]},addParam:function(a,c){e[a]=c},getParams:function(){return e[name]},addVariable:function(a,c){k[a]=c},getVariable:function(a){return k},getVariables:function(){return k},getVariablePairs:function(){},getSWFHTML:function(){},write:function(a){var c=m("head")[0].innerHTML;c=c.split(" ").join("").split("\t").join("");if(!F){SWFForceSize=null}progression.embedSWF({url:D,version:E,width:parseInt(n),height:parseInt(o),adjustHorizontal:(n=="100%"),adjustVertical:(o=="100%"),centering:(c.indexOf("left:50%;")>0&&c.indexOf("top:50%;")>0),flashvars:{},params:{bgcolor:e["bgcolor"],wmode:e["wmode"],allowscriptaccess:e["allowScriptAccess"]},attributes:{}});return false}}})();