// Dirty Flash Trick for Safari
function writeEmbedLine() {
    document.write('<embed wmode="transparent"></embed>');
}

// Show/hide DIV function
function toggleDiv(whichLayer)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		var style2 = document.getElementById(whichLayer).style;
		style2.display = style2.display? "":"block";
	}

}

// for non-table elements
function toggleRegularDiv(whichLayer)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		var style2 = document.getElementById(whichLayer).style;
		style2.display = style2.display? "":"block";
	}
}



//Clear input field values

function formclear(field){
	if (field.value == "your e-mail address")
	{
		field.value = "";
	}
	else if (field.value == "your password")
	{
		field.value = "";
	}
}