//js屏蔽错误显示==================================================
//function killerrors() { 
//return true; 
//} 
//window.onerror = killerrors; 


    $(document).ready(function(){                           
        $("a").bind("focus",function(){
            if(this.blur){ //如果支持 this.blur
                this.blur(); 
             }
			 });
    });
// 介绍视频========================================================	
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#flash-i').flash({
		// test_flashvars.swf is the flash document
		swf: 'movie.swf',
		// these arguments will be passed into the flash document
		width:712,height:520,
		params: { wmode:'transparent',
		flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}}
		
	});
});
// 引导flash========================================================	
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#flash-i2').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/pic1.swf',
		// these arguments will be passed into the flash document
		width:600,height:288,
		params: { wmode:'transparent',
		flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}}
		
	});
});

// 菜单flash========================================================	
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#fmenu').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/menu.swf',
		// these arguments will be passed into the flash document
		width:620,height:120,
		params: { wmode:'transparent',
		flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}}
		
	});
});
// 标识1========================================================	
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#logo1').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/logo1.swf',
		// these arguments will be passed into the flash document
		width:400,height:110,
		params: { wmode:'transparent',
		flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}}
		
	});
});
// 标识2========================================================	
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#logo2').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/logo2.swf',
		// these arguments will be passed into the flash document
		width:400,height:110,
		params: { wmode:'transparent',
		flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}}
		
	});
});
// 引导flash========================================================	
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#f-main').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/main.swf',
		// these arguments will be passed into the flash document
		width:1000,height:380,
		params: { wmode:'transparent',
		flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}}
		
	});
});

// 标识1========================================================	
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('.bbstoplogo').flash({
		// test_flashvars.swf is the flash document
		swf: '/cn/flash/logo3.swf',
		// these arguments will be passed into the flash document
		width:400,height:90,
		params: { wmode:'transparent',
		flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}}
		
	});
});
// banner1========================================================	
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#banner1').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/banner1.swf',
		// these arguments will be passed into the flash document
		width:1000,height:135,
			flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}
		
	});
});

// banner2========================================================	
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#banner2').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/banner2.swf',
		// these arguments will be passed into the flash document
		width:1000,height:135,
			flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}
		
	});
});
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#banner3').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/banner3.swf',
		// these arguments will be passed into the flash document
		width:1000,height:135,
			flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}
		
	});
});

$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#banner4').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/banner4.swf',
		// these arguments will be passed into the flash document
		width:1000,height:135,
			flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}
		
	});
});
$(document).ready(function () {
	// #flash-example-2 is the selector
	$('#banner5').flash({
		// test_flashvars.swf is the flash document
		swf: 'flash/banner5.swf',
		// these arguments will be passed into the flash document
		width:1000,height:135,
			flashvars: {
			name1: 'jQuery',
			name2: 'SWFObject',
			name3: 'Plugin'		
		}
		
	});
});
// 滚动文字========================================================
function AutoScroll(obj){
        $(obj).find("ul:first").animate({
                marginTop:"-25px"
        },500,function(){
                $(this).css({marginTop:"0px"}).find("li:first").appendTo(this);
        });
}
$(document).ready(function(){
setInterval('AutoScroll("#scrollDiv")',2000)
});