
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 scroll = height-240;
var heightadjust = (height-638)/2;


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


//document.write('<style type="text/css" media="screen" >.scroll{height:' + scroll + 'px;overflow:auto;}<\/style>');


}
alertSize();

//function reload(){window.location.href = window.location.href} window.onresize = reload;

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

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

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

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

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

  
var subject = new Array();
  subject[0]="To_wm_xx.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])