<!--

function showhideobject(num) {
  var div_num = 'div'+num;
  if (document.getElementById(div_num)) {
    if (document.getElementById(div_num).className == 'invisible_block') {
      document.getElementById(div_num).className = 'visible_block';
    }
    else document.getElementById(div_num).className = 'invisible_block';
  }
}


function hideobject(num) {
  var div_num = 'div'+num;
  if (document.getElementById(div_num)) document.getElementById(div_num).className = 'invisible_block';
}

function showobject(num) {
  var div_num = 'div'+num;
  if (document.getElementById(div_num))document.getElementById(div_num).className = 'visible_block';
}

function mail_address(user,domain,zone) {
document.write(user+'@'+domain+'.'+zone);
}

function mail_send(user,domain,zone) {
document.location.href = 'mailto:'+user+'@'+domain+'.'+zone;
}


function window_open(url,sizex,sizey,target,scrollb) {
var target,scrollb;
if (!scrollb) scrollb=0;

window.open (url, target, 'Toolbar=0, Titlebar=0, Location=0, Directories=0, Status=0, Menubar=0, Scrollbars='+scrollb+', Resizable=0, Copyhistory=1, width='+sizex+',height='+sizey);
}


function openWindow(url){
window.open (url, 'newwin', 'Toolbar=1, Titlebar=1, Location=0, Directories=0, Status=1, Menubar=1, Scrollbars=1, Resizable=1, Copyhistory=1, width=800,height=600');
}

function winopen()
{
var name1,name2;
//var 
//var thisarea = document.getElementById('content');
var hrefss = document.links;
var len = hrefss.length;
//var testdiv = document.getElementById('content');

for (var i = 0; i < len; i++)
{
var hr = hrefss[i];

if (hr.name=='newwin') {
var thishr = hr; 
thishr.onclick = function popups() {



var strr = new String;
strr = this.href;

var widthwin = new String;
widthwin = strr.replace(/.+(width=)/," ");
widthwin = widthwin.replace(/(&height=)+\d{0,}/," ");
//alert(widthwin);
//widthwin =100+widthwin;

var heightwin = new String;
heightwin = strr.replace(/.+(height=)/," ");
//testdiv.innerHTML += widthwin+'<br>';

var widthwin1 = 300;
widthwin1 = widthwin/1;
//alert(widthwin1);
var heightwin1 = 100;
heightwin1 = heightwin/1;
window_open(this.href, widthwin1, heightwin1,'10');
}
}

}
}

// -->


