initModule({
	moduleID : 'loginlogin1',
	newWindow : false,
	imagesFolder : function(){
		return document.scripts[document.scripts.length - 1];
	}(),
		
	domName :
			{
				tL : 'loginlogin1_topL',
				tR : 'loginlogin1_topR',
				bL : 'loginlogin1_bottomL',
				bR : 'loginlogin1_bottomR',
				s : 'loginlogin1Marquee'
			},
				
	title : 
			{
				id : 'loginlogin1_topL',
				text : "已注册用户，请登录"
			},
				
	linkInfo :
			{
				down : 
					{
						id   : 'loginlogin1_bottomR',
						type : 'none',
						text : "more",
						url  : '/',
						imgID : ['loginlogin1_linkdown_prev','loginlogin1_linkdown_next','loginlogin1_linkdown_first','loginlogin1_linkdown_last'],
						imgUrl  : ['','','',''] /*****/
					},
				up :
					{
						id   :'loginlogin1_topR',
						type : 'none',
						text : "more",
						url  : '/',
						imgID : ['loginlogin1_linkup_prev','loginlogin1_linkup_next','loginlogin1_linkup_first','loginlogin1_linkup_last'],
						imgUrl  : ['','','',''] /*****/
					}
			},
		
	loopNumber :
			{
				enable : false,
				content : ""
			},
				
	marquee :
			{
				id : 'loginlogin1_marquee',
				enable :  false,
				width : 860,
				height : 100,
				direction : 'top',
				step : 1,
				timer :50,
				delayTime : 0,
				waitTime : 860,
				scrollStep : 100,
				margin : ['0px','0px','0px','0px']
			}
			
});
initLogin(
	false,
	'loginlogin1'
);



	var checkImgCode = {
		imgPath : 'http://www.shopxg.com/checkImage.aspx',
		imgID : 'checkCodeImg',
		c : 
			{
				code : '',
				imgPath : ''
			},
		randNum : 
				function(){
					return parseInt(Math.random() * 10);
				},
		code :  
				function(){
					return [checkImgCode.randNum(),checkImgCode.randNum(),checkImgCode.randNum(),checkImgCode.randNum()].join(''); 
				},
		refCode :
				function(){
					checkImgCode.c.code = checkImgCode.code();
					checkImgCode.c.imgPath = checkImgCode.imgPath + '?k=' + checkImgCode.c.code;
					document.getElementById(checkImgCode.imgID).src = checkImgCode.c.imgPath;
				},
		check :
				function(){
					if(arguments[0] != checkImgCode.c.code){
						alert('验证码错误!');
						return false;
					}
					return true;
				}
	};
	checkImgCode.refCode();		
	function checkLoginForm()
	{
		if(document.getElementById('usernameloginlogin1').value.length == 0 || document.getElementById('passwordloginlogin1').value.length == 0)
		{
			alert('用户名或密码未填写');
			return false;
		}
		
		var checkEnable = (document.getElementById('checkcodeLineloginlogin1').style.display == 'none')? false:true;
		if(checkEnable)
		{
			if(checkImgCode.check(document.getElementById('checkCode').value))
			{
				oginForms.submit();
				return true;
			}
		}
		loginForms.submit();
		return true;
	}
/*模块*/