<!--/ nav-m /-->

function sm(src)
{
        obj = document.getElementById(src);
		obj.style.display="block";
}
function hm(src)
{
       obj = document.getElementById(src);
		obj.style.display="none";        
}

<!--/ End / -->
<!--/ feedback /-->

function VerifyInput()
{
if (document.feedback.data_Title.value == "")
	{
	alert("留言主题是必须输入的");
	document.feedback.data_Title.focus();
	return false;
	}
if (document.feedback.data_Author.value == "")
	{
	alert("请输入您的姓名");
	document.feedback.data_Author.focus();
	return false;
	}
if (document.feedback.data_Tel.value == "")
	{
	alert("请输入您的电话");
	document.feedback.data_Tel.focus();
	return false;
	}
if (document.feedback.data_Email.value == "")
	{
	alert("请输入您的邮箱地址");
	document.feedback.data_Email.focus();
	return false;
	}

if (document.feedback.data_Content.value == "")
	{
	alert("请输入您的留言内容");
	document.feedback.data_Content.focus();
	return false;
	}
}

<!--/ End /-->
<!--/ job_fr /-->
function VerifyInput() {

  var error = 0;
  var error_message = "提示:\n----------------------\n\n";
  var jobinfo_value = null;
  var strnum = 0;
  var name = document.jobinfo.data_Title.value;
  var Pos = document.jobinfo.data_Pos.value;
  var resume = document.jobinfo.data_Resume.value;
  var tel = document.jobinfo.data_Tel.value;
  var email = document.jobinfo.data_Email.value;
  var Education = document.jobinfo.data_Education.value;
  var Birthplace = document.jobinfo.data_Birthplace.value;

  if (name == "" || resume == "" || tel == "" || email == "" || Pos=="" || Education=="") {
    error_message += "请填写所有带*号项目\n";
    error = 1;
  }
  
  if (error == 1) {
    alert(error_message);
    return false;
  } else {
	  
	document.getElementById("submit_bt").disabled=true; //变灰 
	document.getElementById("submit_bt").value="正在发送，请稍候...";
	document.forms[0].submit();
	return true;

  }
}

function selectDate(sField){
	/*
	日期选择
	*/
	var sValue=document.jobinfo(sField).value;//日期
	 
	var sReturn=window.showModalDialog("calendar.html", "yyyy年mm月dd日", "dialogWidth:286px;dialogHeight:221px;status:no;help:no;");
	if(sReturn!=""){
	 document.all(sField).value=sReturn;
	}
}

<!--/ End /-->
<!--/ tag /-->

 function switchmodTag(modtag,modcontent,modk) {
    for(i=1; i <6; i++) {
      if (i==modk) {
        obj = document.getElementById(modtag+i);
		obj.className="tagOn";
		obj = document.getElementById(modcontent+i);
		obj.style.display="block";
		}
      else {
        obj = document.getElementById(modtag+i);
		obj.className="tagNo";
		obj = document.getElementById(modcontent+i);
		obj.style.display="none";
		}
    }
  }

<!--/ End /-->
//缩图
function DrawImage(ImgD,FitWidth,FitHeight){     
	var image=new Image();     
	image.src=ImgD.src;     
	if(image.width>0 && image.height>0){         
		if(image.width/image.height>= FitWidth/FitHeight){             
			if(image.width>FitWidth){                 
				ImgD.width=FitWidth;                 
				ImgD.height=(image.height*FitWidth)/image.width;             
				}else{                 
					ImgD.width=image.width;                 
					ImgD.height=image.height;             
				}         
			} else{             
				if(image.height>FitHeight){                 
					ImgD.height=FitHeight;                 
					ImgD.width=(image.width*FitHeight)/image.height;             
				}else{                 
					ImgD.width=image.width;                 
					ImgD.height=image.height;             
				}         
			}     
		} 
	}

<!--/ flash /-->
function flash(ur,w,h){ 
document.write('<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="'+w+'" height="'+h+'">'); 
document.write('<param name="movie" value="'+ur+'">'); 
document.write('<param name="quality" value="high"> '); 
document.write('<param name="wmode" value="transparent"> '); 
document.write('<param name="menu" value="false"> '); 
document.write('<embed src="'+ur+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="'+w+'" height="'+h+'" quality="High" wmode="transparent">'); 
document.write('</embed>'); 
document.write('</object>'); 
} 

