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+'"');
newWindow.document.write('<html><title>'+URL+'<\/title><head><\/head><body style="margin: 0 auto;"><img src="'+URL+'" alt="'+URL+'"><\/body><\/html>');
newWindow.document.close();
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;}
}



function go(picURL,picTitle){
newWindow=window.open(picURL,'newwin','toolbar=0,Width=320,Height=240,resible=0','');
newWindow.document.write('<html><head><title>'+picTitle+'<\/title><\/head><body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"><img src="'+picURL+'" width="320" height="240"><\/body><\/html>');
newWindow.focus();
newWindow.document.close();
}

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+' - Оптики Соларис - Пловдив'+'<\/title><head><\/head><body style="margin: 0 auto;"><img src="'+URL+'" alt="'+TITLE+'"><\/body><\/html>');
newWindow.document.close();
if(newWindow){newWindow.focus();}
}