﻿var _SGVER={VER:"2.4"
,'/qq/sanguo.css':19
,'/qq/sanguoimg.css':3
,'/qq/zhandou.css':3
,pub:4
,sanguo:203
,map:151
,jianzhu:201
,wj:149
,tmp:184
,imgver:2
,zhandou:37
,qqdhtml:2
,slzhandou:7
,firefox:6

,WJS:function(){
	var h=location.host.charAt(0)
	h=h=="t"?"http://t0.5isanguo.com":(h=="d"?"http://d0.5isanguo.com":"")
	var s=""
	for (var i=0;i<arguments.length;i++){
		var f=arguments[i]
		var v=this[f]
		v=v?"?VER="+v:""
		
		if (f.charAt(0)!="/") f="/qq/js/"+f
		if (this.endWith(f,".css"))
			s+='<link href="'+h+f+v+'" rel="stylesheet" type="text/css">'
		else
			s+='<script src="'+h+f+'.js'+v+'"><'+'/script>'
	}
	document.write(s)
}
,endWith:function(s,s1){
  if (s1.length>s) return false
  return (s.substr(s.length-s1.length).toLowerCase()==s1.toLowerCase())
}

,isIE:function(){
	var t=window.navigator.userAgent.match(new RegExp("MSIE (\\d+\\.\\d+)"))
	return t?parseFloat(t[1]):0
}

}
if (!_SGVER.isIE()){
    if( document.implementation.hasFeature("XPath", "3.0") )
    _SGVER.WJS("firefox")
}


