
function alertSize() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }

var height = myHeight;
var heightadjust = (height-614)/2;


//if (heightadjust <= 0) document.write('<style type="text/css" media="screen">#heightadjust{height:0;overflow:hidden;}<\/style>'); else document.write('<style type="text/css" media="screen">#heightadjust{height:' + heightadjust + 'px;overflow:hidden;}<\/style>');




}
alertSize();



<!--//--><![CDATA[//><!--

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//--><!]]>


function openbrwindow(theURL,winName,features) {window.open(theURL,winName,features);}

var username = new Array();
  username[0]="info";
  username[1]="info";

  
var sitename = new Array();
  sitename[0]="1hg.dk";
  sitename[1]="1hg.dk";

var usernamefull = new Array();
  usernamefull[0]="webmaster";
  usernamefull[1]="info@1hg.dk";

  
var title = new Array();
  title[0]="Send mail to webmaster";
  title[1]="Send mail";

  
var subject = new Array();
  subject[0]="To_wm_1hg.dk";
  subject[1]="";

 
  
  
  

i=0;
do username[i]='<a href=\"mailto:' + username[i] + '@' + sitename[i] + '?Subject=' + subject[i] + '\" title=\"' + title[i] + '\">' + usernamefull[i] + '</a>';
while(username[++i])