<!--
function openw(wt,ht){ow=open('', 'childwindow', 'width=5,height=5,directories=0,resizable=1,status=0,toolbar=0,menubar=0,scrollbars=0,location=0');ow.self.moveTo(screen.availWidth/2-wt/2,screen.availHeight/2-ht/2);ow.self.resizeTo(wt,ht);ow.self.focus()};
function openscr(wt,ht){s=open('', 'childwindow', 'width=5,height=5,directories=0,resizable=1,status=0,toolbar=0,menubar=0,scrollbars=1,location=0');s.self.moveTo(screen.availWidth/2-wt/2,screen.availHeight/2-ht/2);s.self.resizeTo(wt,ht);s.self.focus()};
function openup(wt,ht){u=open('', 'newwindow', 'width=5,height=5,directories=0,resizable=1,status=1,toolbar=0,menubar=0,scrollbars=0,location=0');u.self.moveTo(screen.availWidth/2-wt/2,screen.availHeight/2-ht/2);u.self.resizeTo(wt,ht);u.self.focus()};
function openurl(url){ur=open(url, 'childwindow', 'width=5,height=5,directories=0,resizable=1,status=0,toolbar=0,menubar=0,scrollbars=1,location=0')};/*scrollbars=0*/
function opento(wt,ht){op=open('', 'openwindow', 'width=5,height=5,directories=0,resizable=1,status=1,toolbar=0,menubar=0,scrollbars=1,location=0');op.self.moveTo(screen.availWidth/2-wt/2,screen.availHeight/2-ht/2);op.self.resizeTo(wt,ht);op.self.focus()};
function Check(val){if (val.frz.value.length < 3){alert('Вы ввели менее трех символов');val.frz.focus();return false;}return true;}
getcheck = (document.getElementById)? true : false; nesc = (document.layers)? true : false; layercheck = (document.all)? true : false; iexp = (!getcheck && layercheck)? true : false;
function show(panel){if(getcheck) document.getElementById(panel).style.visibility='visible'; else if(iexp) document.all[panel].style.visibility='visible'; else if(nesc) document.layers[panel].visibility='show';}
function hide(panel){if(getcheck) document.getElementById(panel).style.visibility='hidden'; else if(iexp) document.all[panel].style.visibility='hidden'; else if(nesc) document.layers[panel].visibility='hide';}
function actsel() {var inxd = document.searchform.drt.value;if(inxd==0)document.searchform.action='/search.php';if(inxd==1)document.searchform.action='/news/';}
//-->
