');link.attr('href',src);link.attr('class','gallery');return link;});$(document).ready(function(){var keyword='PH test',options={"className":"highlight","separateWordSearch":true},$ctx=$(".searchresults");$ctx.unmark({done:function(){$ctx.mark(keyword,options);}});});$('a.gallery').colorbox({rel:'gal',scalePhotos:true,maxWidth:"95%",maxHeight:"95%"});$(document).bind("ajaxSend",function(){console.log("waiting for all requests to complete...");}).bind("ajaxStop",function(){location.reload();});