function SetSize() {
  var myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myHeight = document.body.clientHeight;
  }
  myHeight = myHeight-157;
  if (document.getElementById && myHeight>1) {
    var myElem = document.getElementById("push");
    myElem.style.height = myHeight + 'px';
  }
}

function generate_address(suffix, hostname, username) {
	var atsign = "&#64;";
	var addr = username + atsign + hostname + '.' + suffix;
	document.write( 
	"<" + "a" + " " + "href=" + "mail" + "to:" + addr + ">" +
	addr +
	"<\/a>");
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function NM_setLabel(objName){ // v1.0 based on anarchos.xs.mw/
	var obj = MM_findObj(objName);
	if (!obj.base) obj.base = obj.value
	if (obj.value == obj.base) obj.value = "";
	else if (obj.value == "") obj.value = obj.base;
}

