var myV = 1;
function vx0(v) {
myV = v;
ecw_ax('video_ax.asp?w=0&v=' + v,'pan1');
}
function vx1(f) {
var n = f.n1.value;
var t = f.t1.value;
if (n=='') {
alert('Please enter a name');
f.n1.focus();
}
else if (n.length>30) {
alert('The name is too long (max. 30 characters)');
f.n1.focus();
}
else if (t=='') {
alert('Please enter a comment');
f.t1.focus();
}
else if (t.length>250) {
alert('The comment is too long (max. 250 characters)');
f.t1.focus();
}
else {
if (window.confirm('Hit OK to add your comment now\nor hit CANCEL to cancel this operation'))
ecw_ax('video_ax.asp?w=add&v=' + myV + '&n='+escape(n)+'&t='+escape(t),'pan1');
}
return false;
}
function xv(o,i) {
o.className = "vid" + i;
}

