try {
	document.execCommand('BackgroundImageCache', false, true);
} catch(e) {}

// Quick_bar scroll Layer
function initMoving(target) {
    if (!target)
        return false;

    var obj = target;

	if (document.getElementById('pageTop'))
	{
	    obj.initTop = 478;
		obj.topLimit = 478;
	} else if(document.getElementById('guidBlock'))	{
	    obj.initTop = 290;
		obj.topLimit = 290;
//	} else if(document.getElementById('quick_bar3'))	{
//	    obj.initTop = 258; //international quick
	}

//    obj.initLeft = 950;
    obj.bottomLimit = document.documentElement.scrollHeight - 220;

    obj.style.position = "absolute";
    obj.top = obj.initTop;
    obj.left = obj.initLeft;
    obj.style.top = obj.top + "px";
//    obj.style.left = obj.left + "px";

    obj.getTop = function() {
        if (document.documentElement.scrollTop) {
            return document.documentElement.scrollTop;
        } else if (window.pageYOffset) {
            return window.pageYOffset;
        } else {
            return 0;
        }
    }
    obj.getHeight = function() {
        if (self.innerHeight) {
            return self.innerHeight;
        } else if(document.documentElement.clientHeight) {
            return document.documentElement.clientHeight;
        } else {
            return 500;
        }
    }
    
    obj.move = setInterval(function() {
    	try{
	        pos = obj.getTop() + obj.getHeight() / 2 - 164;
	
	        if (pos > obj.bottomLimit)
	            pos = obj.bottomLimit
	        if (pos < obj.topLimit)
	            pos = obj.topLimit
	
	        interval = obj.top - pos;
	        obj.top = obj.top - interval / 3;
	
	        obj.style.top = obj.top + "px";
		} catch (e1) {
		}
    }, 40)
}
function gotoTop(){
    /*
    var topUrls = top.location.href;
    top.location.href = topUrls +  topUrls.indexOf("#")>=0?"":"#";
    */
    location.href = "#";
}