function favunset(id) {
alert('You must be logged to add this picture in your favourites.');
function removed(z) {
if(z > 0) {
$('idfav'+z).innerHTML = 'Removed from Favourites ';
return true;
}
}
}
function favset(id,fl,c) {
alert('You must be logged to add this picture in your favourites.');
function faved(z) {
//alert(z);
if(z > 0) {
$('idfav'+z).innerHTML = 'Added in your Favourites ';
return true;
}
}
}
function report(id) {
ax.get('_ax.htm?report_id='+id,reported);
function reported(z) {
if(z > 0) {
$('report').innerHTML = 'Thanks. The picture was reported to moderators. ';
return true;
}
}
}
function strtrim() {
return this.replace(/^\s+/,'').replace(/\s+$/,'');
}
String.prototype.trim = strtrim;
function chckf ( form ) {
var c1=0;
var n_e = '';
var p_e = '';
for (i=0; i0) {
// alert( "Please fill on red fields." );
form.elements[p_e].focus();
return false;
}
form.elements['submit2'].disabled = true;
return true ;
}