<!--//

function fillthis()
{
	//if email address is blank, fill in with prompt
	if(document.subscribe.email.value=="")
	{
		document.subscribe.email.value="Enter email address";
	}
}

function blankthis()
{
		document.subscribe.email.value="";
}

function formcheck()
{

	var theans;
	
	theans = confirm("You are about the leave the Government of Newfoundland and Labrador website. The Government of Newfoundland and Labrador is not responsible for the privacy practices or content of external websites. Do you wish to continue?");
	if(theans)
	{
		return true;
	}else{
		return false;
	}
}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImagesArray(array) {
	//if (preloadFlag == true) {
		var d = document; var img;
		for (var i=0; i<array.length; i+=2) {
			img = null; var n = array[i];
			if (d.images) {img = d.images[n];}
			if (!img && d.getElementById) {img = d.getElementById(n);}
			if (img) {img.src = array[i+1];}
		}
	//}
}

function changeImages() {
	changeImagesArray(changeImages.arguments);
}
//-->