/*
 * The Config class contains all configuration options
 * 
 * Added/updated this.guide, this.colorsCmyk, this.colorsRgb, this.fonts by Joe Gao on 03/05/2008  
 * V1.0 Codes by Sid Jacob on 07/19/2007
 */
 
function Config() {

    //directory paths
    this.appPath = "/AjaxStudio/";
    this.libPath = "js/lib/";
    this.classPath = "js/classes/";
    this.genericImgPath = "img/generic/";
    this.toolbarImgPath = "img/toolbar/";
    
    //integer determining the left indent of the studio
    this.studioLeft = 5;
    
    //the path of the server handler
    this.compositionHandler = "CompositionRequest.axd";
    
    //the object type definition used for the element object on the server site
    this.elementServerType = "CodeLibrary.BusinessLayer.CompositionEngine.CompositionElement, CodeLibrary, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null";
    
    //the warning message when a custom upload image less than 300 dpi is used.
    this.dpiWarningMsg = "One or more pieces of custom artwork being used do not meet the requirements for quality assurance.";
    
    //the prompt message when a custom upload image less than 300 dpi is used.
    this.dpiPromptMsg = "You have selected artwork that has resolution of less than 300 DPI. We strongly suggest that you provide higher resolution artwork before continuing. If you choose to continue by clicking 'Ok', the resolution of this artwork will impact the quality of your product.";
        
    //list of fonts
    this.fonts = ["Amadeo","Arial","Arial Rounded MT","AridITC TT",
                  "Avant Garde","Baskerville MT","Bodoni MT Book",
                  "Caslon 224 Book","Clairvaux LT","Comic Sans MS",
                  "Courier New","Eras Medium","Esprit Book","Futura ND Book",
                  "Garamond","Gill Sans MT","Goudy Old Style MT","Helvetica LT 55 Roman",
                  "Impact","Isadora Regular","KuenstlerScript LT Medium",
                  "Nuptial Script LT","Optima LT","Shelley LT AndanteScript","Souvenir Medium",
                  "Spartan One Three MT","Times New Roman","Verdana"];
    
    //list of colors
    this.colorsRgb = ["#231f20","#6a737b","#9fa1a4","#e4e5e6","#fff2d4","#ffffff",
                      "#633b1c","#87746a","#e58e1a","#fdbb30","#ffee00","#ecdfa8",
                      "#562c85","#a30046","#db0962","#ef3e42","#d60c8c","#f7aabc",
                      "#1a2d5d","#0054a4","#007cc2","#0092cf","#78bde8","#7581bf",
                      "#00693e","#006c64","#00a84f","#00b1b0","#c2cd23","#b0b579"];    
    /*               
    this.colorsRgb = ["#000000","#525B5C","#8F8F8F","#E3E3E3","#FFFFFF",
                      "#6B85FF","#0043FA","#1C91FF","#00CFE6","#82E3FF",
                      "#A10067","#EB009B","#FF173D","#E300FF","#FF96E8",
                      "#EB7C00","#FFB517","#FFFC00","#E8E397","#FFF5D1",
                      "#008A46","#21FF9E","#705C59","#B7EB00","#A5B85E"];
    */               
    this.colorsCmyk = ["0 0 0 100","11 1 0 64","0 0 0 44","0 0 0 11","0 4 18 0","0 0 0 0",
                       "41 70 93 47","0 18 21 56","0 47 100 8","0 29 91 0","0 1 100 0","0 2 35 9",
                       "82 100 7 3","0 100 36 37","0 100 34 8","0 91 76 0","11 100 0 0","0 41 9 0",
                       "100 89 31 30","100 73 0 2","89 43 0 0","100 10 0 10","49 11 0 0","58 48 0 0",
                       "93 33 92 25","100 0 49 46","95 0 100 0","87 0 38 0","22 0 100 8","10 0 49 28"];

    //list of symbols              
    this.symbols = ["•","™","©","®","¢","£","¤","¥","§","¬","°","±","µ","¶","×","¦",
                    "¡","Ø","Þ","ß","÷","À","Á","Ã","Ä","Ç","ç","È","É","Ë","Ì","Í","Ï","Ñ","Ò","Ó","Õ","Ö","Ù","Ú","Ü",
                    "à","á","ã","ä","è","é","ë","ì","í","ï","ñ","ò","ó","õ","ö","ù","ú","ü","ý","ÿ"];     
                    
    //studio guide
    this.guide = "<img src='" + this.appPath + this.toolbarImgPath + "PI-DottedLine.gif' width='534px' height='16px'><br/>" +
                 "<div class='custom'>" + 
                 "<b>Using Dotted and Solid Guide Boxes to Place Text and Uploaded Images</b>:<br/><br/>" +
                 "&bull;&nbsp;All text must stay within the dotted box.<br/>" + 
                 "&bull;&nbsp;Images overlapping dotted box will be moved to overlap solid box allowing printing to the edge.<br/>" +
                 "&bull;&nbsp;Make sure important parts of images appear within dotted box.<br/>" +
                 "&bull;&nbsp;Guide boxes do not print.<br/><br/>" +
                 "<b><font color='#CC0000'>Note: </font></b>While we've done our best to accurately represent color and texture, the color calibration and resolution quality of computer monitors can vary considerably." +
                 "</div>"
//    this.guide = "<table width='570' border='0' cellpadding='0' cellspacing='0'>" +
//                 "<tr height='1'><td colspan='3' bgcolor='#dce6f0'><img src='images/space.gif' width='1' height='1'></td></tr>" +
//                 "<tr><td width='1' bgcolor='#dce6f0'><img src='images/space.gif' width='1' height='1'></td><td><table width='100%' border='0' cellpadding='3' cellspacing='3'><tr><td class='custom'>" +
//                 "<b>Using Dotted and Solid Guide Boxes to Place Text and Uploaded Images</b>:<br/><br/>" +
//                 "&bull;&nbsp;All text must stay within the dotted box.<br/>" + 
//                 "&bull;&nbsp;Images overlapping dotted box will be moved to overlap solid box allowing printing to the edge.<br/>" +
//                 "&bull;&nbsp;Make sure important parts of images appear within dotted box.<br/>" +
//                 "&bull;&nbsp;Guide boxes do not print.<br/><br/>" +
//                 "<b><font color='#CC0000'>Note: </font></b>While we've done our best to accurately represent color and texture, the color calibration and resolution quality of computer monitors can vary considerably." +
//                 "</td></tr></table></td><td width='1' bgcolor='#dce6f0'><img src='images/space.gif' width='1' height='1'></td></tr>" +
//                 "<tr height='1'><td colspan='3' bgcolor='#dce6f0'><img src='images/space.gif' width='1' height='1'></td></tr></table><br/>"
}


