// splitting characters
function getSplitWord(word, separator, index)
{
	 arrayOfStrings = word.split(separator);
	 return arrayOfStrings[index];
}

function toggleDiv(id, flagit)
{
	if (flagit==1)
	{
		if (document.layers) document.layers[id].visibility = "show"
		else if (document.getElementById) document.getElementById(id).style.visibility = "visible"
	}
	else
	{
		if (document.layers) document.layers[id].visibility = "hide"
		else if (document.getElementById) document.getElementById(id).style.visibility = "hidden"
	}
}