/* 
  Copyright 2007-2010 hkrn <hikarin@users.sourceforge.jp>
   */var Img0ch;if(typeof Img0ch=="undefined")Img0ch={};Img0ch.Upload=function(app){var path_=app.getBBSURI()+"/img/"+app.getKey();var csv_=path_+"/upload.csv";var content_={};return{"get":function(resno){var ret=content_[resno];return ret?ret:[0,'','',0,0,0,0];},"getCSVPath":function(){return csv_},"getPath":function(){return path_},"request":function(){var xml=jQuery.ajax({"async":false,"dataType":"text","ifModified":true,"global":false,"type":"GET","url":csv_});if(xml.status==200){var lines=xml.responseText.split("\n");for(var i in lines){var chunk=lines[i].split(',');content_[chunk[0]]=[chunk[1],chunk[2],chunk[3],chunk[4],chunk[5],chunk[6]];}}
return;}};};