function swf(byPath,FlashVars,byWidth,byHeight)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+byWidth+'" height="'+byHeight+'">');
	if(FlashVars!="") document.write(' <param name="allowScriptAccess" value="sameDomain">');
	document.write(' <param name="movie" value="'+byPath+'">');
	document.write(' <param name="quality" value="high">');
	if(FlashVars!="") document.write(' <param name="FlashVars" value="'+FlashVars+'">');
	document.write(' <param name="menu" value="false">');
	document.write(' <param name="wmode" value="transparent">');
	document.write(' <embed src="'+byPath+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" width="'+byWidth+'" height="'+byHeight+'" wmode="transparent"');
	if(FlashVars!="") document.write(' FlashVars="'+FlashVars+'"');
	document.write('></embed>');
	document.write('</object>');
}
//
$(document).ready(function(){
	$('.nav li').hover(
		function(){
			$('div',this).fadeIn('fast');
			$('.sub',this).addClass('son');
			$('div',this).css({width:$('div',this).width(),top:110});
			$('div',this).css('left',$('.sub',this).offset().left);
		},
		function(){$('div',this).fadeOut('fast'); $('.sub',this).removeClass('son');}
	);
	//
	$('.box5 .s,.search3 .s').focus(function(){if($(this).val()=='Î¬ÐÞµ¥²éÑ¯')$(this).val('');$(this).css('color','#EC833D')});
	$('.box5 .s,.search3 .s').blur(function(){if($(this).val()=='')$(this).val('Î¬ÐÞµ¥²éÑ¯');$(this).css('color','#D6B59A')});
	//
	$('.box7 .sub a').hover(
		function(){
			$('.box7 .con').hide();
			$('.box7 .con').eq($('.box7 .sub a').index($(this))).show();
			$('.box7 .sub a').removeClass('on');
			$(this).addClass('on');
		}
	);
	$('.box7 .sub a').eq(0).addClass('on');
	$('.box7 .con').eq(0).show();
	//
	$('.proview .sub span').click(function(){
		$('.proview .sub span').removeClass('on');
		$(this).addClass('on');
		$('.proview .con').hide();
		$('.proview .con').eq($('.proview .sub span').index(this)).show();
	});
	$('.proview .sub span').eq(0).addClass('on');
	$('.proview .con').eq(0).show();
	//
	$('.list5 li:has(div)>a').click(function(){
		$(this).next().slideToggle(300);
		return false;
	});
	//
	$("a").attr("hideFocus",true);
});
