function delete_order(url)

  {



    var cont;

    

    cont = window.confirm("Do you wish to remove this Order? Click OK to continue with delete, or click Cancel to abort:"); 



    if(cont)

    {

      window.location= url;

    }



} 





function check_term()

{

	



	if(!document.getElementById("agree").checked) 

   	{

 

		alert("You have to agree to our terms of service in order to proceed!");

		

		return false;

     

    	}else if(!document.all['agree'].checked)

	{



		alert("You have to agree to our terms of service in order to proceed!");

		

		return false;

	}





   

}

 