function changeImage(BottleID, Image1, Image2) {
var imageList = [Image1, Image2];
index = index + 1;
if (index == imageList.length) {
index = 0;
}
var imagex = document.getElementById(BottleID);
imagex.src = imageList[index];
}
function moveWindow{
alert("testing");
if (location.hash) {
var target = location.hash;
window.scrollTop = document.querySelector(target).offsetTop;
}
}
<style>
.site-content .wrap {<br />
    margin-top: 0px!important;<br />
    padding-top: 6em!important;<br />
}<br />
a.anchor {<br />
    display: block;<br />
    position: relative;<br />
    top: 800px;<br />
    visibility: hidden;<br />
}</p>
</style>[xyz-ips snippet="ContinuousDisplayPHP-8"]

<script><br />
// Set timeout variables.<br />
var timoutWarning = 30000; // Display warning in 14 Mins.<br />
var timoutNow = 300000; // Timeout in 5 mins.<br />
var logoutUrl = 'http://bistrowinelist.com/byglass/'; // URL to logout page.<br />
var warningTimer;<br />
var timeoutTimer;<br />
// Start timers.<br />
function StartTimers() {<br />
    timeoutTimer = setTimeout("IdleTimeout()", timoutNow);<br />
}<br />
// Reset timers.<br />
function ResetTimers() {<br />
    clearTimeout(timeoutTimer);<br />
    StartTimers();<br />
    $("#timeout").dialog('close');<br />
}<br />
// Show idle timeout warning dialog.<br />
function IdleWarning() {<br />
    $("#timeout").dialog({<br />
        modal: true<br />
    });<br />
}<br />
// Logout the user.<br />
function IdleTimeout() {<br />
    window.location = logoutUrl;<br />
}<br />
</script>