function tmtC_stopErrors() {
return true;}
window.onerror = tmtC_stopErrors;

function event01(){
		window.open("http://www.fsjoy.com/event/roh.htm","","");		
	}

function banner01(){
		window.open("http://mall.fsjoy.com/","","");		
	}
function item01(){
		window.open("/game/item_hot.htm","","");		
	}
function item02(){
		window.open("/game/item_hot.htm","","");		
	}
function item03(){
		window.open("/game/skill_hot.htm","","");		
	}
function dianka(){
		window.open("/etc/freepay_popup.htm","","left=0,top=0,width=600,height=600");		
	}
function linkurl01(){
		window.open("/etc/freepay_popup.htm","","left=0,top=0,width=600,height=600");		
	}	
function linkurl02(){
		window.open("/etc/freepay_popup.htm","","left=0,top=0,width=600,height=600");		
	}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
var t_id = setInterval(animate,20);
var pos=0;
var dir=2;
var len=0;
function animate()
{
var elem = document.getElementById('progress');
if(elem != null) {
if (pos==0) len += dir;
if (len>32 || pos>79) pos += dir;
if (pos>79) len -= dir;
if (pos>79 && len==0) pos=0;
elem.style.left = pos;
elem.style.width = len;
}
}
function remove_loading() {
this.clearInterval(t_id);
var targelem = document.getElementById('loader_container');
targelem.style.display='none';
targelem.style.visibility='hidden';
}