function nextover()
{
	document.getElementById('next').src="images/TIMObuttonNEXT-rollover.jpg";
}
function nextout()
{
	document.getElementById('next').src="images/TIMObuttonNEXT-up.jpg";
}
function prevover()
{
	document.getElementById('prev').src="images/TIMObuttonPREV-rollover.jpg"; 
}
function prevout()
{
	document.getElementById('prev').src="images/TIMObuttonPREV-up.jpg"; 
}
function flipover()
{
	document.getElementById('flip').src="images/TIMObuttoFLIPOVER_rollover.jpg"; 
	
}
function flipout()
{
	document.getElementById('flip').src="images/TIMObuttoFLIPOVER_up.jpg"; 
		
}
function amit()
{
	alert("amit");
}
function same_address()
{
//	alert(document.getElementById('state').value);
	//alert(document.getElementById('same_add').checked);
	if(document.getElementById('same_add').checked==false)
	{
		document.getElementById('Shipping_addr1').value=shippingValue['Shipping_addr1'];	
		document.getElementById('Shipping_addr2').value=shippingValue['Shipping_addr2'];
		document.getElementById('sh_city').value=shippingValue['sh_city'];
		document.getElementById('sh_country').value=shippingValue['sh_country'];		
		makeRequest('sh_state_td','select_sh.php?country='+shippingValue['sh_country']);
		document.getElementById('sh_zip').value=shippingValue['sh_zip'];
		
		
	}
	else
	{
			//alert(document.getElementById('country').value);
		document.getElementById('Shipping_addr1').value=document.getElementById('address').value;	
		document.getElementById('Shipping_addr2').value=document.getElementById('address2').value;	
		document.getElementById('sh_city').value=document.getElementById('city').value;	
		document.getElementById('sh_country').selectedIndex=document.getElementById('country').selectedIndex;
		makeRequest('sh_state_td','select_sh.php?country='+document.getElementById('country').value);		
		document.getElementById('sh_zip').value=document.getElementById('zip').value;
	}
}
function shippingCallback()
{
	if(document.getElementById('same_add').checked==false)
	{
		document.getElementById('sh_state').value=shippingValue['sh_state'];
	}
	else
	{
		document.getElementById('sh_state').value=document.getElementById('state').value;
	}
	//alert("hello");
}
