function JSCopy(_1){
function createSWF(){
var _2=document.createElement("div");
_2.setAttribute("id",id+"container");
document.body.appendChild(_2);
var _3=new SWFObject("swf/jscopy.swf",id,"0","0","8","#000000");
_3.addParam("allowScriptAccess","always");
_3.addParam("name",id);
if(_1){
_3.addVariable("clipboard",_1);
}
_3.write(id+"container");
}
function createIE(){
this.container=document.createElement("input");
container.setAttribute("type","hidden");
document.body.appendChild(container);
if(_1){
copy(_1);
}
}
function copy(_4){
_4=""+_4;
if(swf){
document.getElementById(id).copy(_4);
}else{
if(ie){
container.innerText=_4;
var _5=container.createTextRange();
_5.execCommand("Copy");
}
}
return false;
}
this.copy=copy;
swf=false;
ie=false;
id="CopyJSID2007";
if(JSCopy.compatibleIE()){
ie=true;
createIE();
}else{
if(JSCopy.compatibleSWF()){
swf=true;
createSWF();
}
}
}
JSCopy.compatibleSWF=function(){
return deconcept.SWFObjectUtil.getPlayerVersion().major>=8;
};
JSCopy.compatibleIE=function(){
return (!window.opera&&navigator.userAgent.indexOf("MSIE")!=-1);
};
JSCopy.compatible=function(){
return JSCopy.compatibleIE()||JSCopy.compatibleSWF();
};
function jscopy(_6){
if(!JSCopySingleton){
JSCopySingleton=new JSCopy(_6);
}else{
JSCopySingleton.copy(_6);
}
}
var JSCopySingleton;
var cssStr;
if(JSCopy.compatible()){
cssStr=".jsCopySupported { } .jsCopyUnsupported { display: none; }";
}else{
cssStr=".jsCopySupported { display: none; } .jsCopyUnsupported { }";
}
var newStyleSheet=document.createElement("style");
newStyleSheet.type="text/css";
if(newStyleSheet.styleSheet){
newStyleSheet.styleSheet.cssText=cssStr;
}else{
var cssText=document.createTextNode(cssStr);
newStyleSheet.appendChild(cssText);
}
document.getElementsByTagName("head")[0].appendChild(newStyleSheet);

