function checkFormTextEmpty(object, errmsg){  
    if (object.value == ''){  
        alert(errmsg+'不能为空!'); 
        object.focus();  
        return false;  
    }
    return true;  
} 

function checkForm(object){  
    if (object.content.value == '欢迎参加网络访谈!') {  
        object.content.value = '';  
        alert('请填写你的发言!');  
        object.content.focus();  
        return false;  
    }    
    if (checkFormTextEmpty(object.title, "名字") && checkFormTextEmpty(object.content, "发言")) {  
        postMessage(object);    
    } 
    return false;  
}

function postMessage(obj){
    var action_1 = 'http://special.dayoo.com/include/message.dy';
    
    obj.action = action_1;
    obj.submit();
    obj.content.value = '';
    alert('您的发言已经提交, 谢谢参与!');
 
}