if(document.referrer && document.referrer.indexOf('photos/creek') != -1 && document.referrer.indexOf('photos/image') != -1){
    //If there's a referrer and if you're coming from anywhere other than a creek or another image, we consider it an open.
    if(window.location.indexOf('photos/creek') != -1 || window.location.indexOf('photos/image') != -1) {
        //and if you're on a creek or image page
        s_prop24 = 'Photo_Gallery_Opened';
        try {
            s_coxnews.prop24 = s_prop24;
        }
        catch(e) {
            //pass
        }
    }

}
