<!--//

$(document).ready(function(){
	var comboboxSettings = {animationSpeed: 100};
	setupCombobox('CategoryId');
	setupCombobox('ProvinceId');
});

// - Combobox Style
var _officeItemListCombobox = null;
var _cssStyleSelectJQ = null;
var _animationTypeSelectJQ = null;
var _animationType = "slide";

// create a jquery combobx and set the Css class styles
function setupCombobox(ComboboxName){
	_CategoryIdCombobox = $('#'+ComboboxName).combobox(
		{
			comboboxContainerClass: "comboboxContainer",
			comboboxValueContentContainerClass: "comboboxValueContainer",
			comboboxValueContentClass: "comboboxValueContent",
			comboboxDropDownClass: "comboboxDropDownContainer",
			comboboxDropDownButtonClass: "comboboxDropDownButton",
			comboboxDropDownItemClass: "comboboxItem",
			comboboxDropDownItemHoverClass: "comboboxItemHover",
			comboboxDropDownGroupItemHeaderClass: "comboboxGroupItemHeader",
			comboboxDropDownGroupItemContainerClass: "comboboxGroupItemContainer"
		},
		{
			animationType: _animationType,
			width: 150
		});
}
/* - End : Combobox Style - */

function getSendToMobileForm(PartnerId,RestaurantId){
      $("#sendToMobileFormDiv").html("<img src=\"../images/ajax-loader.gif\" width=\"16\" height=\"16\"  class=\"ajaxLoader\"/>");
      $("#sendToMobileFormDiv").show();
      $("#transbox").show();
	  $.get("/ajax_restaurant/send-to-mobile-form.php",{PartnerId:PartnerId,RestaurantId:RestaurantId},function(returned_data){
			$('#sendToMobileFormDiv').html(returned_data);
        });
}
function closeSendToMobileFormDiv(){
	$('#sendToMobileFormDiv').hide();
	$("#transbox").hide();
}

//-->