			$(window).load(function(){
				$("div.expand_block div.expand_text").hide();
				
				$("a.expand_link").click(
					function(){
						if( $(this).parent().find("div.expand_text").css("display")=="none" ){
							$(this).parent().find("div.expand_text").slideDown("400");
						}else{
							$(this).parent().find("div.expand_text").slideUp("400");
						}
						return false;
					}
				)
				
				$('div.slide').nivoSlider({
					effect:"boxRain,boxRainReverse,boxRainGrow,boxRainGrowReverse",
					pauseOnHover:false,
					directionNav:false,
					directionNavHide:false,
					controlNav:false,
					directionNav:true,
					controlNavThumbs:false,
				    controlNavThumbsFromRel:false,
				    boxRows:4,
				    boxCols:8,
				    pauseTime:10000,
				    animSpeed:800,
			        prevText: '',
			        nextText: '',
			        directionNavHide: true,
				});
				$('.autoclear').autoclear();
				$("a.zoom").fancybox();
				
					var params = {
						wmode:"transparent",
						bgcolor:"transparent",
						salign:'t',
						movie:'b1',
						allowScriptAccess:'sameDomain',
						allowFullScreen:'false',
						menu:'false',
						name:'b1',
						scale:'showall',
						align:'right',
						play:'true',
						loop:'true',
						quality:'high',
						pluginspage:'http://www.macromedia.com/go/getflashplayer',
						width:'258',
						height:'190',
						codebase:'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0'
					};
					var flashvars = {};
					var attributes = {};
					swfobject.embedSWF("/img/swf/b1.swf", "b1", "258", "190", "10.0.0.0", "false", flashvars, params, attributes);
				
			});
