function langSwitch(lid)
{
	with(document.langswitchform)
	{
		langid.value = lid; submit();
	}
}

function navSearch()
{
	with(document.navsearchform)
	{
		if (searchstr.value == '')
		{ alert("Please enter the text that you would like to search for."); return; }
		
		submit();
	}
}

function printPage()
{
	window.print();
}

function flashFix(elem)
{
	var fmovie = document.getElementById(elem);
	fmovie.outerHTML = fmovie.outerHTML;
}

function changeMonth(newMonth)
{
	document.archives.articlesMonth.value = newMonth;
	document.archives.submit();
}

function frameLink(url)
{
	window.open(url);
}

function frameLink2(linkid){
	window.open("frame2.asp?linkid="+linkid);

}


function glossary(anch)
{
	window.open("SpecialNeedsGlossary.asp#"+anch, "NewWin", "width=500, height=400, scrollbars=yes");
}

function SpecialNeedsglossary(anch)
{
	window.open("SpecialNeedsGlossary.asp#"+anch, "NewWin", "width=500, height=400, scrollbars=yes");
}

function submitSearch(page)
{
	document.linksearch.page.value = page;
	document.linksearch.langid.value = 0;
	document.linksearch.submit();
}

function emailWin()
{
	var emailWindow = window.open("EmailFriend.asp",'EmailWindow',"width=400, height=250, scrollbars=no, status=no, resizable=no, menubar=no, directories=no")
}



