// *********** OS_onlineBasket_JS.js ************
	function loadCart_init(countryid,courierTxt_OSBuyNowRecords,courierTxt_detailpdtsource,updRecFrame,flag,rsServerName_CurrentID,pdtid,openBasket,subtotal,shippingAmount,taxCost,taxRate,selectedCurrCode,selectedCurrRate,InsuranceCost,InsuranceRate,selectedCountryName,selectedPackageName,GrossWgtAmount,DiscountNSurchargeINC,maxCardPurchaseAmount,couponCode,couponMode,couponRate,couponOnly,couponMinimumSpending,uptoPriceFreeShipping){
		
		//courier package is dynamic generated by country combo selected
		if(countryid!='0'&&(courierTxt_OSBuyNowRecords!=''||courierTxt_detailpdtsource!='')){
			
			if(isObj(parent.OSBuyNowRecords)){
				parent.OSBuyNowRecords.document.getElementById("spanCourier").innerHTML=courierTxt_OSBuyNowRecords;
			}else if(isObj(parent.document.getElementById('spanCourier'))){
				parent.document.getElementById("spanCourier").innerHTML=courierTxt_detailpdtsource;
			}else{
				//no shipping defined
			}
			
			//////if(parent.OSBuyNowRecords=='[object]'||parent.OSBuyNowRecords=='[object Window]'||parent.OSBuyNowRecords=='[object global]'){
				//////parent.OSBuyNowRecords.document.getElementById("spanCourier").innerHTML=courierTxt_OSBuyNowRecords;
			//////}else if(parent.document.getElementById('spanCourier')=='[object]'||parent.document.getElementById('spanCourier')=='[object HTMLSpanElement]'||parent.document.getElementById('spanCourier')=='[object HTMLElement]'){
				//////parent.document.getElementById("spanCourier").innerHTML=courierTxt_detailpdtsource;
			//////}else{
				////////no shipping defined
			//////}
		}
	
		 		
		if(updRecFrame=='on'){ //enable and disable currency and shipping in detailpdtsources.asp		
			updRecFrame = 1;
		}else{
			updRecFrame = 0;
		}
		var resetShipAndCurrAtDetail = 0
		if(flag=='5'||flag=='3'||rsServerName_CurrentID!=selectedCurrCode){
			resetShipAndCurrAtDetail = 1;
		}
		if(flag=='0'){ // when remove item , reset button as "add to cart"
			setAddToCartIcon(pdtid);
		}
		
		loadCartNow(updRecFrame,resetShipAndCurrAtDetail,openBasket,subtotal,shippingAmount,taxCost,taxRate,selectedCurrCode,selectedCurrRate,InsuranceCost,InsuranceRate,selectedCountryName,selectedPackageName,GrossWgtAmount,DiscountNSurchargeINC,maxCardPurchaseAmount,couponCode,couponMode,couponRate,couponOnly,couponMinimumSpending,rsServerName_CurrentID,uptoPriceFreeShipping);
		document.body.scrollTop=document.body.scrollHeight;
		
	}
	// *********** OS_onlineBasket_JS.js ************
