/*
 pop up large product photo
 item sku, product group, window width, window height are passed
*/
function popLargePhoto(sku,product_group,width,height) {
	var hw = 'toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=' + width + ',height=' + height;
	newWind = window.open('/products/pop_large.php?sku=' + sku + '&product_group=' + product_group + '&w=' + width + '&h=' + height, 'pop_large', hw );
	newWind.focus();
}

/*
 pop up product in-room photo
 item sku, product group, window width, window height are passed
*/
function popInRoomPhoto(sku,product_group,width,height) {
	var hw = 'toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=' + width + ',height=' + height;
	newWind = window.open('/products/pop_inroom.php?sku=' + sku + '&product_group=' + product_group + '&w=' + width + '&h=' + height, 'pop_inroom', hw );
	newWind.focus();
}

/*
 pop up product matching photo
 item sku, matching sku, product group, window width, window height are passed
*/
function popMatchingPhoto(sku,matching_sku,product_group,width,height) {
	var hw = 'toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=' + width + ',height=' + height;
	newWind = window.open('/products/pop_matching.php?sku=' + sku + '&matching_item=' + matching_sku + '&product_group=' + product_group + '&w=' + width + '&h=' + height, 'pop_matching', hw );
	newWind.focus();
}

/*
 pop up CSC help
*/
function popCSC() {
	var hw = 'toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=340,height=360';
	newWind = window.open('/order/pop_csc.php', 'pop_csc', hw );
	newWind.focus();
}
