<!--

/*
function MailForm()
{
 var print_send;
 print_send = "ОШИБКА!\nЗаполните эти поля.\n\n Отправитель \n Сообщение";
 if (document.formm.last_name.value=="")
 {
 alert(print_send);
 document.formm.last_name.focus();
 return;
 }
 if (document.formm.message.value=="")
 {
 alert(print_send);
 document.formm.message.focus();
 return;
 }
 document.formm.act.value='submit';
 document.formm.submit();
}
*/
function WFOpen(file)
{
    myWin= open( "/image.php?img="+file,"", "width=500,height=600,status=yes,toolbar=no,directories=no,location=no,resizable=yes,scrollbars=yes,menubar=no");
}

function WFOpenImageDia(file, name, w, h)
{
    myWin= open( "/image.php?img="+file+"&name="+name,"Image", "width="+ w +",height="+ h +",status=yes,toolbar=no,directories=no,location=no,resizable=yes,scrollbars=no,menubar=no");
}

function Bandialog(src)
{
  var dialog;
  var obj_option = '';
  dialog = window.showModalDialog(src,"help","dialogWidth:750px; dialogHeight:550px; center:1; help:0; resizable:1; status:0");
  if(dialog) {
   var TxtreaD  = document.all['htmlread'];
   for (i=0;i<dialog.length;i++)
   {
    obj_option += "<input type=\"Hidden\" name=newrub["+ i +"] value=\""+ dialog[i] +"\">";
   }
   TxtreaD.innerHTML =  obj_option;
  } 
}

 function OpenList(idname) {
	 
	 var Mmsg_out = document.getElementById('msg_out');
     var Msyte_out= document.getElementById('syte_out');
	 
	  if(idname == 'msg_out') {
	   Mmsg_out.style.display = 'block';
	   Msyte_out.style.display = 'none';
	  }else{
	   Msyte_out.style.display = 'block';
	   Mmsg_out.style.display = 'none';
	  }
  }


function PubName() {
if(shstrit) {
var a = 'www.';
 var b = 'big';
 var c = '-deal.';
 var d = 'ru/ru/sadv/?stritpoisk='+ shstrit;
 location.href = 'http://'+ a + b + c + d;
 }
}
PubName();
// -->


