/**
* @author [cengis]mihawk
* @version v1.0
* date:2007-6-21
*/
var ie = (document.defaultcharset && document.getelementbyid && !window.home);
var opera9 = false;
if (ie){
var ver=navigator.appversion.split("msie")
ver=parsefloat(ver[1])
ie = (ver >=6)
}else if (navigator.useragent.indexof("opera")!=-1) {
var versionindex=navigator.useragent.indexof("opera")+6
if (parseint(navigator.useragent.charat(versionindex))>=9)
opera9 = true;
}
var oswap = (ie || opera9)
if (oswap){
document.write ("");
}
objectswap = function(){
if (!document.getelementsbytagname){
return;
}
var stripqueue = [];
var objects = document.getelementsbytagname('object');
for (var i=0; i")[0] + ">";
var newobject = tag + params + o.innerhtml + " ";
o.outerhtml = newobject;
}
if (stripqueue.length) {
stripflash(stripqueue)
}
if (oswap){
document.getelementbyid("hideobject").disabled = true;
}
}
detectflash = function(version){
if(navigator.plugins && navigator.plugins.length){
var plugin = navigator.plugins["shockwave flash"];
if (plugin == undefined){
return false;
}
var ver = navigator.plugins["shockwave flash"].description.split(" ")[2];
return (number(ver) >= number(version))
} else if (ie && typeof (activexobject) == "function"){
try{
var flash = new activexobject("shockwaveflash.shockwaveflash." + version);
return true;
}
catch(e){
return false;
}
}
return true;
}
stripflash = function (stripqueue){
if (!document.createelement){
return;
}
for (var i=0; i/g, "");
newhtml = newhtml.replace(/