function call(i){
	$.ajax({
    url: 'xml/album.xml',
    type: 'GET',
    dataType: 'xml',
    timeout: 1000,
    error: function(){
        alert("xmlファイルの読み込みに失敗");
    },
    success: function(xml){
        $(xml).find("alist").each(function(){
        	if ($(this).attr("id") == i){
        		//var schid = $("slist",this);
        		$(".albbox").html($("abtn",this).text());
        		$(".albtext p").html($("atxt",this).text());
        		$("#bgimg-alb").css('background',$("abg",this).text());
        	}
        });
    }
    });
}


function queryString(key){
	if(location.search.match(key)){
		var hash = new Array();
		var query = location.search.substr(1).split("&");
		$.each(query, function(index,string){
			qu = string.split("=");
			hash[qu[0]] = qu[1];
		})
		return hash[key];
	}
	return false
}