//meta
<link rel="stylesheet" href="/uploads/js/venobox/venobox.css" type="text/css" media="screen" />
<script type="text/javascript" src="/uploads/js/venobox/venobox.min.js"></script>
//remove colorbox add venobox, set to cycle through page images as a set
if($("a[rel=colorbox]").length > 0){
$("a[rel=colorbox]").removeAttr("rel").removeClass("cboxElement").addClass("venobox").attr("data-gall","venoGallery");
$('.venobox').venobox();
}