<!--

/* Javascript file for shopping*/

function updateShipping(theForm)
{
	theForm.submit();
}

function checkShipping(details)
{
	/*value = document.uShipping.shipping.options[document.uShipping.shipping.options.selectedIndex].value;
	document.co.action="https://secure.freetimers.com/cheapestelectrical/order.php"+details;

	if (value == -1)
	{
		alert ("Please select your shipping location");
	}
	else
	{
		document.co.submit();
	//}*/

	//document.co.action="https://secure.freetimers.com/gdonline/order.php"+details;
	document.co.action="https://secure.freetimers.com/gdonline/order.php"+details;
	document.co.submit();
}

function doSubmit(form2,action)
{
	form2.action.value = action;

	form2.submit();
}

function removeItem(form2,val,size)
{
	form2.remove_index.value = val;
	form2.action.value = 'remove';
	form2.submit();
}

function goShopping()
{
	document.co.action="index.php";
	document.co.submit();
}

//function to show and hide our div tag with options
function showHide(idname, linkName)
{
	if(idname.style.display == "inline")
	{	
		idname.style.display = "none";
		linkName.innerHTML="(more info...)";
	}

	else
	{
		idname.style.display = "inline";
		linkName.innerHTML="(less info...)";
	}
}


-->

