//JavaScriptDocument

function getLoginPageImageArray(){
	jQuery(document).everyTime(20000 , 'getImage' , 
	function(){
		
		jQuery.ajax({
			type: "GET",
			cache: false,
			dataType: "json",
			url: "http://andparty.jp/?m=pc&a=page_o_login&ajax=1",
			success: function(res){
				var imageData = '';
				jQuery.each(res,
                function(i, item) {
                	imageData = imageData + '<img src="./img.php?filename='+item.image+'&amp;w=120&amp;h=120&amp;m=pc&amp;top=1" width=120 height=120 />';
				});
				jQuery("div#backgroundImages").html(imageData);
				
			}
		});
	});
}