function showForm(x)
{
	if(x!='')
	{
		var indx=window.document.forms[0][x].selectedIndex;
		var vlue=window.document.forms[0][x].options[indx].value;
		window.open(vlue);
	}
	else
	{
		alert('Please select a form to view!');
	}
}

function viewForm(formSrc)
{
	if(formSrc)
		{
		window.open(formSrc);
		}
	else
		{
		alert('Please select a file to view');
		}
}

function initializePresentationForms(presentations)
{
	if(presentation=='PPT')
		{
		var option0 = new Option("Doc", "pres/test.ppt")

		}
	else if(presentation=='DOC')
		{

		var option0 = new Option("mov", "pres/unique.mov")

		}
		
		
	//	Now populate the PresentationForms select box.
	for (var i=0; i < docCount; i++)
		{
		eval("document.forms[0].PresentationForms.options[i]=option" + i)
		if (i==0)
			{
			document.forms[0].PresentationForms.options[i].selected=true
			}
		}
}