function popupKommenter() {
  popupKommenterReal(18467);
  }

function popupComment() {
  popupKommenterReal(18470);
  }

function popupKommenterReal(pageId) 
{
	var my_url = 'http://www.fvm.dk/Default.aspx?ID='+pageId+'&srcUrl='+urlencode(window.location.href);
	var win = "";
	win = win + "height=425";
	win = win + ",width=430";
	win = win + ",resizable=no";
	win = win + ",scrollbars=yes";
	win = win + ",menubar=no";
	win = win + ",toolbar=no";
	win = win + ",directories=no";
	win = win + ",location=no";
	win = win + ",status=no";
	win = win + ",top=" + ((screen.height - 425) / 2);
	win = win + ",left=" + ((screen.width - 430) / 2);
	win_win = window.open(my_url,'Formularlink',win);
	win_win.focus();
	win_win.opener = self;
}

function urlencode(str) {
str = escape(str);
str = str.replace('+', '%2B');
str = str.replace('%20', '+');
str = str.replace('*', '%2A');
str = str.replace('/', '%2F');
str = str.replace('@', '%40');
return str;
}

function urldecode(str) {
str = str.replace('+', ' ');
str = unescape(str);
return str;
}