
function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit) // if too long...trim it!
field.value = field.value.substring(0, maxlimit);
// otherwise, update 'characters left' counter
else 
countfield.value = maxlimit - field.value.length;
}


// Ad Listing change color ----------------------------------------------------
function listI(src, evnt, ln_var) {
	// NAV Links
	
	if (evnt == '1') {
		src.style.backgroundColor='#FFFFCC'; 
		src.style.cursor='hand';
	} else if (evnt == '0') {
		src.style.backgroundColor='#FFFFFF';
	} else if (evnt == '2') {
		location.href = ln_var;
	}
		
}

// Pre Load Image
image1 = new Image();
image1.src = "right.jpg";



