  function trimmer(untrimed){
  		var regexp = /^\s+/ 		
		return untrimed.replace(regexp, "") 

  }
	
	function CartAdd(url) {
						/*************************************************************************/
							var xmlhttp=false;
							try { 
								xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); //here simply we are creating object
							} catch (e) { 
										try { 
											xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //here simply we are creating object
										} catch (E) { 
											xmlhttp = false; 
										}//try {  
							}//	try { 
						
							if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
								xmlhttp = new XMLHttpRequest();//here simply we are creating object
							}
						/*************************************************************************/
	

		xmlhttp.open("GET", url,true); 
	
		xmlhttp.onreadystatechange = function() { 
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 		
		var finalprice=trimmer(xmlhttp.responseText);
		//if(finalprice==''){
			//alert("NO Data!");			
			//}else{
				//document.form1.c.value=finalprice;
				var farray = finalprice.split('[split]');
				
								   
				document.getElementById("glideDiv0").innerHTML = farray[0];
				document.getElementById("basket_counter").innerHTML = farray[1];
				
				
			//}
//		alert(xmlhttp.responseText);
//		window.focus();
		} 
		}//xmlhttp.onreadystatechange = function() { 
		xmlhttp.send(null);
	}
	
	
	function CalculateC2(url) {
						/*************************************************************************/
							var xmlhttp=false;
							try { 
								xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); //here simply we are creating object
							} catch (e) { 
										try { 
											xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //here simply we are creating object
										} catch (E) { 
											xmlhttp = false; 
										}//try {  
							}//	try { 
						
							if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
								xmlhttp = new XMLHttpRequest();//here simply we are creating object
							}
						/*************************************************************************/
	

		xmlhttp.open("POST", url,true); 
	
		xmlhttp.onreadystatechange = function() { 
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 		
		var finalprice=trimmer(xmlhttp.responseText);
		//if(finalprice==''){
			//alert("NO Data!");			
			//}else{
				//document.form1.c.value=finalprice;
				document.getElementById("span2").innerHTML = finalprice;
				
			//}
//		alert(xmlhttp.responseText);
//		window.focus();
		} 
		}//xmlhttp.onreadystatechange = function() { 
		xmlhttp.send(null);
	}
	
	
	
	
	
	
	
	function CalculateCQ(url) {
						/*************************************************************************/
							var xmlhttp=false;
							try { 
								xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); //here simply we are creating object
							} catch (e) { 
										try { 
											xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //here simply we are creating object
										} catch (E) { 
											xmlhttp = false; 
										}//try {  
							}//	try { 
						
							if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
								xmlhttp = new XMLHttpRequest();//here simply we are creating object
							}
						/*************************************************************************/
	

		xmlhttp.open("POST", url,true); 
	
		xmlhttp.onreadystatechange = function() { 
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 		
		var finalprice=trimmer(xmlhttp.responseText);
		//if(finalprice==''){
		//	alert("NO Data!");			
			//}else{
				//document.form1.c.value=finalprice;
				document.getElementById("spanq").innerHTML = finalprice;
				
			//}
//		alert(xmlhttp.responseText);
//		window.focus();
		} 
		}//xmlhttp.onreadystatechange = function() { 
		xmlhttp.send(null);
	}
	
	
	
	
	
	
	
	
	function CalculateC(url) {
						/*************************************************************************/
							var xmlhttp=false;
							try { 
								xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); //here simply we are creating object
							} catch (e) { 
										try { 
											xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //here simply we are creating object
										} catch (E) { 
											xmlhttp = false; 
										}//try {  
							}//	try { 
						
							if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
								xmlhttp = new XMLHttpRequest();//here simply we are creating object
							}
						/*************************************************************************/
	

		xmlhttp.open("POST", url,true); 
	
		xmlhttp.onreadystatechange = function() { 
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 		
		var finalprice=trimmer(xmlhttp.responseText);
		//if(finalprice==''){
		//	alert("NO Data!");			
			//}else{
				//document.form1.c.value=finalprice;
				document.getElementById("span1").innerHTML = finalprice;
				
			//}
//		alert(xmlhttp.responseText);
//		window.focus();
		} 
		}//xmlhttp.onreadystatechange = function() { 
		xmlhttp.send(null);
	}
	
	function PopupAdd(url) {
						/*************************************************************************/
							var xmlhttp=false;
							try { 
								xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); //here simply we are creating object
							} catch (e) { 
										try { 
											xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //here simply we are creating object
										} catch (E) { 
											xmlhttp = false; 
										}//try {  
							}//	try { 
						
							if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
								xmlhttp = new XMLHttpRequest();//here simply we are creating object
							}
						/*************************************************************************/
	

		xmlhttp.open("POST", url,true); 
	
		xmlhttp.onreadystatechange = function() { 
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 		
		var finalprice=trimmer(xmlhttp.responseText);
		
		
		//if(finalprice==''){
		//	alert("NO Data!");			
			//}else{
				//document.form1.c.value=finalprice;
				document.getElementById("spans2").innerHTML = finalprice;
				
			//}
//		alert(xmlhttp.responseText);
//		window.focus();
		} 
		}//xmlhttp.onreadystatechange = function() { 
		xmlhttp.send(null);
	}
	
		function Cartedit(url) {
						/*************************************************************************/
							var xmlhttp=false;
							try { 
								xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); //here simply we are creating object
							} catch (e) { 
										try { 
											xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //here simply we are creating object
										} catch (E) { 
											xmlhttp = false; 
										}//try {  
							}//	try { 
						
							if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
								xmlhttp = new XMLHttpRequest();//here simply we are creating object
							}
						/*************************************************************************/
	

		xmlhttp.open("POST", url,true); 
	
		xmlhttp.onreadystatechange = function() { 
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 		
		var finalprice=trimmer(xmlhttp.responseText);
		
		
		//if(finalprice==''){
		//	alert("NO Data!");			
			//}else{
				//document.form1.c.value=finalprice;
				document.getElementById("spans3").innerHTML = finalprice;
				
			//}
//		alert(xmlhttp.responseText);
//		window.focus();
		} 
		}//xmlhttp.onreadystatechange = function() { 
		xmlhttp.send(null);
	}
function ListTextBox(url) {
						/*************************************************************************/
							var xmlhttp=false;
							try { 
								xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); //here simply we are creating object
							} catch (e) { 
										try { 
											xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); //here simply we are creating object
										} catch (E) { 
											xmlhttp = false; 
										}//try {  
							}//	try { 
						
							if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
								xmlhttp = new XMLHttpRequest();//here simply we are creating object
							}
						/*************************************************************************/
	

		xmlhttp.open("POST", url,true); 
	
		xmlhttp.onreadystatechange = function() { 
		if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 		
		var finalprice=trimmer(xmlhttp.responseText);
		if(finalprice==''){
			alert("NO Data!");			
			}else{
				//document.form1.c.value=finalprice;
				document.getElementById("ListDown").innerHTML = finalprice;
				
			}
//		alert(xmlhttp.responseText);
//		window.focus();
		} 
		}//xmlhttp.onreadystatechange = function() { 
		xmlhttp.send(null);
	}
