
function OpenImage(IMG){
	
	var image = "<img src='" + IMG + "'>";
	document.getElementById('image_here').innerHTML = image;	
	document.getElementById('img_div').style.display = "block";
}

function for_mozilla(id1, id2) {
	
	document.getElementById(id1).value = id2;
}
/*
function IsEmailAddress(mail){
	
	var addressPattern = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
	return addressPattern.test(mail);
}*/

function jump_to_pass(){
	
	document.getElementById('hidden_pass').value = document.getElementById('password_tmp').value;
}

function OnPasswordFocus(){
	
	document.getElementById('pass_td').innerHTML = "<input type='password' name='password_tmp' id='password_tmp' style='width:110px;'>";
	document.getElementById('password_tmp').focus();
}
