function PopupCenter(pageURL, title,w,h) {
var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);
var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
}

<!--  initialize the slideshow when the DOM is ready -->
$(document).ready(function() {
    $('.promociones').cycle({
fx: 'fade',
speed:500, //The speed option defines the number of milliseconds it will take to transition from one slide to the next.
timeout:5000,//The timeout option specifies how many milliseconds will elapse between the start of each transition.
pause:  1,
pager:  '#nav',
slideExpr: 'img' 
});
});

$(document).ready(function() {
    $('.banners1').cycle({
fx: 'scrollDown',
speed:500,
timeout:10000,
pause:  1,
easing: 'bounceout', 
delay:  -2000
});
});

<!-- example javascript code used to controlling AudioPlay players -->
function getPlayer(movieName)
	{
		if (navigator.appName.indexOf("Microsoft") != -1) 
		{
			return window[movieName];
        	} 
		else 
		{
			return document[movieName];
        	}
     	}

	function play1()
	{
		getPlayer('player1').playMusic();
	}
	
	function stop1()
    {
        getPlayer('player1').stopMusic();
    }
