function Subsys_JsHttpRequest_Js(){this._construct()}(function(){var l=0;var n={};var o={};Subsys_JsHttpRequest_Js.dataReady=function(a,b,c){var d;var e=n[a];delete n[a];if(e){delete e._xmlReq;if(e.caching)o[e.hash]=[b,c];e._dataReady(b,c)}else if(typeof(e)!=typeof(d)){alert("ScriptLoader: unknown pending id: "+a)}};Subsys_JsHttpRequest_Js.prototype={onreadystatechange:null,readyState:0,responseText:null,responseXML:null,status:200,statusText:"OK",session_name:"PHPSESSID",responseJS:null,caching:false,_span:null,_id:null,_xmlReq:null,_openArg:null,_reqHeaders:null,dummy:function(){},abort:function(){if(this._xmlReq)return this._xmlReq.abort();if(this._span){this.readyState=0;if(this.onreadystatechange)this.onreadystatechange();this._cleanupScript()}},open:function(a,b,c,d,e){this._openArg={'method':a,'url':b,'asyncFlag':c,'username':d,'password':e};this._id=null;this._xmlReq=null;this._reqHeaders=[];return true},send:function(b){var d=(new Date().getTime())+""+l++;b['COOKIE']=document.cookie;var e=this._hash2query(b);var f=this._openArg.url;var g=this._getSid();if(g)f+=(f.indexOf('?')>=0?'&':'?')+this.session_name+"="+this.escape(g);var h=this.hash=f+'?'+e;if(this.caching&&o[h]){var c=o[h];this._dataReady(c[0],c[1]);return false}this._xmlReq=this._obtainXmlReq(d,f);var j=this._xmlReq&&(window.ActiveXObject||this._xmlReq.setRequestHeader);var k,body;if(this._xmlReq&&j&&(""+this._openArg.method).toUpperCase()=="POST"){this._openArg.method="POST";k=f;body=e}else{this._openArg.method="GET";k=f+(f.indexOf('?')>=0?'&':'?')+e;body=null}k=k+(k.indexOf('?')>=0?'&':'?')+d;n[d]=this;if(this._xmlReq){var a=this._openArg;this._xmlReq.open(a.method,k+"-xml",a.asyncFlag,a.username,a.password);if(j){for(var i=0;i<this._reqHeaders.length;i++)this._xmlReq.setRequestHeader(this._reqHeaders[i][0],this._reqHeaders[i][1]);this._xmlReq.setRequestHeader('Content-Type','application/octet-stream')}return this._xmlReq.send(body)}else{this._obtainScript(d,k);return true}},getAllResponseHeaders:function(){if(this._xmlReq)return this._xmlReq.getAllResponseHeaders();return''},getResponseHeader:function(a){if(this._xmlReq)return this._xmlReq.getResponseHeader(a);return''},setRequestHeader:function(a,b){this._reqHeaders[this._reqHeaders.length]=[a,b]},_construct:function(){},_dataReady:function(a,b){with(this){if(a!==null||b!==null){readyState=4;responseText=responseXML=a;responseJS=b}else{readyState=0;responseText=responseXML=responseJS=null}if(onreadystatechange)onreadystatechange();_cleanupScript()}},_obtainXmlReq:function(b,c){if(c.match(new RegExp('^[a-z]+://','i')))return null;var d=null;if(window.XMLHttpRequest){try{d=new XMLHttpRequest()}catch(e){}}else if(window.ActiveXObject){try{d=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}if(!d)try{d=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}}if(d){var f=this;d.onreadystatechange=function(){var s=d.readyState;if(s==4){d.onreadystatechange=f.dummy;var a=d.responseText;try{eval(a)}catch(e){Subsys_JsHttpRequest_Js.dataReady(b,"JavaScript code generated by backend is invalid!\n"+a,null)}}else{f.readyState=s;if(f.onreadystatechange)f.onreadystatechange()}};this._id=b}return d},_obtainScript:function(a,b){with(document){var c=null;c=body.appendChild(createElement("SPAN"));c.style.display='none';c.innerHTML='Text for stupid IE.<s'+'cript></'+'script>';setTimeout(function(){var s=c.getElementsByTagName("script")[0];s.language="JavaScript";if(s.setAttribute)s.setAttribute('src',b);else s.src=b},10);this._id=a;this._span=c}},_cleanupScript:function(){var a=this._span;if(a){this._span=null;setTimeout(function(){a.parentNode.removeChild(a)},50)}return false},_hash2query:function(a,b){if(b==null)b="";var c=[];if(a instanceof Object){for(var k in a){var v=a[k];if(v==null||((v.constructor||{}).prototype||{})[k])continue;var d=b?b+'['+this.escape(k)+']':this.escape(k);if(v instanceof Object)c[c.length]=this._hash2query(v,d);else c[c.length]=d+"="+this.escape(v)}}else{c=[a]}return c.join('&')},_getSid:function(){var m=document.location.search.match(new RegExp('[&?]'+this.session_name+'=([^&?]*)'));var a=null;if(m){a=m[1]}else{var m=document.cookie.match(new RegExp(s='(;|^)\\s*'+this.session_name+'=([^;]*)'));if(m)a=m[2]}return a},escape:function(s){return escape(s).replace(new RegExp('\\+','g'),'%2B')}}})();

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(a,b,w,h,d,c,e,f,g,i,j){if(!document.getElementById){return}this.DETECT_KEY=j?j:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(a){this.setAttribute("swf",a)}if(b){this.setAttribute("id",b)}if(w){this.setAttribute("width",w)}if(h){this.setAttribute("height",h)}if(d){this.setAttribute("version",new deconcept.PlayerVersion(d.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(c){this.addParam("bgcolor",c)}var q=f?f:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",e);this.setAttribute("doExpressInstall",false);var k=(g)?g:window.location;this.setAttribute("xiRedirectUrl",k);this.setAttribute("redirectUrl","");if(i){this.setAttribute("redirectUrl",i)}};deconcept.SWFObject.prototype={setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a=new Array();var b;var c=this.getVariables();for(b in c){a.push(b+"="+c[b])}return a},getSWFHTML:function(){var a="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}a="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";a+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var b=this.getParams();for(var c in b){a+=[c]+"=\""+b[c]+"\" "}var d=this.getVariablePairs().join("&");if(d.length>0){a+="flashvars=\""+d+"\""}a+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}a="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";a+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var e=this.getParams();for(var c in e){a+="<param name=\""+c+"\" value=\""+e[c]+"\" />"}var f=this.getVariablePairs().join("&");if(f.length>0){a+="<param name=\"flashvars\" value=\""+f+"\" />"}a+="</object>"}return a},write:function(a){if(this.getAttribute("useExpressInstall")){var b=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(b)&&!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 a=="string")?document.getElementById(a):a;n.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var a=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){a=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(e){if(a.major==6){return a}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}if(b!=null){a=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}return a};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(a){var q=document.location.search||document.location.hash;if(q){var b=q.substring(1).split("&");for(var i=0;i<b.length;i++){if(b[i].substring(0,b[i].indexOf("="))==a){return b[i].substring((b[i].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return}var a=document.getElementsByTagName("OBJECT");for(var i=0;i<a.length;i++){a[i].style.display="none";for(var x in a[i]){if(typeof a[i][x]=="function"){a[i][x]=function(){}}}}};deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var a=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();a()}}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs}};if(typeof window.onbeforeunload=="function"){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){deconcept.SWFObjectUtil.prepUnload();oldBeforeUnload()}}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload}if(Array.prototype.push==null){Array.prototype.push=function(a){this[this.length]=a;return this.length}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

var what,fTimeout,hint_wind;
var click_flags = {
	"copy_link1_click":false,
	"copy_link2_click":false,
	"copy_link3_click":false,
	"copy_link4_click":false,
	"copy_link5_click":false,
	"copy_link6_click":false,
	"copy_link7_click":false,		
	"copy_link8_click":false,
	"copy_link9_click":false,
	"copy_link10_click":false
}

function DoHide() {
hint_wind.style.display = 'none';
}
	
function copy_click(n) {
var req = new Subsys_JsHttpRequest_Js()
req.onreadystatechange = function() {
	if ((req.readyState == 4) && (req.responseJS))
	if (req.responseJS['ok']) eval("click_flags['"+n+"_click'] = true");
}
req.caching = false;
req.open('GET', "#", true);
req.send({inq:n});
}

function callExtInt(elt,n) {
hint_wind = document.getElementById(n);
if (fTimeout) {clearTimeout(fTimeout); DoHide();}
thisMovie("extIntExm").ClipboardJS(elt.value);
if (!eval("click_flags['"+n+"_click']")) {copy_click(n);}
elt.select();
hint_wind.style.display = 'block';
fTimeout = setTimeout('DoHide()',1500);
}

function thisMovie(movieName) {
	if (navigator.appName.indexOf("Microsoft") != -1) {return window[movieName];}
	else {return document[movieName];}
}
