// JavaScript Document 我爱七月 174581928 v3.2
(function(){
	window.$ = function(_id){return document.getElementById(_id);};
	window.JUL = new Object();
	JUL.C = new Object();
	JUL.C = {
		_P:"julAPI",
		_D:new Array(16,56,33,16,16,16,16,12,41,17,11,60,23),
		_Z:0
	};
	JUL.V = function(){
		var ua=navigator.userAgent.toLowerCase();
		if(/msie/.test(ua) && !/opera/.test(ua)){
			return "IE"+ua.match(/msie ([\d.]+)/)[1].substring(0,1);
		}else if(/firefox/.test(ua)){
			return "FF"+ua.match(/firefox\/([\d.]+)/)[1].substring(0,1); 
		}else if(/opera/.test(ua)){
			return "OP"+ua.match(/opera.([\d.]+)/)[1].substring(0,1);
		}else if(/chrome/.test(ua)){
			return "CH"+ua.match(/chrome\/([\d.]+)/)[1].substring(0,1);
		}else if(/webkit/.test(ua)){
			return "SA"+ua.match(/version\/([\d.]+)/)[1].substring(0,1);
		}
	}();
	JUL.INS = function(){
		if(JUL.V=="IE6") document.execCommand("BackgroundImageCache",false,true);
	}();
	JUL.crTag = function(_P,_N,_S,_A){if(_P==undefined || typeof(_P)!="object" || _N==undefined) return false;var tempTag=document.createElement(_N);_P.appendChild(tempTag);if(_S!=undefined){for(var prop in _S){tempTag["style"][prop] = _S[prop];}}if(_A!=undefined){for(var prop in _A){tempTag[prop] = _A[prop];}}return tempTag;}
	JUL.seTag = function(_O,_S,_A){if(_O == undefined || typeof(_O) != "object") return false;if(_S!=undefined){for(var prop in _S){_O["style"][prop] = _S[prop];}}if(_A!=undefined){for(var prop in _A){_O[prop] = _A[prop];}}}
	JUL.seTFL = function(_O,_S){if(JUL.V=="FF3"||JUL.V=="CH2"||JUL.V=="SA4"){_O.style.cssFloat = _S;}else{_O.style.styleFloat = _S;}}
	JUL.seTBG = function(_O,_S){if(JUL.V=="IE6"){_O.style.filter ='progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src="'+_S+'")';}else{_O.style.backgroundImage = 'url('+_S+')';}}
	JUL.seTAP = function(_O,_S){if(_O==undefined || typeof(_O)!="object") return false;if(JUL.V=="IE6"||JUL.V=="IE7"||JUL.V=="IE8"){_O.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity="+_S+")";}else{_O.style.opacity = "0."+_S;}}
	JUL.geTL = function(_O){if(_O.offsetParent){return _O.offsetLeft + JUL.geTL(_O.offsetParent);}else{return _O.offsetLeft;}};
	JUL.geTT = function(_O){if(_O.offsetParent){return _O.offsetTop + JUL.geTT(_O.offsetParent);}else{return _O.offsetTop;}};
	JUL.Ajax = function(){
		this.url;
		this.type;
		this.open_type = 'get';
		this.asyn = true;
		this.waiting = function(){return;};
		this.response = function(obj){return obj;};
		this.createXmlhttp = function(){if(window.XMLHttpRequest){return new XMLHttpRequest();}else if(window.ActiveXObject){return new ActiveXObject("Microsoft.XMLHTTP");}};
		this.send = function(_date){this.xmlhttp.open(this.open_type,this.url,this.asyn);this.xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");this.xmlhttp.send(_date);};
		this.stateChange = function(){var _self = this;_self.xmlhttp.onreadystatechange = function(){if(_self.xmlhttp.readyState == 4){if(_self.xmlhttp.status == 200){if(_self.type == "txt"){_self.response(_self.xmlhttp.responseText);}else if(_self.type == "xml"){_self.response(_self.xmlhttp.responseXML);}}else{return false;}}else{_self.waiting();}}};
		if(this.xmlhttp = this.createXmlhttp()){this.stateChange();}
	}
})();

function NAV(_i){
	$('NAV').className = "NAV0" + _i;
	for(var i=0; i<2; i++){$("KNAV0"+i).style.display="none"}
	$("KNAV0"+_i).style.display="block"
}

window.onload = function(){



}

