function Ajax(divID,sourceFile)
	{
	var xmlHttp;	
	try
		{  
		xmlHttp=new XMLHttpRequest();  
		}
	catch (e)
		{   
		try
			{    
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");    
			}
		catch (e)
			{    
			try
				{      
				xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");      
				}
			catch (e)
				{      
				alert("Your browser does not support AJAX!");      
				return false;      
				}    
			}  
		}
	xmlHttp.onreadystatechange=function()
		{
		if(xmlHttp.readyState==4)
			{
			document.getElementById(divID).innerHTML=xmlHttp.responseText;			
			}
		}
	xmlHttp.open("GET",'/ajax/' + sourceFile,true);
	xmlHttp.send(null);
	}

if (top.location != location) 
	{
	top.location.href = document.location.href;
	}
	
function OnSubmitform(form) {
	if(document.login.bill.checked == true) {
		document.login.password.name = 'password';
		form.action = 'http://secure.bellonline.co.uk/dologin.php?goto=clientarea'; 
		form.submit();
	}
	else if(document.login.prem.checked == true) {
		document.login.password.name = 'user_password';
		form.action = 'http://premium.mixstream.net/index.php?page=login'; 
		form.submit();
	}
	else if(document.login.val.checked == true) {
		document.login.password.name = 'user_password';
		form.action = 'http://secure.mixstream.net/vpanel/login.php'; 
		form.submit();
	}
	else alert('Please select a login area');
}




/////////////////////////////






function removeItem(type,num) {
	var response = confirm("Are you sure you want to remove this item from your cart?");
	if (response) {
		window.location = 'https://secure.bellonline.co.uk/cart.php?a=remove&r='+type+'&i='+num;
	}
}
function emptyCart(type,num) {
	var response = confirm("Are you sure you want to empty your shopping cart?");
	if (response) {
		window.location = 'https://secure.bellonline.co.uk/cart.php?a=empty';
	}
}


document.write('<div id="ajax"></div>');