/*
var zn_info

zn_info = '';

zn_info += ''+escape( navigator.cpuClass )+'&';
zn_info += ''+escape( navigator.platform )+'&';
zn_info += ''+escape( screen.width )+'&';
zn_info += ''+escape( screen.height )+'&';
zn_info += ''+escape( screen.fontSmoothingEnabled )+'&';
zn_info += ''+escape( screen.colorDepth )+'&';
zn_info += ''+escape( navigator.systemLanguage )+'&';
zn_info += ''+escape( navigator.browserLanguage )+'&';
zn_info += ''+navigator.javaEnabled()+'';

document.cookie = 'zn_info='+escape( zn_info );
*/



function generate_address( user, domain, text )
{
  var atsign = "@";
  var addr = user + atsign + domain;

  if( !text ) text = addr

  document.write( "<" + "a" + " " + "href=" + "mail" + "to:" + addr + ">" + text + "<\/a>");
}

function array_browser_swapstyles( a, b )
{
  if( a.className == 'array_browser_invisible' )
  {
    a.className = 'array_browser_visible';
    b.className = 'array_browser_invisible';
  }
  else
  {
    a.className = 'array_browser_invisible';
    b.className = 'array_browser_visible';
  }
}

function img_open( img, width, height )
{
  if( width  > (screen.width-100)  )  width = screen.width-100
  if( height > (screen.height-100) ) height = screen.height-100
	win = window.open( '/zn_image/?imagepath='+img, '', 'width='+width+',height='+height+',scrollbars=yes' );
}

