vs 2.5

google.setOnLoadCallback(init_plugin);
function init_plugin (){
	try {
		another_callback = setInterval(check_jquery_ui, 100);
	}catch (err){
		alert ('Error. ceros_plugin.js \n init_plugin () \n' + err);
	}
}
function check_jquery_ui (){
	try {
		if (typeof jQuery.ui != 'undefined') {
			cookie ();
			popup ();
			setInterval(ping, 3000);
			clearInterval(another_callback);
		}
	}catch (err){
		alert ('Error. ceros_plugin.js \n check_jquery_ui () \n' + err);
	}
}