function WOpen(url,name,params_str,width,height,scrollbars,status,resize) {
	if (!params_str) {
		params_str='';
	}
	params_str+=width?(params_str?',':'')+'width='+width:'';
	params_str+=height?(params_str?',':'')+'height='+height:'';
	params_str+=scrollbars!==(void 0)?(params_str?',':'')+'scrollbars='+scrollbars:'';
	params_str+=status!==(void 0)?(params_str?',':'')+'status='+status:'';
	params_str+=resize!==(void 0)?(params_str?',':'')+'resizable='+resize:'';
	new_w=window.open(url,name,params_str);
   if (new_w) 	new_w.focus();

}

function big(URL,TITLE,WIN_NAME,width,height,toolbar,scrollbars,location,statusbar,menubar,resizable){
//URL,widht=800,height=600,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1
newWindow=window.open(URL,WIN_NAME,"width="+width+",height="+height+",toolbar="+toolbar+",scrollbars="+scrollbars+",location="+location+",statusbar="+statusbar+",menubar="+menubar+",resizable="+resizable+'"');
newWindow.document.write('<html><title>'+TITLE+' - Хотел SPA комплекс Маркита Велинград :: Hotel SPA Complex Markita Velingrad'+'<\/title><head><\/head><body style="margin: 0 auto;"><img src="'+URL+'" alt="'+TITLE+'"><\/body><\/html>');
newWindow.document.close();
if(newWindow){newWindow.focus();}
}

function page(URL,width,height,toolbar,scrollbars,location,statusbar,menubar,resizable){
//URL,widht=800,height=600,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1
newWindow=window.open(URL,'newwin',"width="+width+",height="+height+",toolbar="+toolbar+",scrollbars="+scrollbars+",location="+location+",statusbar="+statusbar+",menubar="+menubar+",resizable="+resizable+'"');
if(newWindow){newWindow.focus();}
}

function clin(who)
{
ID=document.getElementById(who);
if(ID.value==ID.title){ID.value='';}
}


function check_uncheck(elem_name,chorunch)
{
ID=document.getElementById(elem_name);
if(chorunch=='ch'){ID.checked=true;}
if(chorunch=='unch'){ID.checked=false;}
}