//Hides a div block of code on a form
function toggleDiv(divid,formname,formvalue)
{
		var word = $F(formname);
  		
  		var isformvalue = (word == formvalue) ? true : false;
  		
  		if (isformvalue)
    	{
    		new Effect.BlindDown(divid, {duration: .2});
    	}
    	else
    	{
    		new Effect.BlindUp(divid, {duration: .2});
    	}
}

// Javascript to open a new window for the help section
function openhelp(link)
{
    self.name="mainwindow";
    win2=window.open(link,"helpwin","width=650,height=600,toolbar=0,scrollbars=1,menubar=0,resizable=yes,location=0");
}