var artI = 0;
var artIntel = new Array();
artIntel[0] = "Invalid Selection";
artIntel[1] = "Country under construction. Please select another country.";



function oArea() {

	var selNumber = document.myform.LArea.selectedIndex;
	var oVal = document.myform.LArea.options[selNumber].value;

	if(oVal.indexOf("#") >= 0){ 
	alert(artIntel[artI]) 
	artI++;
	if(artI >= 2){
	artI = 0;
	}
	}
	else if(oVal.indexOf("¤") >= 0){ 
	alert(artIntel[1]) 
	artI++;
	if(artI >= 2) {artI = 0;
	}
	}
	else {
	window.location.href = "/pages/afdelinger.asp?area=" + oVal;
	}
}

function oTown() {

	var selNumber = document.myform.LTown.selectedIndex;
	var oVal = document.myform.LTown.options[selNumber].value;
	
	var selNumber2 = document.myform.LArea.selectedIndex;
	var oVal2 = document.myform.LArea.options[selNumber2].value;

	if(oVal.indexOf("#") >= 0) { 
	  alert(artIntel[artI]) 
	  artI++;
	  if(artI >= 2) {
	    artI = 0;
	  }
	}

	else if(oVal.indexOf("¤") >= 0) { 
	  alert(artIntel[1]) 
	  artI++;
	  if(artI >= 2) {
	    artI = 0;
	  }
	}
	else {
	  window.open("/pages/konsulent/microsite.asp?konsulentGuid=" + oVal, '','toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1');
	}
}