/**
 * Global variable declarations - these settings will be used by the classes
 * defined in this document.
 */


/**
 * Web service timeout - defined in milliseconds
 */
var WEB_SERVICE_TIMEOUT = 60000;

/**
 * Running mode for the Javascript - set to true
 * to product debugging code
 */
var JAVASCRIPT_DEBUG=true;

/**
 * Used to enable/disable variant caching - this will
 * keep the results of a web service call in a local
 * client-side cache for use for subsequent calls that
 * retrieve the same data
 */
var ENABLE_VARIANT_CACHING=true;

/**
 * Used to enable/disable product caching - works
 * the same as ENABLE_VARIANT_CACHING
 * @see ENABLE_VARIANT_CACHING
 */
var ENABLE_PRODUCT_CACHING=true;

/**
 * Used by the supporting classes to determine if a modal
 * popup is currently visible.
 */
var IS_MODELPOPUP_VISIBLE=false;

/**
 * The Variables below will hold diffrent value based on the web site
 */

/**
 * Used to set the relative or absolute path to the images
 * TODO: USE Width and Height on the Code....
 * Const for Images
 */
var IMAGES_RELATIVE_OR_ABSOLUTE_PATH="/images/products/";

/**
 * Large Shades Settings
 */

/**
 * The prefix for the large shade image
 */
var VARIANT_LARGE_SHADE_IMAGE_PREFIX="shades/";

/**
 * The suffix for the large shade image
 */
var VARIANT_LARGE_SHADE_IMAGE_SUFFIX="_sw.png";

 /** The suffix for the large multipan shade image
 */
var VARIANT_LARGEMULTIPAN_SHADE_IMAGE_SUFFIX="_sw_l.png";

 /** The suffix for the small multipan shade image
 */
var VARIANT_SMALLMULTIPAN_SHADE_IMAGE_SUFFIX="_sw_sm.png";
/**
 * The large shade image width
 */
var VARIANT_LARGE_SHADE_WIDTH="100px";

/**
 * The large shade image height
 */
var VARIANT_LARGE_SHADE_HEIGHT="100px";

/**
 * Small Shades Settings
 */

/**
 * The prefix for the small shade image
 */
var VARIANT_SMALL_SHADE_IMAGE_PREFIX="shades/sm/";

/**
 * The suffix for the small shade image
 */
var VARIANT_SMALL_SHADE_IMAGE_SUFFIX="_sm.gif";

/**
 * The small shade image width
 */
var VARIANT_SMALL_SHADE_WIDTH="19px";

/**
 * The small shade image height
 */
var VARIANT_SMALL_SHADE_HEIGHT="19px";


/**
 * Thumbnail Settings
 */

/**
 * The prefix for the thumbnail image
 */
var PRODUCT_THUMBNAIL_IMAGE_PREFIX="/images/products/thumbnails/";

/**
 * The suffix for the thumbnail image
 */
var PRODUCT_THUMBNAIL_IMAGE_SUFFIX="_m.jpg";

/**
 * The thumbnail image width
 */
var PRODUCT_THUMBNAIL_WIDTH=0;

/**
 * The thumbnail image height
 */
var PRODUCT_THUMBNAIL_HEIGHT=0;

/**
 * Product Small Image Settings
 */

/**
 * The prefix for the product small image
 */
var PRODUCT_SMALL_IMAGE_PREFIX="";

/**
 * The suffix for the product small image
 */
var PRODUCT_SMALL_IMAGE_SUFFIX="_sm.jpg";

/**
 * The product small image width
 */
var PRODUCT_SMALL_IMAGE_WIDTH=0;

/**
 * The product small image height
 */
var PRODUCT_SMALL_IMAGE_HEIGHT=0;

/**
 * Product Large Image Settings
 */

/**
 * The prefix for the product large image
 */
var PRODUCT_LARGE_IMAGE_PREFIX="";

/**
 * The suffix for the product large image
 */
var PRODUCT_LARGE_IMAGE_SUFFIX="";

/**
 * The product large image width
 */
var PRODUCT_LARGE_IMAGE_WIDTH=0;

/**
 * The product large image height
 */
var PRODUCT_LARGE_IMAGE_HEIGHT=0;
/**
 * The div or span id of the please wait layer
 */
var CORE_AJAX_PLEASEWAIT_DHTMLOBJECT_ID="coreajax_pleasewait";

/**
 * Style Sheet of paging Numbers
 */
var CORE_AJAX_PAGING_NUMBERS_STYLESHEET="<span class='Ablack11pxRL'>";
/**
 * closing tag of page numbers
 */
var CORE_AJAX_PAGING_NUMBERS_CLOSING_TAG="</span>";
/**
 * Style Sheet of current Page
 */
var CORE_AJAX_CURRENT_PAGE_STYLESHEET="<span class='Ablack11pxR'>";
/**
 * closing tag of current page
 */

var CORE_AJAX_NEXT_BUTTON = " Next <img src='/images/bullets/blue_arrow.jpg' border='0'>";
var CORE_AJAX_PREV_BUTTON = " <img src='/images/bullets/back_arrow_blue.gif' border='0'> Prev";

var CORE_AJAX_CURRENT_PAGE_CLOSING_TAG="</span>";
/**
 * Prefix
 */
var PAGE_PAGExOFy="&nbsp;&nbsp;"; //Page
/**
 * Middle
 */
var OFF_PAGExOFy="&nbsp;of&nbsp;"; //of
/**
 * SUFFIX
 */
var DISPLAY_PAGExOFy=""; //displayed
/**
 * Main Variant Layer
 */
var VARIANT_LAYER_PARENT_CONTAINS="Category:Product:List:";


/**
 * boolean loadPleasewait as Modal
 */
var CORE_AJAX_LOAD_PLEASEWAIT_ASMODAL=true;

/**
 *Main product Layer
 */
var MAIN_LAYER_PARENT_CONTAINS='Category$$Product$$List$$Begin'

var SHADE_SUB_GROUP_FLD="BI_Color_Family";

var SPACER_IMAGE="/images/spacer.gif";


var VARIANT_MEDIUM_SHADE_WIDTH="45px";


var VARIANT_MEDIUM_SHADE_HEIGHT="50px";

/**
 * The prefix for the small shade image
 */
var VARIANT_MEDIUM_SHADE_IMAGE_PREFIX="shades/med/";

/**
 * The suffix for the small shade image
 */
var VARIANT_MEDIUM_SHADE_IMAGE_SUFFIX="_med.gif";

/**
 * The default email address to use for Send to Phone
 */
var FROMEMAIL = "webmaster@maybelline.com";

var VARIANT_BUBBLE_ICON_PREFIX = "/images/products/icons/";

var VARIANT_BUBBLE_ICON_SUFFIX = ".gif";

/**
 * Default Retailer
 */
var AJAX_DEFAULT_RTLCODE='LOREAL';

/**
 * Variant: The container id for the Add to Favorite confirmation message
 */
var VAR_FAVORITE_CONFIRM_ID = "FavConfirm";

/**
 * Variant: The container id for the Add to Favorite product info (needs to be hidden when the item is added)
 */
var VAR_PRODUCT_INFO_ID = "ProductInfo";

/**
 * Variant: The message for the Add to Favorite confirmation
 */
var VAR_FAVORITE_CONFIRM_MESSAGE = "This item has been added to your <a href=\"/mylancome/members/ownit.aspx\" class=\"Adrkpink11pxR\">Wishlist</a>.";

/**
 * Product: The container id for the Add to Favorite confirmation message
 */
var PRD_FAVORITE_CONFIRM_ID = "Prd_FavConfirm";

/**
 * Product: The container id for the Add to Favorite product info (needs to be hidden when the item is added)
 */
var PRD_PRODUCT_INFO_ID = "Prd_ProductInfo";

/**
 * Product: The message for the Add to Favorite confirmation
 */
var PRD_FAVORITE_CONFIRM_MESSAGE = "This item has been added to your <a href=\"/mylancome/members/ownit.aspx\">Makeup Bag</a>.";


/**
 * The path to the popup used if the user need to signin
 */
var POPUPPATHSIGNIN = "/club/popup_Favorite_login.aspx";

/**
 * The height to the popup used if the user need to signin
 */
var POPUPSIGNINHIEGHT = "210";

/**
 * The width to the popup used if the user need to signin
 */
var POPUPSIGNINWIDTH = "352";

var VIDEO_GALLERY_PLAYER_PATH="http://video.maybelline.com/flash/videos/video-player.swf";

