function blink(elm) {
	elm.style.visibility = (elm.style.visibility != 'hidden' ? 'hidden' : 'visible' );
}

function addUserMaillist() {
		var ulAjax = new Ajax.Request('src/addUserMaillist.php',{
			method: 'post',
			parameters: $('FrmMaillist').serialize(),
			onSuccess:function (resp) {
				for(var i=900; i < 2700; i=i+900) {
					timer1 = setTimeout(function(){blink($('AddAdd'))},i);
					timer2 = setTimeout(function(){blink($('AddAdd'))},i+450);
				}
				$('maincontent').innerHTML = resp.responseText;				
			}
		});
}

function partnerCountM(s)
{
	var olAjax = new Ajax.Request('../src/partnerCount.php',{
		method: 'get',
		parameters: {t: s }
	});
}

function partnerCount(o,s)
{
	var olAjax = new Ajax.Request('../src/partnerCount.php',{
		method: 'get',
		parameters: {t: s },
		onSuccess:function (resp) {
			location.href = o.href;
		}
	});
}