//document.location.href="http://idc.tookmax.com"
// 让页面上的FLASH不再需要点击激活IE+FF
function insertSwf(mode,url,w,h,obj) {
//mode:0:直接URL;1:code;obj可不写;
var str = '';
if(mode.toString()=="0"||mode==""){//直接URL
if(w.toString()==""||h.toString()==""){w=560;h=380}
str += '';
}else if(mode.toString()=="1"){
str = url;
}
if(document.getElementById(obj)){
document.getElementById(obj).innerHTML = str;
}else{
document.write(str);
}
}
function showTit() {
var tmp=document.location.href;
var str="";
if(tmp.indexOf('/Special/chea/') != -1){str='
'}
if(tmp.indexOf('/Special/Spec_rock/') != -1){str='
'}
if(tmp.indexOf('/Special/Spec_hiphop/') != -1){str='
'}
if(tmp.indexOf('/Special/Spec_nature/') != -1){str='
'}
if(tmp.indexOf('/Special/Spec_classic/') != -1){str='
'}
if(tmp.indexOf('/Special/Spec_hq/') != -1){str='
'}
if(tmp.indexOf('/Special/Spec_forbid/') != -1){str='
'}
if(tmp.indexOf('/Special/Spec_recom/') != -1){str='
'}
document.write(str)
}
function showNote(){
try{
document.getElementById("downNote").innerHTML='
如果您无法打开下载页面,或者下载链接失效(提示下载文件已被删除)请在视频下方留言,我们将优先进行处理。详细下载方法说明请点击这里';
}catch(e){}
}
function showAlert(){
try{
document.getElementById("downNote").innerHTML='
为了提高视频下载更新效率,若您需要下载该视频,请在本视频下留言说明或留下Email,我们将尽快上传该视频以供您下载:)';
}catch(e){}
}
function showOther(gp3,hd,bell,mp3){
var obj=document.getElementById("oDown");
var isBell=false,isMp3=false;
if(typeof(bell)!="undefined"&&bell!=""){isBell=true;}
if(typeof(mp3)!="undefined"&&mp3!=""){isMp3=true;}
if(gp3!=""||isBell||isMp3){obj.style.cssText="background:#e6e6e6;width:330px;padding:4px;"}
if(isMp3){obj.innerHTML="
"}
if(isBell){obj.innerHTML+=""}
if(gp3!=""){obj.innerHTML+=""}
}
///////////////////////////////////////////////////////////////////
/**
* SWFObject v1.5.1: 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 = {};
if(typeof deconcept.util == "undefined") deconcept.util = {};
if(typeof deconcept.SWFObjectUtil == "undefined") deconcept.SWFObjectUtil = {};
deconcept.SWFObject = function(swf, id, w, h, ver, c, quality, xiRedirectUrl, redirectUrl, detectKey) {
if (!document.getElementById) { return; }
this.DETECT_KEY = detectKey ? detectKey : 'detectflash';
this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params = {};
this.variables = {};
this.attributes = [];
if(swf) { this.setAttribute('swf', swf); }
if(id) { this.setAttribute('id', id); }
if(w) { this.setAttribute('width', w); }
if(h) { this.setAttribute('height', h); }
if(ver) { this.setAttribute('version', new deconcept.PlayerVersion(ver.toString().split("."))); }
this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion();
if (!window.opera && document.all && this.installedVer.major > 7) {
// only add the onunload cleanup if the Flash Player version supports External Interface and we are in IE
// fixes bug in some fp9 versions see http://blog.deconcept.com/2006/07/28/swfobject-143-released/
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(c) { this.addParam('bgcolor', c); }
var q = quality ? quality : 'high';
this.addParam('quality', q);
this.setAttribute('useExpressInstall', false);
this.setAttribute('doExpressInstall', false);
var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location;
this.setAttribute('xiRedirectUrl', xir);
this.setAttribute('redirectUrl', '');
if(redirectUrl) { this.setAttribute('redirectUrl', redirectUrl); }
}
deconcept.SWFObject.prototype = {
useExpressInstall: function(path) {
this.xiSWFPath = !path ? "expressinstall.swf" : path;
this.setAttribute('useExpressInstall', true);
},
setAttribute: function(name, value){
this.attributes[name] = value;
},
getAttribute: function(name){
return this.attributes[name] || "";
},
addParam: function(name, value){
this.params[name] = value;
},
getParams: function(){
return this.params;
},
addVariable: function(name, value){
this.variables[name] = value;
},
getVariable: function(name){
return this.variables[name] || "";
},
getVariables: function(){
return this.variables;
},
getVariablePairs: function(){
var variablePairs = [];
var key;
var variables = this.getVariables();
for(key in variables){
variablePairs[variablePairs.length] = key +"="+ variables[key];
}
return variablePairs;
},
getSWFHTML: function() {
var swfNode = "";
if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { // netscape plugin architecture
if (this.getAttribute("doExpressInstall")) {
this.addVariable("MMplayerType", "PlugIn");
this.setAttribute('swf', this.xiSWFPath);
}
swfNode = '