function f_open_window_max( aURL, aWinName)
{
	var wOpen;
	var sOptions = 'alwaysRaised = yes , toolbar=yes, directories=yes, location=yes, status=yes, menubar=yes, resizable=yes, scrollbars=yes';
   sOptions = sOptions + ',width=' + (screen.availWidth - 10).toString();
   sOptions = sOptions + ',height=' + (screen.availHeight - 122).toString();
   sOptions = sOptions + ',screenX=0,screenY=0,left=0,top=0';
	try
	{
	   wOpen = window.open( '', aWinName, sOptions );
	   wOpen.location = aURL;
	   wOpen.focus();
	   wOpen.moveTo( 0, 0 );
	   wOpen.resizeTo( screen.availWidth, screen.availHeight );
	}
	catch(e)
	{
		window.location = aURL;
	}
	return wOpen;
}
var ie5=document.all&&document.getElementById;  

function showNetSizeHelp(e,abc)
{
	e = e || window.event;
	if(e.pageX || e.pageY)
	{
	   x = e.pageX;
	   y = e.pageY;
	}
	else
	{
		x= e.clientX + document.body.scrollLeft - document.body.clientLeft,
		y= e.clientY + document.body.scrollTop  - document.body.clientTop
	}

	if (document.all)
	{
		document.all[abc].style.visibility = "visible";
		document.all[abc].style.left = x+15;
		document.all[abc].style.top = y;

	} 
	else if (document.getElementById)
	{
		document.getElementById(abc).style.visibility = "visible";
		document.getElementById(abc).style.left = x+15;
		document.getElementById(abc).style.top = y;
		}


  }
  function hideNetSizeHelp(abc1){
	if (document.all)
	{
		document.all[abc1].style.visibility = "hidden";	
	}
	else if (document.getElementById)
	{				
		document.getElementById(abc1).style.visibility = "hidden";
	}
  }
  function nothing(){
  }
  
  function getCookieVal (offset) {
  var endstr = document.cookie.indexOf (";", offset);
  if (endstr == -1)
    endstr = document.cookie.length;
  return unescape(document.cookie.substring(offset, endstr));
}
function FixCookieDate (date) {
  var base = new Date(0);
  var skew = base.getTime(); // dawn of (Unix) time - should be 0
  if (skew > 0)  // Except on the Mac - ahead of its time
    date.setTime (date.getTime() - skew);
}
function GetCookie (name) {
  var arg = name + "=";
  var alen = arg.length;
  var clen = document.cookie.length;
  var i = 0;
  while (i < clen) {
    var j = i + alen;
    if (document.cookie.substring(i, j) == arg)
      return getCookieVal (j);
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break; 
  }
  return null;
}
function SetCookie (name,value,expires,path,domain,secure) {
  document.cookie = name + "=" + escape (value) +
    ((expires) ? "; expires=" + expires.toGMTString() : "") +
    ((path) ? "; path=" + path : "") +
    ((domain) ? "; domain=" + domain : "") +
    ((secure) ? "; secure" : "");
}
function DeleteCookie (name,path,domain) {
  if (GetCookie(name)) {
    document.cookie = name + "=" +
      ((path) ? "; path=" + path : "") +
      ((domain) ? "; domain=" + domain : "") +
      "; expires=Thu, 01-Jan-70 00:00:01 GMT";
  }
}
//-->
