// JavaScript Document
<!--
var flashvars = {autoplay: "true", fs: "false"};
var params = {wmode: "transparent"};//
var attributes = {};
swfobject.embedSWF("/index.swf", "naxela", "460", "225", "8", false, flashvars, params, attributes);
//-->
<!--
function onError( inputObject, errorMessage )
{
	//alert(errorMessage);
	var elem_error = document.getElementById('txt_error');
	elem_error.style.display = 'block';
	elem_error.innerHTML = errorMessage;
	//inputObject.className = 'input_error';
	inputObject.className = 'error';
	/*inputObject.style.borderColor = '#C00';
	inputObject.style.backgroundColor = '#900';
	inputObject.style.color = '#fff';*/
	inputObject.focus();
	inputObject.select();
}
//-->

/*jQuery().ready(function(){
// create custom animation algorithm for jQuery called "bouncy"
$.easing.bouncy = function (x, t, b, c, d) {
    var s = 1.70158;
    if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
    return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
}

// create custom tooltip effect for jQuery Tooltip
$.tools.tooltip.addEffect("bouncy",

	// opening animation
	function(done) {
		this.getTip().animate({top: '+=15'}, 500, 'bouncy', done).show();
	},

	// closing animation
	function(done) {
		this.getTip().animate({top: '-=15'}, 500, 'bouncy', function()  {
			$(this).hide();
			done.call();
		});
	}
);
});*/
