function confirm_dez(name){
	return confirm('Вы действительно хотите Удалить?');
}
function confirm_mes(name){
	return confirm(name);
}



function PlaceOverBlur(){
	if(document.getElementById('sword').value=='' || 
	document.getElementById('sword').value==document.getElementById('sword').getAttribute('defvalue')){
		document.getElementById('sword').value=document.getElementById('sword').getAttribute('defvalue');
		document.getElementById('sword').style.color='#999999';
	}
}
function PlaceOverFocus(){
	if(document.getElementById('sword').value=='' || 
	document.getElementById('sword').value==document.getElementById('sword').getAttribute('defvalue')){
		document.getElementById('sword').value='';
		document.getElementById('sword').style.color='#000000';
	}
}
function lsFocus(){
	if(document.getElementById('sword').value==document.getElementById('sword').getAttribute('defvalue')){
		document.getElementById('sword').value='';
	}
}


function openwindow(url,ref,windowprop)
{
	ElementWindow = window.open(url,"Showing","height=900,width=600,top=10,left=15,scrollbars=none,resizable=yes")
}

function minimize(idd)
{
	if(document.getElementById(idd).style.display=="inline")
		document.getElementById(idd).style.display="none";
	else
		document.getElementById(idd).style.display="inline";
}