
function playswf(sFile,sWidth,sHeight){
 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="'+ sWidth +'" height="'+ sHeight +'">  ');
 document.write(' <param name="movie" value="'+ sFile +'">  ');
 document.write(' <param name="quality" value="high">  ');
 document.write(' <param name="wmode" value="transparent">  ');
 document.write(' <embed src="'+ sFile +'" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ sWidth +'" height="'+ sHeight +'"></embed>  ');
 document.write('</object> ');
}

function playswf(sFile,sWidth,sHeight,vars){
 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="'+ sWidth +'" height="'+ sHeight +'">  ');
 document.write(' <param name="FlashVars" value="'+vars+'"/> ');
 document.write(' <param name="movie" value="'+ sFile +'">  ');
 document.write(' <param name="quality" value="high">  ');
 document.write(' <param name="wmode" value="transparent">  ');
 document.write(' <embed src="'+ sFile +'" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ sWidth +'" height="'+ sHeight +'"></embed>  ');
 document.write('</object> ');
}

function link(obj)
{
	if(window.confirm(" 您正在离开西安杨森公司网站（http://www.xian-janssen.com.cn）。您即将进入的网站不受到强生集团的隐私政策、法律声明及所有权条款的保护。您与该网站之间互动所造成的一切结果和责任均由您个人承担。点击确定进入该网站。")){
		obj.target="_blank";
		return true;
	}else{
	    //return false;
	      obj.target="_self" ;
           window.location.reload();
    }
}

function search_onclick(obj,str){
    if(obj.value==str){
        obj.value="";
        obj.onfocus();
    }else{
        return ;
    }
 }
 
 function search_submit(){
 var temp=document.forms[0].search.value;
 if((temp.indexOf("*")>-1)||(temp.indexOf("&")>-1)){
    alert("请输入合法的关键字！");
    return false;
 }
 else
 if(temp==""){  
 alert("请输入关键字！");
    return false;
  
 }else{
     document.forms[0].submit();
   return true;
 }
  
 }