        function buyItem()
        {
newItem=document.form1.product.value;
newCategory=document.form1.category.value;
newQuantity=document.form1.quantity.value;
newComment=document.form1.comment.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('Product :- '+newItem+'\nType-'+newCategory+'\n\n Added to query Basket');

			window.location=basket.htm;			}
                }
        }

        function buyItem1() {
newItem=document.form1.product1.value;
newCategory=document.form1.category1.value;
newQuantity=document.form1.quantity1.value;
newComment=document.form1.comment1.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }





  function buyItem2() {
newItem=document.form1.product2.value;
newCategory=document.form1.category2.value;
newQuantity=document.form1.quantity2.value;
newComment=document.form1.comment2.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('"Quantity '+newQuantity+'"\n Product :- '+newItem+'\nType-'+newCategory+'\n\n Added to query Basket');
						}
                }
        }


function buyItem3() {
newItem=document.form1.product3.value;
newCategory=document.form1.category3.value;
newQuantity=document.form1.quantity3.value;
newComment=document.form1.comment3.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }








function buyItem4() {
newItem=document.form1.product4.value;
newCategory=document.form1.category4.value;
newQuantity=document.form1.quantity4.value;
newComment=document.form1.comment4.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }



function buyItem5() {
newItem=document.form1.product5.value;
newCategory=document.form1.category5.value;
newQuantity=document.form1.quantity5.value;
newComment=document.form1.comment5.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }


function buyItem6() {
newItem=document.form1.product6.value;
newCategory=document.form1.category6.value;
newQuantity=document.form1.quantity6.value;
newComment=document.form1.comment6.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }



function buyItem7() {
newItem=document.form1.product7.value;
newCategory=document.form1.category7.value;
newQuantity=document.form1.quantity7.value;
newComment=document.form1.comment7.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }



function buyItem8() {
newItem=document.form1.product8.value;
newCategory=document.form1.category8.value;
newQuantity=document.form1.quantity8.value;
newComment=document.form1.comment8.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }



function buyItem9() {
newItem=document.form1.product9.value;
newCategory=document.form1.category9.value;
newQuantity=document.form1.quantity9.value;
newComment=document.form1.comment9.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }



function buyItem10() {
newItem=document.form1.product10.value;
newCategory=document.form1.category10.value;
newQuantity=document.form1.quantity10.value;
newComment=document.form1.comment10.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }





function buyItem11() {
newItem=document.form1.product11.value;
newCategory=document.form1.category11.value;
newQuantity=document.form1.quantity11.value;
newComment=document.form1.comment11.value;
permit='true'
                if (newQuantity <= 0) {
                        rc = alert('Please enter quantity!');
                        return false;

                }
                if (newQuantity >= 0) {

                        index = document.cookie.indexOf("TheBasket");
                        countbegin = (document.cookie.indexOf("=", index) + 1);
                        countend = document.cookie.indexOf(";", index);
                        if (countend == -1) {
                                countend = document.cookie.length;
                       }
                        document.cookie="TheBasket="+document.cookie.substring(countbegin, countend)+"["+newItem+","+newCategory+"^"+newComment+"~"+newQuantity+"]";
						if(permit == 'true')
						{
							rc = alert('PRODUCT :-\n'+newItem+'\n\n Added to query Basket');
							window.location="basket.htm"
						}
                }
        }










function basket()
{
window.location.href='basket.htm';
}

function go_to_url(selected_url)

			{	
			var new_url = selected_url.options[selected_url.selectedIndex].value;
				location.href = new_url;
				selected_url.selectedIndex=0;

			}