Where to add a code?

Hey, where do i need to add this code that it shows up always when people are viewing images.

 

<div id="ajax_load_indicator" class="ajax_load_indicator" style="border: 5px solid #ccc; padding: 20px; z-index: 1000; position: relative; margin: 200px auto; display: none; font-size: 18px; width: 300px; height: 130px; text-align: center; opacity: 1; filter: alpha(opacity=100); background-color: white;">This Image Contains Adult Content. Please Only Enter If You Are Above 18.<br /><br /> <a class="buttonblue" style="font-size: 24px; padding-left: 10px; padding-right: 10px;" href="javascript:doClose();">ENTER</a><br /> <a style="font-size: 12px;" href="JavaScript:window.close()">leave</a></div>

</div>

<script type="text/javascript">// <![CDATA[

var puShown = false; // change to true to turn the pop off

 

var overlayBg=document.getElementById("overlayBg");

var box=document.getElementById("ajax_load_indicator");

 

if(puShown==false){

    box.style.display="block";

    overlayBg.style.display="block";

    

    if(window.innerWidth!=undefined){

        w=window.innerWidth;

        h=window.innerHeight;

    }

    else{

        w=document.body.clientWidth;

        h=document.body.clientHeight;

    }

}

 

function doClose(){

    box.style.display="none";

    overlayBg.style.display="none";

    var exp = new Date();     //set new date object

    exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24));

    setCookie('popundr','1', exp);

}

 

function setCookie(name, value, expires) {

   document.cookie = name + "=" + escape(value) + "; path=/" + ((expires == null) ? "" : "; expires=" + expires.toGMTString());

}

// ]]></script>

Quote · 25 Apr 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.