/*The javascript language function list table
  Author : Chenguangliu
  Author Email:chenguangliu@21cn.com
  HandSet:13691544388
*/

function AddToFavorite(url,name){
	window.external.addFavorite(url,name)
}

function SetHomePage(url){
	this.setHomePage(url);
}

function OpenWindow(theURL,winName,features) {
	window.open(theURL,winName,features);
}

function popupMsg(msg) {
  alert(msg);
}

function statusScroll(msg,msgud,speed) {
msgud=msg+" "; 
if (msgud.length <msg.length) msgud += " - " + msg; 
msgud = msgud.substring(1, msgud.length); 
window.status = msgud.substring(0, msg.length);
window.setTimeout("statusScroll()", speed); 
} 

function open_window(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function check(data,mess){
  if(data.value==""){
    alert(mess+"为必填项目,不能为空!\n请您填写完整.");
    return false;
  }else return true;
}
