function load_area() {
	var pos = document.land_area.land_select.options[document.land_area.land_select.selectedIndex].value.toLowerCase().indexOf('http://');
	if (pos >= 0 )
	{
		if (parent.frames.length > 0) {
			parent.location.href = document.land_area.land_select.options[document.land_area.land_select.selectedIndex].value;
		}	
		else
		{
			window.location.href = document.land_area.land_select.options[document.land_area.land_select.selectedIndex].value;
		}	
	}
	else
	{	
		if (parent.frames.length > 0) {
			parent.location.href = "/" + document.land_area.land_select.options[document.land_area.land_select.selectedIndex].value;
		}	
		else
		{
			window.location.href = "/" + document.land_area.land_select.options[document.land_area.land_select.selectedIndex].value;
		}
	}
}

function formHandler(){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}

function goTo(strLocation){
	if (document.all) {
		if (event) {
			event.cancelBubble = true;
		}
	}
	
	if (document.forms.navigationForm) {
		if (strLocation.indexOf("javascript:") > -1) {
			eval(strLocation);

		} else {
			document.forms.navigationForm.action = strLocation;
			document.forms.navigationForm.submit();
		}
	} else {
		if (strLocation.indexOf("javascript:") > -1) {
			eval(strLocation);
		} else {
			document.location = strLocation;
		}
	}
}

function formHandler2(){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.open(URL);
}

function goTo(strLocation){
	if (document.all) {
		if (event) {
			event.cancelBubble = true;
		}
	}
	
	if (document.forms.navigationForm) {
		if (strLocation.indexOf("javascript:") > -1) {
			eval(strLocation);

		} else {
			document.forms.navigationForm.action = strLocation;
			document.forms.navigationForm.submit();
		}
	} else {
		if (strLocation.indexOf("javascript:") > -1) {
			eval(strLocation);
		} else {
			document.location = strLocation;
		}
	}
}

function Disclaimer()
{
	//window.open('/disclaimer.aspx','disclaimer','height=250,width=285,left=250,top=250,status=no,toolbar=no,menubar=no,location=no');
	openUrl('/disclaimer.aspx', 285, 250, false);
}

function openUrl(sUrl, sWidth, sHeight){
	var now = new Date();
	this.window.open(sUrl, 'SwedishTradePopUp' + now.getSeconds(), 'toolbar=no, directories=no, status=yes, menubar=no, width=' + sWidth + ', height=' + sHeight + ', scrollbars=yes, resizable=yes');

}

function openUrl(sUrl, sWidth, sHeight, boolScrolling){
	var now = new Date();
	var scroll = 'no';
	if(boolScrolling) {
		scroll = 'yes';
	}
	this.window.open(sUrl, 'SwedishTradePopUp' + now.getSeconds(), 'toolbar=no, directories=no, status=yes, menubar=no, width=' + sWidth + ', height=' + sHeight + ', scrollbars=' + scroll + ', resizable=yes');
}
