/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
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 FABridge(target,bridgeName){this.target=target;this.remoteTypeCache={};this.remoteInstanceCache={};this.remoteFunctionCache={};this.localFunctionCache={};this.bridgeID=FABridge.nextBridgeID++;this.name=bridgeName;this.nextLocalFuncID=0;FABridge.instances[this.name]=this;FABridge.idMap[this.bridgeID]=this;return this}FABridge.TYPE_ASINSTANCE=1;FABridge.TYPE_ASFUNCTION=2;FABridge.TYPE_JSFUNCTION=3;FABridge.TYPE_ANONYMOUS=4;FABridge.initCallbacks={};FABridge.argsToArray=function(args){var result=[];for(var i=0;i<args.length;i++){result[i]=args[i]}return result}
function instanceFactory(objID){this.fb_instance_id=objID;return this}function FABridge__invokeJSFunction(args){var funcID=args[0];var throughArgs=args.concat();throughArgs.shift();var bridge=FABridge.extractBridgeFromID(funcID);return bridge.invokeLocalFunction(funcID,throughArgs)}function FABridge__invokeJSFunction(args){var funcID=args[0];var throughArgs=args.concat();throughArgs.shift();var bridge=FABridge.extractBridgeFromID(funcID);return bridge.invokeLocalFunction(funcID,throughArgs)}FABridge.addInitializationCallback=function(bridgeName,callback){var inst=FABridge.instances[bridgeName];if(inst!=undefined){callback.call(inst);return}var callbackList=FABridge.initCallbacks[bridgeName];if(callbackList==null){FABridge.initCallbacks[bridgeName]=callbackList=[]}callbackList.push(callback)}
function FABridge__bridgeInitialized(bridgeName){var searchStr="bridgeName="+bridgeName;if(/Explorer/.test(navigator.appName)){var flashInstances=document.getElementsByTagName("object");if(flashInstances.length==1){FABridge.attachBridge(flashInstances[0],bridgeName)}else{for(var i=0;i<flashInstances.length;i++){var inst=flashInstances[i];var params=inst.childNodes;var flash_found=false;for(var j=0;j<params.length;j++){var param=params[j];if(param.nodeType==1&&param.tagName.toLowerCase()=="param"){if(param["name"].toLowerCase()=="flashvars"&&param["value"].indexOf(searchStr)>=0){FABridge.attachBridge(inst,bridgeName);flash_found=true;break}}}if(flash_found){break}}}}else{var flashInstances=document.getElementsByTagName("Embed");if(flashInstances.length==1){FABridge.attachBridge(flashInstances[0],bridgeName)}else{for(var i=0;i<flashInstances.length;i++){var inst=flashInstances[i];var flashVars=inst.attributes.getNamedItem("flashVars").nodeValue;if(flashVars.indexOf(searchStr)>=0){FABridge.attachBridge(inst,bridgeName)}}}}return true}FABridge.nextBridgeID=0;FABridge.instances={};FABridge.idMap={};FABridge.refCount=0;FABridge.extractBridgeFromID=function(id){var bridgeID=(id>>16);return FABridge.idMap[bridgeID]}
FABridge.attachBridge=function(instance,bridgeName){var newBridgeInstance=new FABridge(instance,bridgeName);FABridge[bridgeName]=newBridgeInstance;var callbacks=FABridge.initCallbacks[bridgeName];if(callbacks==null){return}for(var i=0;i<callbacks.length;i++){callbacks[i].call(newBridgeInstance)}delete FABridge.initCallbacks[bridgeName]}
FABridge.blockedMethods={toString:true,get:true,set:true,call:true};
FABridge.prototype ={root:function(){return this.deserialize(this.target.getRoot())},releaseASObjects:function(){return this.target.releaseASObjects()},releaseNamedASObject:function(value){if(typeof(value)!="object"){return false}else{var ret=this.target.releaseNamedASObject(value.fb_instance_id);return ret}},create:function(className){return this.deserialize(this.target.create(className))},makeID:function(token){return(this.bridgeID<<16)+token},getPropertyFromAS:function(objRef,propName){if(FABridge.refCount>0){throw new Error("You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.");}else{FABridge.refCount++;retVal=this.target.getPropFromAS(objRef,propName);retVal=this.handleError(retVal);FABridge.refCount--;return retVal}},setPropertyInAS:function(objRef,propName,value){if(FABridge.refCount>0){throw new Error("You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.");}else{FABridge.refCount++;retVal=this.target.setPropInAS(objRef,propName,this.serialize(value));retVal=this.handleError(retVal);FABridge.refCount--;return retVal}},callASFunction:function(funcID,args){if(FABridge.refCount>0){throw new Error("You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.");}else{FABridge.refCount++;retVal=this.target.invokeASFunction(funcID,this.serialize(args));retVal=this.handleError(retVal);FABridge.refCount--;return retVal}},callASMethod:function(objID,funcName,args){if(FABridge.refCount>0){throw new Error("You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.");}else{FABridge.refCount++;args=this.serialize(args);retVal=this.target.invokeASMethod(objID,funcName,args);retVal=this.handleError(retVal);FABridge.refCount--;return retVal}},invokeLocalFunction:function(funcID,args){var result;var func=this.localFunctionCache[funcID];if(func!=undefined){result=this.serialize(func.apply(null,this.deserialize(args)))}return result},getTypeFromName:function(objTypeName){return this.remoteTypeCache[objTypeName]},createProxy:function(objID,typeName){var objType=this.getTypeFromName(typeName);instanceFactory.prototype=objType;var instance=new instanceFactory(objID);this.remoteInstanceCache[objID]=instance;return instance},getProxy:function(objID){return this.remoteInstanceCache[objID]},
addTypeDataToCache:function(typeData){newType=new ASProxy(this,typeData.name);var accessors=typeData.accessors;for(var i=0;i<accessors.length;i++){this.addPropertyToType(newType,accessors[i])}var methods=typeData.methods;for(var i=0;i<methods.length;i++){if(FABridge.blockedMethods[methods[i]]==undefined){this.addMethodToType(newType,methods[i])}}this.remoteTypeCache[newType.typeName]=newType;return newType},
addPropertyToType:function(ty,propName){var c=propName.charAt(0);var setterName;var getterName;if(c>="a"&&c<="z"){getterName="get"+c.toUpperCase()+propName.substr(1);setterName="set"+c.toUpperCase()+propName.substr(1)}else{getterName="get"+propName;setterName="set"+propName};ty[setterName]=function(val){this.bridge.setPropertyInAS(this.fb_instance_id,propName,val)};ty[getterName]=function(){return this.bridge.deserialize(this.bridge.getPropertyFromAS(this.fb_instance_id,propName))}},addMethodToType:function(ty,methodName){ty[methodName]=function(){return this.bridge.deserialize(this.bridge.callASMethod(this.fb_instance_id,methodName,FABridge.argsToArray(arguments)))}},getFunctionProxy:function(funcID){var bridge=this;if(this.remoteFunctionCache[funcID]==null){this.remoteFunctionCache[funcID]=function(){bridge.callASFunction(funcID,FABridge.argsToArray(arguments))}}return this.remoteFunctionCache[funcID]},getFunctionID:function(func,createIfNecessary){if(func.__bridge_id__==undefined){func.__bridge_id__=this.makeID(this.nextLocalFuncID++);this.localFunctionCache[func.__bridge_id__]=func}return func.__bridge_id__},serialize:function(value){var result={};var t=typeof(value);if(t=="number"||t=="string"||t=="boolean"||t==null||t==undefined){result=value}else if(value instanceof Array){result=[];for(var i=0;i<value.length;i++){result[i]=this.serialize(value[i])}}else if(t=="function"){result.type=FABridge.TYPE_JSFUNCTION;result.value=this.getFunctionID(value,true)}else if(value instanceof ASProxy){result.type=FABridge.TYPE_ASINSTANCE;result.value=value.fb_instance_id}else{result.type=FABridge.TYPE_ANONYMOUS;result.value=value}return result},
deserialize:function(packedValue){var result;var t=typeof(packedValue);if(t=="number"||t=="string"||t=="boolean"||packedValue==null||packedValue==undefined){result=this.handleError(packedValue)}else if(packedValue instanceof Array){result=[];for(var i=0;i<packedValue.length;i++){result[i]=this.deserialize(packedValue[i])}}else if(t=="object"){for(var i=0;i<packedValue.newTypes.length;i++){this.addTypeDataToCache(packedValue.newTypes[i])}for(var aRefID in packedValue.newRefs){this.createProxy(aRefID,packedValue.newRefs[aRefID])}if(packedValue.type==FABridge.TYPE_PRIMITIVE){result=packedValue.value}else if(packedValue.type==FABridge.TYPE_ASFUNCTION){result=this.getFunctionProxy(packedValue.value)}else if(packedValue.type==FABridge.TYPE_ASINSTANCE){result=this.getProxy(packedValue.value)}else if(packedValue.type==FABridge.TYPE_ANONYMOUS){result=packedValue.value}}return result},addRef:function(objID){this.target.incRef(objID)},destRef:function(objID){this.target.decRef(objID)},handleError:function(value){if(typeof(value)=="string"&&value.indexOf("__FLASHERROR")==0){var myErrorMessage=value.split("||");if(FABridge.refCount>0){FABridge.refCount--}throw new Error(myErrorMessage[1]);return value}else{return value}}};ASProxy=function(bridge,typeName){this.bridge=bridge;this.typeName=typeName;return this};ASProxy.prototype={get:function(propName){return this.bridge.deserialize(this.bridge.getPropertyFromAS(this.fb_instance_id,propName))},set:function(propName,value){this.bridge.setPropertyInAS(this.fb_instance_id,propName,value)},call:function(funcName,args){this.bridge.callASMethod(this.fb_instance_id,funcName,args)}};

// VoiceDelivery API Ver 1.1.0
// Date:2009/11/10
function VoiceDeliveryPlayer(d){var e="http://js-api.vdsapi.ne.jp/vdsp.swf";var f=0;var g="";var h=false;var i;var j=["http://www.vdsapi.ne.jp/","http://vdsfree.vdsapi.ne.jp/"];var k=j.length-1;var l=0;var m=document.location.href;var n=new RegExp();for(var o=0;o<=k;o++){n.compile(j[o],"i");if(m.search(n)>-1){l=1;break}}if(l==1){if(document.getElementById("vdsswfobj")==null){var p=new SWFObject(e,"vdsswfobj","0","0","9","transparent");p.addParam("allowScriptAccess","always");p.addParam("flashvars","bridgeName="+d);var h=p.write(d);if(h==false){throw-701;}}FABridge.addInitializationCallback(d,initVdsp)}else{throw-602;}function initVdsp(){eval("i = FABridge."+d+".root()");VoiceDeliveryPlayer.prototype.player=i;f=1};this.isInitialed=function(){return f};this.isErrChk=function(){if(l==1){if(h==false){return-701}}else{return-602}return 0};this.start=function(a){var b=0;if(h==true){if(f==1){b=i.playSound(a)}else{b=-702}}else{b=-701}return b};this.isSpeaking=function(){var a=0;if(f==1){if(i.isPlaying()==true){a=1}}return a};this.speakStop=function(){var a=0;if(h==true){if(f==1){g=(new Date()).getTime();i.stopSound()}else{a=-702}}else{a=-701}return a};this.speakPause=function(){var a=0;if(h==true){if(f==1){i.pauseSound()}else{a=-702}}else{a=-701}return a};this.setPan=function(a){var b=0;var c=0;if(h==true){if(f==1){if((a!=''&&isNaN(a)==false)||a==0){if(a<=1&&a>=-1){c=a}else{if(a>1){c=1}else{c=-1}}b=i.setPan(c);if(b==null){b=0}}else{b=-106}}else{b=-702}}else{b=-701}return b};this.setVolume=function(a){var b=0;var c=1;if(h==true){if(f==1){if((a!=''&&isNaN(a)==false)||a==0){if(a<=100&&a>=0){c=a}else{if(a<0){c=0}else{c=100}}b=i.setVolume(a);if(b==null){b=0}}else{b=-104}}else{b=-702}}else{b=-701}return b};this.getPan=function(){var a=0;if(f==1){a=i.getPan()}return a};this.getVolume=function(){var a=0;if(f==1){a=i.getVolume()}return a};this.getStopTime=function(){return g}}function VoiceDelivery(m,n){var o="http://js-api.vdsapi.ne.jp/cgi-bin/rq_vds/rq_voice.pl";var p="http://js-api.vdsapi.ne.jp/cgi-bin/rq_vds/set_voicetxt.pl";var q="http://js-api.vdsapi.ne.jp/cgi-bin/rq_vds/rq_voicechk.pl";var r=["TakashiJPm","KeikoJPf","MisakiJPf","KateENf","YumiKRf"];var t=r.length;var u=0;var v="TakashiJPm";var w="86750d8095de66d0d56e3bff9137b477";var x=1;var y=0;var z="";var A="";var B="";var C=0;var D=new Array();var E=0;var F=m.isErrChk();var G=getRef();this.setCast=function(a){var b=-101;var c;if(v==a){b=0}else{for(c=0;c<t;c++){if(r[c]==a){v=a;B="";b=0}}}return b};this.setRate=function(a){var b=-102;if((a!=''&&isNaN(a)==false)||a==0){if(a>10){a=10}else if(a<-10){a=-10}if(y==a){b=0}else{y=a;B="";b=0}}return b};this.setString=function(a){var b=0;var c=a;c=c.replace(/<ruby\s*.*?>.*?<rt\s*.*?>/gi,"");c=c.replace(/<rp\s*.*?>.*?<\/rp>/gi,"");c=c.replace(/<.*?>/g,"");chkstr=c.replace(/\s/g,"");if(c==""||chkstr==""){b=-105}else{if(u>0){if(chkstr.length<=u){z=c;B=""}else{b=-103}}else{z=c;B=""}}return b};this.setFinishCallback=function(a){var b=0;A=a;return b};this.getCast=function(){return v};this.getRate=function(){return y};this.getString=function(){return z};this.getStringLimit=function(){return u};this.getCastList=function(){return r};this.setCache=function(a){var b=0;if(a==1||a==0){if(x!=a){B=""}x=a}else{b=-100}return b};this.speak=function(){var a=0;if(F<0){C=F;return F}if(arguments.length==1){a=this.setString(arguments[0]);if(a<0){return a}}if(z==''){a=-105;return a}var b=(new Date()).getTime();D.push({id:"",text:z,name:v,chache:x,rate:y,callback:A,play:1,rqtime:b});if(D.length==1&&D[0].id==""){if(B==""||x==0){a=requestVoiceCGI(1)}else{a=requestVoiceChkCGI()}}return a};this.getVoiceID=function(){return B};this.getServerError=function(){return C};this.setVoiceID=function(a,b){var c,cnt,ret;var d=D[0].text;var e=D[0].name;var f=D[0].rate;var g=D[0].play;var h=D[0].rqtime;var i=D.shift();if(b==""){if(a==''){C=-401}else{B=a}}else{C=b}if(a!=''){if(g==1){if(h<m.getStopTime()){E=1}if(b==""&&m.isInitialed()==0){C=-702}}}ret=cancelVoice();if(D.length>0){if(D[0].chache==1&&D[0].play==1&&D[0].text==d&&D[0].name==e&&D[0].rate==f){ret=requestVoiceChkCGI()}else{ret=requestVoiceCGI(D[0].play)}}};this.nextPartText=function(a,b){var c,ret;c=cancelVoice();if(c==0){if(b==D[0].id){ret=requestVoiceCGI(D[0].play,a)}else{C=-401;eval(D[0].callback);var d=D.shift();if(D.length>0){ret=requestVoiceCGI(D[0].play)}}}else{if(D.length>0){ret=requestVoiceCGI(D[0].play)}}};this.outputVoice=function(a,b){var c=0;if(b==""){if(a==""){C=-401}else{B=a}}else{C=b}if(a!=""&&E==0){c=m.start(a);if(b==""&&c<0){C=c}}E=0;return c};function requestVoiceCGI(){var a=200;var b=arguments.length;a=a-parseInt((G.length/9)+0.9);var c,no,pos,encdata,tmp;if(D.length==0){return 0}var d=D[0].text;var e=D[0].name;var f=D[0].chache;var g=D[0].rate;var h=D[0].callback;var i=D[0].id;no=1;c=1;if(b>0){c=arguments[0];if(b>1){no=arguments[1]}}if(no==1){var j=new Date();tmp=((j.getHours())*3600000)+((j.getMinutes())*60000)+((j.getSeconds())*1000)+j.getMilliseconds();i=n+tmp;D[0].id=i;C=0;B=""}var k=d.length;var l=Math.ceil(k/a);if(no>l){return 0}pos=0;encdata="&vid="+i;encdata+="&vno="+no;encdata+="&vcnt="+l;encdata+="&VOICEDELIID="+w;encdata+="&voicename="+encodeURIComponent(e);encdata+="&Rate="+g;encdata+="&CallBack="+encodeURIComponent(h);encdata+="&PlayFlg="+c;encdata+="&cache="+f+"&obj="+encodeURIComponent(n);if(l>1){pos=(no-1)*a;encdata+="&sptxt="+encodeURIComponent(d.substr(pos,a))}else{encdata+="&sptxt="+encodeURIComponent(d)}encdata+="&ref="+G;var s=document.createElement('script');if(l==no){s.src=o+"?"+encdata}else{s.src=p+"?"+encdata}document.body.appendChild(s);return 0}function requestVoiceChkCGI(){var a="&VID="+B;a+="&CallBack="+encodeURIComponent(D[0].callback);a+="&obj="+encodeURIComponent(n)+"&VOICEDELIID="+w;a+="&ref="+G;C=0;var s=document.createElement('script');s.src=q+"?"+a;document.body.appendChild(s);return 0}function cancelVoice(){var a,ii,startTime;var b=0;var c=m.getStopTime();if(c!=""){a=D.length-1;for(ii=0;ii<=a;ii++){if(D[0].play==1&&D[0].rqtime<c){var d=D.shift();b=1}}}return b};function getRef(){var a=document.location.href;var b="";var c,strlen,ii,str,cnt,tmp;try{a=decodeURIComponent(a);cnt=0;c=a.length;for(ii=0;c>ii;ii++){str=encodeURIComponent(a.charAt(ii));strlen=str.length;if((cnt+strlen)>255){break}else{b+=str;cnt+=strlen}}}catch(tmp){b=a.substr(0,255);if((ii=b.lastIndexOf("%8"))>-1){b=b.substr(0,ii)}b=encodeURIComponent(b)}return b}}