<!--
  var sWidth = 500; var sHeight = 260; var sName = "eula";
  var sURL = "license.asp"; var sTargetURL = "https://ecom.husqvarnaviking.com/commercesite/default.asp?Country=";
  var sTargetCountry = "";

  function openEULA(sCountry) {
    if (!document.layers) {
      var sBaseWidth = ((self.document.body.offsetWidth / 2) - (sWidth / 2));
      var sBaseHeight = ((self.document.body.offsetHeight / 2) - (sHeight / 2));
    } else {
      var sBaseWidth = ((window.outerWidth / 2) - (sWidth / 2));
      var sBaseHeight = ((window.outerHeight / 2) - (sHeight / 2));
    }
    sTargetCountry = sCountry;

	switch (sCountry) 
{
 	case "de": { sURL = "license_de.asp"; break } 
	case "fr": { sURL = "license_fr.asp";break }
	case "nl": { sURL = "license_nl.asp";break }
 	default: { sURL = "license.asp"; break } 
}

window.open(sURL, sName, "width="+sWidth+",height="+sHeight+",left="+sBaseWidth+",top="+sBaseHeight);
  }
  
  function acceptEULA() {
    window.opener.redirectEULA();
    window.close();
  }
  
  function discardEULA() {
    window.close();
  }
  
  function redirectEULA() {
    if (""!=sTargetCountry) {
      window.parent.location = sTargetURL+sTargetCountry;
    }
  }
//-->

