Các bài viết vào Saturday 5th June 2010
<script type=text/javascript>
var bshow = false;
function ShowFormComment() {
if(bshow){
gmobj('dComment').style.display="block";
gmobj('pShow').style.display="none";
bshow=false;
}
else{
gmobj('dComment').style.display="none";
gmobj('pShow').style.display="block";
bshow=true;
}
}
ShowFormComment();
function submitForm(theform){
document.frmComment.txtAddedBy.value = Trim(document.frmComment.txtAddedBy.value);
if (document.frmComment.txtAddedBy.value == '' || document.frmComment.txtAddedBy.value == 'Họ tên')
{
alert('Xin hay nhap Ho ten!');
document.frmComment.txtAddedBy.focus();
return;
}
if ((SEmail = CheckEmailAddress(document.frmComment.txtAddedByEmail.value))=='')
{
alert('Dia chi Email khong hop le!');
document.frmComment.txtAddedByEmail.focus();
return;
}
document.frmComment.txtAddedByEmail.value = SEmail;
document.frmComment.txtAddedTitle.value = Trim(document.frmComment.txtAddedTitle.value);
if (document.frmComment.txtAddedTitle.value == '' || document.frmComment.txtAddedTitle.value == 'Tiêu đề')
{
alert('Xin hay nhap Tieu de!');
document.frmComment.txtAddedTitle.focus();
return;
}
document.frmComment.txtValidCode.value = Trim(document.frmComment.txtValidCode.value);
if (document.frmComment.txtValidCode.value == '' || document.frmComment.txtValidCode.value == 'Mã xác nhận')
{
alert('Xin hay nhap Ma xac nhan!');
document.frmComment.txtValidCode.focus();
return;
}
document.frmComment.txtAddedContent.value = Trim(document.frmComment.txtAddedContent.value);
if (document.frmComment.txtAddedContent.value == '')
{
alert('Xin hay nhap Noi dung!');
document.frmComment.txtAddedContent.focus();
return;
}
if (!confirm('Gui yeu cau?'))
return;
var status = AjaxRequest.submit(
theform
,{
'onSuccess':function(req){
if(req.responseText=='ValidCode'){
alert('Ma xac nhan khong dung!');
}
else{
alert(req.responseText);
ResetDefault();
}
}
,'onError':function(req){
alert(req.responseText);
}
}
);
return status;
}
function ChangeImage() {
var ranNum = Math.floor(Math.random() * 5);
AjaxRequest.get(
{
'onSuccess':function(req){
gmobj('imgValidCode').src = "/Service/Vote/securelog/image.asp?Code=" + ranNum;
}
,'onError':function(req){
}
}
)
}
function InputDefault() {
document.frmComment.txtAddedBy.value = 'Họ tên';
document.frmComment.txtAddedBy.className = 'adword-textbox';
document.frmComment.txtAddedByEmail.value = 'Email';
document.frmComment.txtAddedByEmail.className = 'adword-textbox';
document.frmComment.txtAddedTitle.value = 'Tiêu đề';
document.frmComment.txtAddedTitle.className = 'adword-textbox';
document.frmComment.txtValidCode.value = 'Mã xác nhận';
document.frmComment.txtValidCode.className = 'adword-textbox';
document.frmComment.txtAddedContent.value = '';
document.frmComment.txtAddedContent.focus();
}
function ResetDefault() {
InputDefault();
ChangeImage();
ShowFormComment();
}
|
Bình luận mới
kingkongvn trong
Hành trang của tui dành cho crewmate chuẩn bị lên
[email protected] trong Giảm cân nhanh trong 1 tuần Guest trong Giảm cân nhanh trong 1 tuần punngokkhung trong Giảm cân nhanh trong 1 tuần LE PHUC trong Các cuộc khởi nghĩa dưới thời Bắc thuộc Dominique trong Ngày 21/12/2012, ngày tận thế - là sự thật! Dominique01656150754 trong Ngày 21/12/2012, ngày tận thế - là sự thật! Guest trong Giảm cân nhanh trong 1 tuần lianna rose mary trong Các cuộc khởi nghĩa dưới thời Bắc thuộc Mainguyen trong tàu Star Cruises. Xem theo danh mục
Xem theo danh mục:
Tìm kiếm: |
![]() |
Mạng xã hội của người Việt Nam.
VnVista I-Shine © 2005 - 2025 VnVista.com |
Thắng hay thua thì chờ ra mắt đã
Nhiều bạn cho rằng Dell Streak sẽ thắng iPhone, iPad, cái này e rằng mọi dự đoán còn quá sớm. Hãy chờ Streak ra mắt rồi dựa vào số lượng bán ra, độ "hot" thì lúc đó hãy so sánh nhé. Tôi thấy các sản phẩm ra sau cạnh tranh với iPhone, iPad đã khó, muốn vượt mặt còn khó hơn...
( Tùng )