<!--
function B2XCoreMetricsPageView(pageId, pageIdExtra, categoryId, searchTerm, searchResults, storeId) {
	this.pageId = pageId;
	this.pageIdExtra = pageIdExtra;
	this.categoryId = categoryId;
	this.searchTerm = searchTerm;
	this.searchResults = searchResults;
	this.storeId = storeId;
}
	
function B2XCoreMetricsProductView(pageId, productId, productName, categoryId, storeId, pageCount) {
	this.pageId = pageId;
	this.productId = productId;
	this.productName = productName;
	this.categoryId = categoryId;
	this.storeId = storeId;
	this.pageCount = pageCount;
}
	
function B2XCoreMetricsShopAction5(productId, productName, quantity, unitPrice, categoryId, storeId, currency) {
	this.productId = productId;
	this.productName = productName;
	this.quantity = quantity;
	this.unitPrice = unitPrice;
	this.categoryId = categoryId;
	this.storeId = storeId;
	this.currency = currency;
}
	
function B2XCoreMetricsShopAction9(productId, productName, quantity, unitPrice, customerId, orderId, orderSubtotal, categoryId, storeId, currency, accountName, contractName) {
	this.productId = productId;
	this.productName = productName;
	this.quantity = quantity;
	this.unitPrice = unitPrice;
	this.customerId = customerId;
	this.orderId = orderId;
	this.orderSubtotal = orderSubtotal;
	this.categoryId = categoryId;
	this.storeId = storeId;
	this.currency = currency;
	this.accountName = accountName;
	this.contractName = contractName;
}
	
function B2XCoreMetricsOrderTag(orderId, orderSubtotal, orderShipping, customerId, customerCity, customerState, customerZip, storeId, currency, promotionName, promotionDiscount, promotionCode) {
	this.orderId = orderId;
	this.orderSubtotal = orderSubtotal;
	this.orderShipping = orderShipping;
	this.customerId = customerId;
	this.customerCity = customerCity;
	this.customerState = customerState;
	this.customerZip = customerZip;
	this.storeId = storeId;
	this.currency = currency;
	this.promotionName = promotionName;
	this.promotionDiscount = promotionDiscount;
	this.promotionCode = promotionCode;
}
	
function B2XCoreMetricsRegistrationTag(customerId, customerEmail, customerCity, customerState, customerZip, newsletterName, subscribedFlag, storeId, customerCountry, age, gender, maritalStatus, numChildren, numInHousehold, companyName, hobbies, income) {
	this.customerId = customerId;
	this.customerEmail = customerEmail;
	this.customerCity = customerCity;
	this.customerState = customerState;
	this.customerZip = customerZip;
	this.newsletterName = newsletterName;
	this.subscribedFlag = subscribedFlag;
	this.storeId = storeId;
	this.customerCountry = customerCountry;
	this.age = age;
	this.gender = gender;
	this.maritalStatus = maritalStatus;
	this.numChildren = numChildren;
	this.numInHousehold = numInHousehold;
	this.companyName = companyName;
	this.hobbies = hobbies;
	this.income = income;
}
	
function B2XCoreMetricsErrorTag(pageId, categoryId) {
	this.pageId = pageId;
	this.categoryId = categoryId;
}

function B2XCoreMetricsConversionEventTag(eventId, actionType, eventCategoryId, points) {
	this.eventId = eventId;
	this.actionType = actionType;
	this.eventCategoryId = eventCategoryId;
	this.points = points;
}

var b2XCoreMetrics = new Object();
function b2XCoreMetricsInit() {
	b2XCoreMetrics.pageView = new B2XCoreMetricsPageView(null, null, null, null, null, null);
	b2XCoreMetrics.productView = new B2XCoreMetricsProductView(null, null, null, null, null, null);
	b2XCoreMetrics.shopAction5 = new Array();
	b2XCoreMetrics.shopAction9 = new Array();
	b2XCoreMetrics.orderTag = new B2XCoreMetricsOrderTag(null, null, null, null, null, null, null, null, null, null, null, null);
	b2XCoreMetrics.registrationTag = new B2XCoreMetricsRegistrationTag(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
	b2XCoreMetrics.errorTag = new B2XCoreMetricsErrorTag(null, null);
	b2XCoreMetrics.conversionEventTag = new B2XCoreMetricsConversionEventTag(null, null, null, null);
}
//-->
