$(document).ready(function(){setInterval("geaR()",100);});var geaR1=0,geaR2=0,geaR3=0,geaR4=0,geaR5=0;function geaR(){$("#geaR1").rotate(geaR1);geaR1-=1;$("#geaR2").rotate(geaR2);geaR2+=1;$("#geaR3").rotate(geaR3);geaR3-=5;$("#geaR4").rotate(geaR4);geaR4+=3;$("#geaR5").rotate(geaR5);geaR5-=3;}
$(document).ready(function(){setTimeout("animation()",0);});function top_news(){$("#top_news").animate({top:"-510px"},1000).animate({top:"+=810px"},4000,"easeOutQuint")}$(function(){$("#top_news_close").click(function(){$("#top_news").animate({top:"+=20px"},500).animate({top:"-=700px"},4000,"easeOutQuint")});});function baR_paRts1(){$("#baR_paRts1").animate({top:"15px"},0).animate({top:"+=21px"},4000).animate({top:"-=21px"},4000).animate({top:"15px"},0)
setTimeout("baR_paRts1()",0);}function baR_paRts2(){$("#baR_paRts2").animate({top:"6px"},0).animate({top:"+=15px"},4500).animate({top:"-=15px"},4500).animate({top:"3px"},0)
setTimeout("baR_paRts2()",0);}function baR_paRts3(){$("#baR_paRts3").animate({top:"15px"},0).animate({top:"+=20px"},6000).animate({top:"-=20px"},6000).animate({top:"15px"},0)
setTimeout("baR_paRts3()",0);}function centeR_space_bg(){$("#centeR_space_bg").animate({top:"18px", left:"0px" , width:"900px" , height:"350px"}, 0).animate({top:"18px", left:"0px" , width:"900px" , height:"350px"}, 2000).animate({top:"118px", left:"244px" , width:"412px" , height:"70px"},2000,"easeOutQuint").animate({top:"18px", left:"0px" , width:"900px" , height:"350px"}, 0).animate({top:"118px", left:"244px" , width:"412px" , height:"70px"},4400,"easeOutQuint")
setTimeout("centeR_space_bg()",20000);}function animation(){top_news();baR_paRts1();baR_paRts2();baR_paRts3();centeR_space_bg();}
/* clock.js */
$(function(){
	if(!jQuery.support.checkOn){
		$('#clock2').remove();
		var angle = 360 / 60;
		var date  = new Date();
		var hour = date.getHours();
		if (hour > 12) hour = hour - 12;
		var minutehand = date.getMinutes();
		var secondhand = date.getSeconds();
		var hourhand = (360 / 12) * hour + (360 / (12 * 60)) * minutehand;
		$('#second_Right')[0].style.webkitTransform = 'rotate(+ angle)';
		$('#second_left')[0].style.webkitTransform = 'rotate(+ angle)';
		$('#minute')[0].style.webkitTransform = 'rotate(' + angle * minutehand + 'deg)';
		$('#houR')[0].style.webkitTransform   = 'rotate(' + hourhand + 'deg)';

	} else {
		$('#clock').remove();
		setInterval(
		function(){
			var angle = 360 / 60;
			var date  = new Date();
			var hour = date.getHours();
			if (hour > 12) hour = hour - 12;
			var minutehand = date.getMinutes();
			var secondhand = date.getSeconds();
			var hourhand = (360 / 12) * hour + (360 / (12 * 60)) * minutehand;
			$('#second2_Right').css({
				'-ms-transform'  : 'rotate(' + angle * secondhand + 'deg)',
				'-o-transform'   : 'rotate(' + angle * secondhand + 'deg)',
				'-moz-transform' : 'rotate(' + angle * secondhand + 'deg)'
				});
			$('#second2_left').css({
				'-ms-transform'  : 'rotate(' + angle * -secondhand + 'deg)',
				'-o-transform'   : 'rotate(' + angle * -secondhand + 'deg)',
				'-moz-transform' : 'rotate(' + angle * -secondhand + 'deg)'
				});
			$('#minute2').css({
				'-ms-transform'  : 'rotate(' + angle * minutehand + 'deg)',
				'-o-transform'   : 'rotate(' + angle * minutehand + 'deg)',
				'-moz-transform' : 'rotate(' + angle * minutehand + 'deg)'
				});
			$('#houR2').css({
				'-ms-transform'  : 'rotate(' + hourhand + 'deg)',
				'-o-transform'   : 'rotate(' + hourhand + 'deg)',
				'-moz-transform' : 'rotate(' + hourhand + 'deg)'
				});
		},1000);
	}
})
/* jqueRy.zlayeR.min.js */
/* jQuery.zLayer.full v0.2 plugin Copyright (c) 2010 Devin R. Olsen Date: 12/10/2010 Project Home: http://www.devinrolsen.com/jquery-zlayers-plugin/ */
$.fn.extend({zlayer:function(options){var defaults={canvas:document,confine:'',force:'push',mass:10}
var options=$.extend(defaults,options);var o=options;var obj=$(this);var m=o.mass;var c=o.confine;return this.each(function(){$(o.canvas).mousemove(function(e){var elm=obj.offset();var x=e.pageX-elm.left-obj.width()/2;var y=e.pageY-elm.top-obj.height()/2;obj.css({top:cal(y,'y'),left:cal(x,'x')});});});function cal(a,t){a=(o.force=='pull')?(c==t)?a=0:a=a/m:(c==t)?a=0:a=-a/m;return parseInt(a);}}});
/* illuminium_top.js */
/*Snowfall jquery plugin version 1.2, Dec 20 2009 Developed by Jason Brown for any bugs or questions email me at loktar69@hotmail info on the plugin is located on Somethinghitme.com*/
$(function(){$("#illuminium").snowfall();});(function($){$.fn.snowfall = function(options){var element = this;random = function random(min, max){return Math.round(min + Math.random()*(max-min));}
function Flake(_x, _y, _size, _speed){this.id = flakeId;this.x  = _x;this.y  = _y;this.size = _size;this.speed = 0.5;this.step = 0,this.stepSize = random(1,10) / 100;var flakeMarkup = "<img src='"+ options.image +"' id='flake-" + this.id;flakeMarkup += "' style='width: " + this.size + "px; height: " + this.size + "px;";flakeMarkup += "; position: absolute; top: " + this.y + "px; left:" + this.x + "px; font-size: 0px; z-index: " + options.flakeIndex;
flakeMarkup += ";' />";if($(element).get(0).tagName === $(document).get(0).tagName){$('body').append(flakeMarkup);}else{$(element).append(flakeMarkup);}this.element = document.getElementById('flake-' + this.id);this.update = function(){this.y -= this.speed;if(this.y < (elHeight) - 400){this.reset();}this.element.style.top = this.y + 'px';this.element.style.left = this.x + 'px';this.step += this.stepSize;this.x += 0;if(this.x > (elWidth) - 6 || this.x < 6){this.reset();}}
this.reset = function(){this.y = 372;this.x = random(0, elWidth);this.stepSize = random(1,10) / 100;this.size = random((options.minSize * 100), (options.maxSize * 100)) / 100;this.speed = random(options.minSpeed, options.maxSpeed);}}var flakes = [],flakeId = 0,i = 0,elHeight = $(element).height(),elWidth = $(element).width(),defaults = {flakeCount : 666,flakeColor : '#fff',flakeIndex: 1,minSize : 1,maxSize : 5,minSpeed : 1,maxSpeed : 2,image:'http://www.kyokusen.com/img/illuminium.png'},options = $.extend(defaults, options);$(window).bind("resize", function(){elHeight = $(element).height();elWidth = $(element).width();});for(i = 0; i < options.flakeCount; i+=1){flakeId = i;flakes[i] = new Flake(random(0,elWidth), random(0, elHeight), random((options.minSize * 100), (options.maxSize * 100)) / 100, random(options.minSpeed, options.maxSpeed));}function snow(){for( i = 0; i < options.flakeCount; i += 1){flakes[i].update();}setTimeout(function(){snow()}, 30);}snow();};})(jQuery);
