(function(){
function Information(){
	$.ajax({type:'GET', url:'/Webcontrols/ClientInformation.aspx',cache:false,
		data:'TYPE=Information',
		success:function(msg){
			var client = eval(msg);
			if(client.length == clientInformationLength){
				if($('#logMessage').length>0){
					$('#logMessage').html('<div class="rightlogin_1_5">Welcome ' + client[0] + '！</div>'
					+ '| <a href="CollectionEn.aspx">My Collection</a> '
					+ '| <a href="/Client/History.aspx">History</a> |<br />'
					+ '| <a href="ModifyPassEn.aspx">Change My Password</a> '
					+ '| <a href="javascript:Client.Logout()">Exit</a> |');
				}
			} else {
				if($('#logMessage').length>0){$('#logMessage').load('/WebControls/English.html')}
			}
		}
	});
}
window['Client']['Information'] = Information;
})()

$(document).ready(function(){
	Client.Information();
})