Hey There Gents,
I was on Doubleclick "chat" ( a really great resource for Doubleclick support BTW) for quite some time with this issue. Their Templates are a bit dated. This is the solution we came up with and it works like a charm. This Script goes in the <head> tag.
<script language="javascript">
//Initialize Enabler
if (Enabler.isInitialized()) {
init();
} else {
Enabler.addEventListener(studio.events.StudioEvent.INIT, init);
}
//Run when Enabler is ready
function init(){
if(Enabler.isPageLoaded()){
politeInit();
}else{
Enabler.addEventListener(studio.events.StudioEvent.PAGE_LOADED, politeInit);
}
}
function politeInit(){
Enabler.loadScript('TweenLite.min.js', load1);
}
// To make sure that all the js animation files will be fully loaded
// before using them, use the loadScript method which has a callback function
function load1(){
Enabler.loadScript('zepto.js', load2);
}
function load2(){
Enabler.loadScript('EasePack.min.js', load3);
}
function load3(){
Enabler.loadScript('CSSPlugin.min.js', load4);
}
function load4(){
Enabler.loadScript('connectionsPolite.js');
}
</script>