function mvciframe()
	{
	$sj("#mvc_right").removeClass("new_mvc");
	$sj("#mvc_right").addClass("new_mvc2");
	$sj(".bar-preview").css("display","block");
	$sj("#slide_mvc").css("position","relative");
	$sj("#pre_hd").click(function(){
		mvc_shower(230,$sj(this));
		});
	$sj("#next_hd").click(function(){
		mvc_shower(-230,$sj(this));
		});
}
function mvc_shower(slide_x,e)
{
	slide_dis = parseInt($sj("#slide_mvc").css("left"))+slide_x;
	$sj("#slide_mvc").animate(
	{left:slide_dis},200,'swing',x_stop
	);
}
function x_stop()
{
	var xxx = ($sj("#slide_mvc").children("div").length-3)*230;
	var ooo = -xxx;
	$sj("#slide_mvc").css("left");
	if(slide_dis == 0)
	$sj("#pre_hd").css("display","none");
	else
	$sj("#pre_hd").css("display","block");

	if(slide_dis ==ooo)
	$sj("#next_hd").css("display","none");
	else
	$sj("#next_hd").css("display","block");

	}
function ebv_init()
{
			//$sj(".testma").css("height",((3-$sj(".testm").length)*27)+parseInt($sj(".testma").css("height"))+"px");

			var testma_h = 0;
			$sj(".testm").each(function()
			{ testma_h = testma_h + $sj(this).outerHeight(false);}
			);

			$sj(".testma").css("height",parseInt($sj(".test0825").height())-testma_h);



			$sj(".testm").eq(0).next("div").css("overflow","auto");
			$sj(".testm").eq(0).next("div").show(1);
			$sj(".testm").eq(0).css("background-position","18px -25px");
			start_vid = $sj(".testma").eq(0).find("a").eq(0).attr("DATAFLD");
			playing_status(start_vid,2);


			$sj(".testm").click(function(){

			$sj(".testm").not($sj(this)).next("div").slideUp(350,menu_open(this));
			$sj(".testm").not($sj(this)).css("background-position","18px 8px");

			if(!(parseInt($sj(this).next("div").css("height")) > 100))
			{
				$sj(this).css("background-position","18px -25px");
			  }
		});

		$sj(".testm").mouseover(function(){
			$sj(this).css("background-color","#DDDDDD");
		});

		$sj(".testm").mouseout(function(){
			$sj(this).css("background-color","#ffffff");
		});

		$sj(".more_title").toggle(
		  function () {
		   $sj(this).css("background-position","0px -23px");
		   $sj("#kmenu").css("display","block");
		  },
		  function () {
		     $sj(this).css("background-position","0px 1px");
		     $sj("#kmenu").css("display","none");
		  }
		);
		//init play one video from cookie
		var has_xflag = 0;
		var videovid = "";

		var part_cookie = document.cookie.split(";");

		for(var i=1;i<part_cookie.length;i++)
		{
			var cookie_str = part_cookie[i];
			if(cookie_str.search("vipvid") != -1)
			{
				var vipvid_x = cookie_str.split("=");
				var videovid =  vipvid_x[1];
				}
			}

		$sj("#ebvjs").attr("no_video",$sj("#static_pic").html());
		$sj("#ebvjs").attr("pic_run",$sj("#ebvjs").html());
		$sj("#ebvjs").css("visibility","visible");
		if(videovid)
		{
			play_ebv(videovid,'');
			document.cookie ="vipvid=;"+"path=/";
		}
		else
		{
			$sj("#ebvjs").html($sj("#ebvjs").attr("pic_run"));
			var iii = 0;
			$sj(".pic_ci").each(function()
			{
				$sj(this).css("left",(0+(640*iii)));
				iii++;
				}
			);
			$sj(".pic_info").attr("counter",$sj(".pic_ci").length);
			$sj("#pic_run").attr("now_pic_p",0);
			$sj("#pic_run").css("width",(iii*640)+"px");
			$sj("#pic_right").attr("src",$sj("#pic_right").attr("src2"));
		}

		$sj(window).load(function(){
			load_pic();
			});

		$sj(".mvc_pp").live("click",function()
		{
			$sj(".playing").remove();
			$sj(this).before('<div class="playing" ><img src="/images/video_stage/playing.png" class="nicepng" width="57px" height="23px"  alt="" /></div>');
			});



		$sj("#ebvjs_in").mouseover(function()
		{
			$sj(".p_info_in").stop();
			$sj(".p_info_in").animate({top:0},100);
			//$sj(".p_info_in").eq($sj("#pic_run").attr("now_pic_p")).stop();
			//$sj(".p_info_in").eq($sj("#pic_run").attr("now_pic_p")).animate({top:0},100);


			}
		);

		$sj("#ebvjs_in").mouseout(function()
		{
			//$sj(".p_info_in").eq($sj("#pic_run").attr("now_pic_p")).stop();
			//$sj(".p_info_in").eq($sj("#pic_run").attr("now_pic_p")).animate({top:82},1000);
			$sj(".p_info_in").stop();
			$sj(".p_info_in").animate({top:82},1000);


			}
		);

		/*
		$sj("#ebvjs_in").hover(
		function(){
					$sj(".p_info_in").eq($sj("#pic_run").attr("now_pic_p")).stop();
					$sj(".p_info_in").eq($sj("#pic_run").attr("now_pic_p")).animate({top:0},100);

			}
			,
			function(){
					$sj(".p_info_in").eq($sj("#pic_run").attr("now_pic_p")).stop();
					$sj(".p_info_in").eq($sj("#pic_run").attr("now_pic_p")).animate({top:82},1000);
			}
		);
		*/

}
function menu_open(obj)
{
	if($sj(obj).next("div").css("display") =="block") return;
	//alert($sj(obj).next("div").css("display"));
	$sj(obj).next("div").css("overflow","auto");
	$sj(obj).next("div").slideToggle(500);
	}
function expandout() {
	var pane = $('secpane');
	if(isIE){
		pane.style.left = (parseInt(pane.style.left) - 10)+'px';
		if(parseInt(pane.style.left) > 1) setTimeout("expandout()",10);
		}
	else
		{
			pane.style.left = (parseInt(pane.style.left) - 310)+'px';
			if(parseInt(pane.style.left) > 1) setTimeout("expandout()",1);
			}
}
function expandin() {

	var pane = $('secpane');


	if(isIE){
		pane.style.left = (parseInt(pane.style.left) + 10) + 'px';
		if(parseInt(pane.style.left) < 310) setTimeout("expandin()",10); else pane.style.width = 0;
	}
	else
	{
		pane.style.left = (parseInt(pane.style.left) + 310) + 'px';
		if(parseInt(pane.style.left) < 310) setTimeout("expandin()",1); else pane.style.width = 0;
		}
}
function expandflash() {
	var pane = document.getElementById('secpane');
		if(!pane.style.left) pane.style.left=310+'px';
		pane.style.width = 310+'px';
		if(parseInt(pane.style.left) > 300) { expandout(); return 2; } else { expandin(); return 1; }
}

function play_fromebv(vid)
{
	$("fplay").closemovie();
	play_ebv(vid,"1");
	}

function changeLang(vid)
{

	$("fplay").closemovie();
	play_ebv(vid+"&nolan=1","1");

	}

function play_ebv(vid,obj)
{


	//handle play or not
	if(vid=="null")
	{
		$sj("#ebvjs").html($sj("#ebvjs").attr("no_video"));
		$sj(".static_pic").clone().prependTo($sj("#ebvjs"));

		return;
	}


	$sj("#loadebv").css("z-index","5");
	$sj("#ebvjs").css("display","none");
	ebv = ""; //include js ,reponse ebv

	if(obj!="1")
	closempebv();

	//video_area(vid);
	var mp_ebv="http://faq.machine-video.com/ebvjs2.php?vid="+vid+"&dswf=/flash&share=1";
	$sj.getScript(mp_ebv,function(){
		$sj("#mvhere").remove();
		ebv="<style>#mvhere{position:absolute;left:0px;}</style>"+ebv;
		$sj("#loadebv").css("z-index","0");
		$sj("#ebvjs").css("display","block");
		$sj("#ebvjs").html(ebv);

		if((obj=="") || (obj=="1"))
		playing_status(vid,"1");
		else
		playing_status(vid,"0");

		});

	//handle video status

	}
function closempebv()
{
	if($sj("#fplay").attr("codeBase")){
				//alert($("fplay"));
				$("fplay").closemovie();
				}
	if($sj("#wmv").attr("classid"))
	$("wmv").controls.stop();
	}

function playing_status(vid,flag)
{
	if(flag==2)
	{
		var backgroundimg1 = "../images/video_stage/video_gray.jpg";
		var backgroundimg2 = "../images/video_stage/video_gray2.jpg";
		$sj(".testma").eq(0).attr("scrollTop",parseInt($sj("a[DATAFLD="+vid+"]").prev().attr("offsetTop")));
		//var a1 = parseInt($sj("a[DATAFLD="+vid+"]").attr("offsetTop"));
		//var a3 = parseInt($sj("a[DATAFLD="+vid+"]").css("height"));
		//$sj(".testma").eq(0).attr("scrollTop",(a1-a3-26));
	}
	else
	{
		var backgroundimg1 = "../images/video_stage/video_play.jpg";
		var backgroundimg2 = "../images/video_stage/video_play2.jpg"
		}

	$sj("a[DATAFLD]").each(function()
	{
		if($sj(this).attr("DATAFLD") == vid)
		{

				$sj(".v_product").css("background-image","");
				$sj(".v_product2").css("background-image","");
				if($sj(this).attr("className") =="v_product")
				$sj(this).css("background-image","url("+backgroundimg1+")");
				if($sj(this).attr("className") =="v_product2")
				$sj(this).css("background-image","url("+backgroundimg2+")");

				$sj(this).parent().prev(".testm").click();

				if(flag=="1")
				{
					$sj(this).clone().prependTo($sj(this).parent());
					$sj(this).remove();
				}

			return false;
			}
		}
	);
}


function getlocation(vid){

	var forsammy = location.href+","+vid;
	return(forsammy);
	}

function setOpacity(obj, opacity){
	$sj(obj).css("filter","alpha(opacity:"+opacity+")");
	$sj(obj).css("KHTMLOpacity",opacity/100);
	$sj(obj).css("MozOpacity",opacity/100);
	$sj(obj).css("opacity",opacity/100);

	};
function $(x){if(document.getElementById(x))return document.getElementById(x);return false;};

function move_v_p(flag)
	{

		if(($sj("#pic_left").attr("xsrc")=="src2") && (flag==1)) return false;
		if(($sj("#pic_right").attr("xsrc")=="src2") && (flag==0)) return false;

		var now =parseInt($sj("#pic_run").attr("now_pic_p"));
		if(!$sj("#pic_run").attr("now_runing"))
		$sj("#pic_run").attr("now_runing","1")
		else
			{
				if($sj("#pic_run").attr("now_runing") == "2")
				return;
				}
		$sj("#pic_run").attr("now_runing","2");

		if(flag==1){
			$sj("#pic_run").attr("now_pic_p",now+1);
			var left_x = parseInt($sj("#pic_run").css("left"))-640;
			$sj("#pic_run").animate({left:left_x},800,"",function()
				{
					$sj("#pic_run").attr("now_runing","1");
				}
			);
		}

		if(flag==0){

			now=now-1;
			$sj("#pic_run").attr("now_pic_p",now);

			var left_x = parseInt($sj("#pic_run").css("left"))+640;
			$sj("#pic_run").animate({left:left_x},800,"",function()
				{
					$sj("#pic_run").attr("now_runing","1");
				}
			);
		}

		if($sj("#pic_run").attr("now_pic_p")==($sj(".pic_ci").length-1))		$sj("#pic_left").attr("src",$sj("#pic_left").attr("src2")).attr("xsrc","src2");
		else $sj("#pic_left").attr("src",$sj("#pic_left").attr("src1")).attr("xsrc","src1");
		if($sj("#pic_run").attr("now_pic_p")==0)		$sj("#pic_right").attr("src",$sj("#pic_right").attr("src2")).attr("xsrc","src2");
		else $sj("#pic_right").attr("src",$sj("#pic_right").attr("src1")).attr("xsrc","src1");

		var xDATAFLD=$sj(".pic_ci").eq(parseInt($sj("#pic_run").attr("now_pic_p"))).attr("DATAFLD");
		playing_status(xDATAFLD,2);



		return;
	}

function load_pic()
{
		$sj(".pic_src").each(function()
		{
			if( $sj(this).attr("tagName")!="IMG" )
			{
				if($sj(this).css("backgroundImage")=="none")
				$sj(this).css("backgroundImage","url('"+$sj(this).attr("pic_src")+"')");
				}
			else
			{
				var vhost = "http://"+location.host;
				if(($sj(this).attr("src")== vhost+"/images/0.gif") || ($sj(this).attr("src")=="") ||  ($sj(this).attr("src")=="../images/0.gif"))
				$sj(this).attr("src",$sj(this).attr("pic_src"));
				}
			}
		);
	}
function testjquery(obj,obj2)
{
	$sj = jQuery.noConflict();
	if(obj2) obj="."+obj2;

	if(($sj(obj).next().css("display")) != "block")
	{
		$sj(obj).next().css("display","block");
		$sj(obj).css("background-position","0px 9px");
	}
	else
		{
			$sj(obj).next().css("display","none");
			$sj(obj).css("background-position","0px -9px");
			}
	}
function AddInquire(formName){
  obj = GetFormObj(formName);
  obj.submit();
}
function GetFormObj(formname){
	for (i=0;i<document.forms.length;i++){
		if (document.forms[i].name == formname) return document.forms[i];
	}
}
function selectAll(formName,checkName){
  obj_select_all = document.getElementById("select_all");
  obj_clear_all = document.getElementById("clear_all");
  obj_select_all.style.display = "none";
  obj_clear_all.style.display = "block";
  if(document.getElementById("select_all2"))
  {
  obj_select_all2 = document.getElementById("select_all2");
  obj_clear_all2 = document.getElementById("clear_all2");
  obj_select_all2.style.display = "none";
  obj_clear_all2.style.display = "block";
  }
  obj = GetFormObj(formName);
  var len = obj.elements.length;
  for (var i = 0; i < len; i++) {
	var e = obj.elements[i];
	if (e.name == checkName  && !(e.disabled)) {
		e.checked = true;
	}
   }
}
function cleanAll(formName,checkName){
  obj_select_all = document.getElementById("select_all");
  obj_clear_all = document.getElementById("clear_all");
  obj_select_all.style.display = "block";
  obj_clear_all.style.display = "none";
  if(document.getElementById("select_all2"))
  {
  obj_select_all2 = document.getElementById("select_all2");
  obj_clear_all2 = document.getElementById("clear_all2");
  obj_select_all2.style.display = "block";
  obj_clear_all2.style.display = "none";
  }
  obj = GetFormObj(formName);
  var len = obj.elements.length;
  for (var i = 0; i < len; i++) {
	var e = obj.elements[i];
	if (e.name == checkName) {
		e.checked = false;
	}
  }
}

function akamai_img()
{
	return;
	for(var i=0; i < document.images.length; i++)
	{
		document.images[i].onerror=function()
		{
			this.onerror=function(){};
			//inner resources
			if(this.src.search("MPAKAMAI"))
			this.src=this.src.replace("http://csi.machinetools.net.tw/img/MPAKAMAI","");
			//outer resources
			if(this.src.search("csi.machinetools.net.tw/img/index.html"))
			{
				this.src=this.src.replace("http://csi.machinetools.net.tw/img/","http://");
			}
		};
	}
}
function search_e(e_search,v_search_type,parent_e_search,x_init)
{
	var control_e =  document.getElementById(e_search);
	document.getElementById("search_type").value = v_search_type;
	var p_control_e = document.getElementById('x_search_bar');
	var all_id = new Array();
	var k=0;
	for (var ii = 0; ii < p_control_e.childNodes.length; ii++)
	{
    if((p_control_e.childNodes.item(ii).tagName == "TD") & (p_control_e.childNodes.item(ii).id == e_search) )
    {
			for (var i = 0; i < control_e.childNodes.length; i++)
				{
					if(control_e.childNodes.item(i).tagName == "DIV" )
					{
						control_e.childNodes.item(i).style.backgroundImage="";
						for(var j = 0; j < control_e.childNodes.item(i).childNodes.length; j++)
						{
								if( control_e.childNodes.item(i).childNodes.item(j).tagName == "A")
								control_e.childNodes.item(i).childNodes.item(j).style.display = "none";
						}
					}
				}

			}
			else
			{
				var temp = document.getElementById(p_control_e.childNodes.item(ii).id)

				if(temp)
				{
					for (var i = 0; i < temp.childNodes.length; i++)
					{

						if(temp.childNodes.item(i).tagName == "DIV" )
						{
							temp.childNodes.item(i).style.backgroundImage="none";
							for(var j = 0; j < temp.childNodes.item(i).childNodes.length; j++)
							{
									if( temp.childNodes.item(i).childNodes.item(j).tagName == "A")
									temp.childNodes.item(i).childNodes.item(j).style.display = "block";
							}
						}
					}
				}
			}

	}
if(document.getElementById('sword').value && x_init!='0')
{
this.form1_search.submit();
return;
}
document.getElementById('sword').focus(2);
return;
}

var useclick = 0;
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=MM_swapImgRestore.arguments;
	obj = eval(a[0]);
  obj.src = obj.oSrc;
}
function MM_swapImgRestore_2() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments;
  document.MM_sr=new Array;
  var obj = eval(a[0]);
  if (!obj.oSrc) obj.oSrc=obj.src; obj.src=a[2];
}
function MM_swapImage2() { //v3.0
  var i,j=0,x,a=MM_swapImage2.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function formButtonFever(formName,action){
	var myString = "document."+formName+"."+action+"();";
	eval(myString);
}
// vip_video menu
function record_vid(vid){
	//$sj.cookie('vipvid', vid,{path: '/'});
	closempebv();
	if(!vid) vid="null";
	document.cookie = "vipvid="+vid+";"+"path=/;";
	}

function vip_menu_init()
{
		$sj(window).unload( function () {
			if(!useclick) document.cookie ="nowbar="+""+";"+"path=/;domain=machinetools.net.tw";
			} );
		$sj(".menu_bar").click(function()
			{
				//if(($sj(this).attr("id")) !="m_Latest_Catalogs")
				//{
					useclick = 1;
					var nowbar = $sj(this).attr("id");
					document.cookie ="nowbar="+nowbar+";"+"path=/;domain=machinetools.net.tw";
					$sj(".menu_bar").css("background-position","0 0px");
					$sj(this).css("background-position","0 -30px");
				//}
			}
		);
		$sj(".menu_bar").each(function(){
			if($sj(this).attr("id") == getcookie("nowbar"))
				{
					$sj(this).css("background-position","0 -30px");
				}
			});


		$sj(".menu_bar").hover(
			function(){
				$sj(this).css("background-position","0 -30px");
				},
			function(){
				if(getcookie("nowbar") != $sj(this).attr("id"))
				$sj(this).css("background-position","0 0px");
				}
	);

	$sj(".menu_vip_v").hover(
	function(){$sj(this).css("background-position","0 -30px");},
	function(){$sj(this).css("background-position","0 0px");}
	);
	$sj(".vmenu_1").hover(
	function(){$sj(this).addClass("vmenu_1_hover");},
	function(){
		if($sj(this).attr("flag") != "1")
		$sj(this).removeClass("vmenu_1_hover");
		}
	);

	$sj(".vmenu_2").find("a").hover(
	function(){$sj(this).css("background-color","#CCCCCC");},
	function(){
		$sj(this).css("background-color","#FFFFFF");
		}
	);

$sj(".menu_vip_v").toggle(function()
	{
		$sj(".multi_menu").slideToggle(500);
		$sj("#snj2").hide(1);
	},function(){
		$sj("#snj2").show(1);
		$sj(".vmenu_2").slideUp(500);
		$sj(".multi_menu").slideToggle(500);
		$sj(".vmenu_1").removeClass("vmenu_1_hover");
		}
	);

$sj(".menu_vip_v_select").toggle(function()
	{
		$sj(".multi_menu_select").slideToggle(500);
		$sj("#snj2").hide(1);
	},function(){
		$sj("#snj2").show(1);
		$sj(".vmenu_2").slideUp(500);
		$sj(".multi_menu_select").slideToggle(500);
		$sj(".vmenu_1").removeClass("vmenu_1_hover");
		}
	);

	$sj(".vmenu_1").click(function()
	{
		$sj(".vmenu_1").not($sj(this)).removeClass("vmenu_1_hover");
		$sj(this).addClass("vmenu_1_hover");
		$sj(".vmenu_1").attr("flag","0");
		$sj(this).attr("flag","1");

		$sj(".vmenu_2").not($sj(this).next(".vmenu_2")).slideUp(500);
		$sj(this).next(".vmenu_2").slideToggle(500);
		}
	);
}
function getcookie(cookiename)
{
	var part_cookie = document.cookie.split(";");

		for(var i=0;i<part_cookie.length;i++)
		{
			var cookie_str = part_cookie[i];

			if(cookie_str.search(cookiename) != -1)
			{
				var cookie_x = cookie_str.split("=");
				var cookie_v =  cookie_x[1];
				break;
				}
			}
		return(cookie_v);
	}
function bookmarksite(url,title){
        if (document.all)
                window.external.AddFavorite(url, title);
        else if (window.sidebar)
                window.sidebar.addPanel(title, url, "")
}

function showme(obj)
{
	if($sj(obj).closest("div[DATAFLD]").find("img[class=picture_b2]").css("z-index")==3)
	$sj(obj).closest("div[DATAFLD]").find("img[class=picture_b2]").css("z-index",5);
	else
	$sj(obj).closest("div[DATAFLD]").find("img[class=picture_b2]").css("z-index",3);
	}

function useround(min,max) {
return Math.floor(Math.random()*(max-min+1)+min);
}

$sj(document).ready(function(){
	if($sj("input[type=checkbox]").length>0)
	$sj("input[type=checkbox]").focus(function(){$sj(this).blur();});


	 if($sj(".background_gray"))
	{
		var kmg = useround(1,3);
		if(kmg == "2" )
		$sj(".background_gray img").attr("src",$sj(".background_gray img").attr("src1"));
		if(kmg == "3" )
		$sj(".background_gray img").attr("src",$sj(".background_gray img").attr("src2"));
	}

	$sj(".background_gray").show(10);

	});

function video_area(vid)
{

	var posturl = "../ajax_video.html";
	var keyword_id = $sj("#video_area").attr("keyword_id");
	var postdata = "videoid="+vid+"&keyword_id="+keyword_id;
	$sj.post(posturl,postdata,function(data){

		$sj(".v_catalog").attr("href",data.catalog);
		$sj(".v_video").attr("href",data.video);
		$sj(".v_web").attr("href",data.web);

		$sj(".v_news").attr("href",data.news);
		$sj(".v_inquiry").attr("href",data.inquiry);
		$sj(".v_chat").attr("href",data.chat);

		$sj(".v_com").html(data.comname);
		$sj(".v_p").html(data.p_name+" &gt;&gt;&gt; "+data.p_ver);
		$sj("#draw img").attr("src",data.p_pic);

		$sj("#video_area a[href=#]").css("display","none").parent().find("span").css("display","block");
		$sj("#video_area a[href!=#]").css("display","block").parent().find("span").css("display","none");

		},"json");

	$sj("#video_area").slideDown(1000);

	if($sj("#target_search_result")	)
	$sj("#target_search_result").css("margin-top","2px");

	}
