var templateLoc;function getMorePics(page, per_page, tags, sort_order, templateLocGiven){	templateLoc = templateLocGiven;	var flickrDiv = 'flickrbox';	var url = templateLocGiven + '/flickrbox_more.php';	var pars = 'page=' + page + '&per_page=' + per_page + '&tags=' + tags + '&sort_order=' + sort_order + '&templateLoc=' + templateLoc;	//new Effect.BlindUp('flickrbox',{duration:.4});	Element.hide('flickrbox');	Element.show('flickrloadimage');	var ajaxReq = new Ajax.Updater(flickrDiv, 									url, 									{										method: 'get', 										parameters: pars, 										asynchronous: true,										onComplete: function(request) {											showResponse();										}									}									);}function showResponse(){	Element.hide('flickrloadimage');	Element.show('flickrbox');	reInit();	//new Effect.BlindDown('flickrbox',{duration:.4, afterFinish:reInit});}function reInit(){	// need to re-init lightbox so that it recognizes the new images we loaded	initLightbox();	// need to re-init sIFR because I'm a dumbass designer	init_sIFR(templateLoc);}
