
//createEmptyPicBlock(10, 6, 4, 2, 1);
createEmptyPicBlock(10, 6, 7, 2, 0);
function createEmptyPicBlock(pics_per_row, width, height, left_margin, top_margin){//width is # of pic spaces, height is # of pic spaces, left_margin is # of pics on left side of row, top_margin is # of rows above
var current_row;
for (current_row = 0; current_row < height; current_row++) {
if((width + left_margin)<= pics_per_row){
place_after = (top_margin * pics_per_row) + left_margin + ((pics_per_row - width) * current_row) -1;//-1 because it is the gallery starts at index zero
width_percent = (width / pics_per_row) * 100;
jQuery('
