<script> window.prevLink = "{{$prevlink}}"; window.nextLink = "{{$nextlink}}"; window.photoEdit = true; </script>