﻿function radio(){
newwin = window.open('', 'radio', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=160'); return false;}

function encuesta(){
newwin = window.open('', 'encuesta', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=480,height=450'); return false;}

function radiovolucion(){
newwin = window.open('', 'radiovolucion', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=160'); return false;}

function tarjeta(){
newwin = window.open('', 'tarjeta', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=480,height=450'); return false;}

function tortas(){
newwin = window.open('', 'tortas', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=670,height=700'); return false;}

function beisbol(){
newwin = window.open('', 'beisbol', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width=530,height=530'); return false;}

function jel(){
newwin = window.open('', 'jel', 'toolbar=0,scrollbars=no,location=0,statusbar=0,menubar=0,resizable=1,width=960,height=660'); return false;}

/*
window.onload = function(){
	var now = new Date();
	var time = now.getTime();
	var div = document.createElement('a');
	var id = 'saynotoie6_div_' + time;
	div.setAttribute('id',id);
	div.setAttribute('href','http://www.verdes.com.mx/tarjetacredito.htm');
	div.setAttribute('target','_blank');
	div.style.display = 'block';
	div.style.color = '#1d1d1d';
	div.style.textAlign = 'left';
	div.style.fontFamily = 'Arial';
	div.style.fontSize = '11px';
	div.style.background = 'url(http://www.verdes.com.mx/anuncioixe.gif)';
	div.style.padding = '0';
	div.style.position = 'absolute';
	div.style.top = '0';
	div.style.right = '40px';
	div.style.zIndex = '999999';
	div.style.width = '330px';
	div.style.height = '63px';
	div.style.marginTop = '-80px';
	div.style.filter = 'alpha(opacity=95)';
	document.body.appendChild(div);

	var animate = function(){
		var myDiv = document.getElementById(id);
		var value = parseInt(myDiv.style.marginTop)
		myDiv.style.marginTop = value + 1 + 'px';
		if(parseInt(myDiv.style.marginTop) < -1){
			var timer = setTimeout(animate,30 * 80/Math.abs(value) * .27);
		}else{
			var timer = setTimeout(hide,5000);
		}
	}
	
	var hide = function(){
		var myDiv = document.getElementById(id);
		var value = parseInt(myDiv.style.marginTop)
		myDiv.style.marginTop = value - 1 + 'px';
		if(parseInt(myDiv.style.marginTop) > -80){
			var timer = setTimeout(hide,1.4 * 80/Math.abs(value) * 3.70);
		}
	}
	
	setTimeout(animate,1000);
}
*/