function cO(tmpObj,tmpCol){
	if(tmpObj.isOver){
		tmpObj.isOver=false;tmpObj.style.backgroundColor=tmpObj.oCol;
	}else{
		tmpObj.isOver=true;
		var col=tmpObj.style.backgroundColor+"";
		tmpObj.oCol=col;
		tmpObj.style.backgroundColor=tmpCol;
	}
}
function iO(tmpObj){
	if(tmpObj.isOver){
		tmpObj.isOver=false;
		tmpObj.src=tmpObj.oSrc;
	}else{
		tmpObj.isOver=true;
		var src=tmpObj.src;
		tmpObj.oSrc=src;
		tmpObj.src=src.substring(0,src.lastIndexOf("."))+'_o'+src.substring(src.lastIndexOf("."),src.length);
	}
}
function jump(tmpStr){
	location.href=tmpStr;
}
function dw(_s){
	window.document.write(_s);
}
function oW(_u,_n,_w,_h){
	var x=Math.ceil((window.screen.width-_w)/2),y=Math.ceil((window.screen.height-_h)/2);
	nw=window.open(_u,_n,'toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=no,width='+_w+',height='+_h+',left='+x +',top='+y);
	nw.opener=self;
}
//FlashCommand------------------
function FlashCommand(_swfName){
	this.swf=window.document.getElementById(_swfName);
}
FlashCommand.prototype.callFlash=function(_p){//param
	this.swf.SetVariable("/_js_:param",_p);
	this.swf.TCallLabel("/_js_","callFlash");
	//alert(this.swf.id+"/"+_p);
}
FlashCommand.prototype.callJS=function(_m){//msg
	var tmp=_m.split(",");
	var arg=new Array();
	for(var i=1,j=tmp.length;i<j;i++)arg.push(tmp[i]);
	var func=eval(tmp[0]);
	func.apply(func,arg);
}

g_fpath=location.href;
g_path=g_fpath.substring(g_fpath.indexOf("/",g_fpath.indexOf("//")+2)+1,g_fpath.lastIndexOf("/"));
g_file=g_fpath.substring(g_fpath.lastIndexOf("/")+1,(g_fpath.lastIndexOf("?")==-1 ? g_fpath.length:g_fpath.lastIndexOf("?")));
g_ext=g_file ? g_fpath.substring(g_fpath.lastIndexOf(".")+1,g_fpath.length):'';
g_rowid=g_fpath.lastIndexOf("rowid=")!=-1 ? g_fpath.substring(g_fpath.lastIndexOf("rowid=")+6,g_fpath.length):false;
 
 



