function ShowMail(user, domain1, domain2) {
var email = user+'&#64;'+domain1+'&#46;'+domain2;
if (ShowMail.arguments[3]) name = ShowMail.arguments[3];
else name = email;
document.writeln('<a href="mailto:'+email+'">'+name+'</a>');
}

function SetHiddenVar(variable,val) {
var forma = document.forms['filter'];
forma.elements[variable].value = val;
forma.submit();
return false;
}

function var_atach(element)
{
element.href=element.href+'&limit='+filter.limit.options(filter.limit.selectedIndex).value+'&offset='+filter.offset.value;
}


function resizewindow(width,height)
{
window.resizeTo(width,height);
}


function openwindow(src) {
window.open(src,"popupimage", "scrollbars=1, resizable=1, status=1").focus();
 }


function openimg(src) {
window.open("/popup.php?img="+src,"popupimage", "scrollbars=0, resizable=0").focus();
 }
 
 function rusoft() {
  window.open('http://www.rusoft.ru');
}