function LogoRefresh(objN,on)
{
	try
	{
        document.getElementById(objN).style.filter = (on==1)?"alpha(opacity=50)":"alpha(opacity=100)";
	}catch(ex){
	}
}
var _eventHandles = new Array();

function _contains(source, find){
    return (find.exec(source));
}
function scr()
{
    try{
        //document.getElementById('DIV9901').style.top = (document.body.scrollTop + document.body.clientHeight / 2 - 44);
        //document.getElementById('DIV9901').style.left = (document.body.scrollLeft - 192);
        if (__IsIE())
        {
            document.getElementById("helpfloat0912").style.top=document.body.scrollTop;
        }
    }catch(ex){
    }
    try{
        scrollLoading();
    }catch(ex){
    }
}
function scrollLoading()
{
    try{
        //document.getElementById('tab_loading').style.top = (document.body.clientHeight / 2 - 24 / 2);
        //document.getElementById('tab_loading').style.left = (document.body.clientWidth / 2 - 70 / 2);
    }catch(ex){
    }
}
function readyStateCheck()
{
    /*if (document.readyState == 'complete'){
        document.getElementById('tab_loading').style.display = 'none';
        document.getElementById('Pag_Footer').style.top = document.body.scrollHeight;
    }*/
}

window.onresize=scrollLoading;
document.onreadystatechange=readyStateCheck;
scrollLoading();
scr();
//Call Bar Content
var c0912id=0
var bn0912
var rn0912
function mo_0912()
{
    try
    {
	    window.clearTimeout(c0912id);
	    if (document.getElementById("helpdesc_0912").style.display != "")
		    document.getElementById("helpdesc_0912").style.display = "";
	}catch(ex)
	{}
}
function mot_0912()
{
    try{
	    window.clearTimeout(c0912id)
	    c0912id = window.setTimeout("javascript:mot1_0912();",2000);
	}catch(ex)
	{
	}
}
function mot1_0912()
{
    try{
	document.getElementById("helpdesc_0912").style.display = "none";
	}catch(ex)
	{
	}
}
bn0912 = 0;
rn0912 = 0;
function ac0912()
{
    switch(rn0912)
    {
        case 0:
            if (bn0912 > 10)
            {
                rn0912 = 1;
                bn0912 = 9;
            }else{
            bn0912 = bn0912 + 1;
            }
            break;
        case 1:
            if (bn0912 <= 0)
            {
                bn0912 = 1;
                rn0912 = 0;
            }else{
                bn0912 = bn0912 - 1;
            }
    }
    document.getElementById("questicon").style.filter = "blur(add=1,direction=" + bn0912.toString() + ",strength=" + bn0912.toString() + ")";
    if (__IsIE())
        window.setTimeout("javascript:ac0912();",100);
}
window.setTimeout("javascript:ac0912();",1000);
var n9901;

//document.getElementById("DIV9901").style.top =  document.body.clientHeight / 2 - 44;
function show9901()
{
    window.clearTimeout(n9901);
    document.getElementById("loginWnd").style.display = "block";
    document.getElementById("DIV9901").style.width = "208px";
    document.getElementById("loginR").style.left = "192px";
}
function hide9901()
{
    n9901 = window.setTimeout("javascript:hide9901a();",2000);
}
function hide9901a()
{
    document.getElementById("loginWnd").style.display = "none";
    document.getElementById("DIV9901").style.width = "16px";
    document.getElementById("loginR").style.left = "0px";
}
function hideIE6warning()
{
	document.getElementById("warninglabel_IE6").className="";
	document.getElementById("warninglabel_IE6_close").className="";
}
function GotoTranslation()
{
	location="http://translate.google.com/translate?js=y&prev=_t&hl=zh-CN&ie=UTF-8&layout=1&eotf=1&u="+location+"&sl=zh-CN&tl=en";
}