//change language
function change_lang(lang) {
	if (lang) destination = "?l="+lang;
	if (destination) location.href = destination;
}

//search
function search(href) {
	var value=document.getElementById("search_s").value;
	if (value.length>0) {
	 	if (href) location.href = href+"&str="+value;
	}
}

//re-load captcha
function newimage_security() {
	var currentTime = new Date();
   
	var i=document.getElementById('image_security');
	i.src='img.security.php?fool='+currentTime.getTime();
}



