/***********************************************
* Omni Slide Menu script - © John Davenport Scheuer
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
* as first mentioned in http://www.dynamicdrive.com/forums
* username:jscheuer1
***********************************************/

//One global variable to set, use true if you want the menus to reinit when the user changes text size (recommended):
resizereinit=true;

var nowDate = new Date();

arrItems = new Array();
arrItems.push();

//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header

var minDate = Date.parse("1/25/2009 02:00:00 EST");
var maxDate = Date.parse("2/25/2009 02:00:00 EST");
// Sales
if (minDate < nowDate && nowDate < maxDate) {
    arrItems.push(["Through Jan 1st!"]); //create header
    arrItems.push(["<span style='color: red;'>500 prints only 29.99!<span>", "https://www.dotphoto.com/BuyBulkPrints.asp?D=164", ""]);
} 

arrItems.push(["Special Offers"]); //create header
arrItems.push(["FixAPrint Retouching", "http://www.fixaprint.com/", ""]);
arrItems.push(["8&#162; Prints - 500 Prepaid Prints Only $39.99!", "PrintPlans.asp?TabLoc=4", ""]);
arrItems.push(["250 FREE Prints!", "JumpToTrialPay.asp",""]);
arrItems.push(["$20 FREE dotPhoto Credit!", "JumpToTrialPay.asp?c=20Credit",""]);

arrItems.push(["What's New"]); //create header
arrItems.push(["Picasa Upload Plugin", "/PicasaGetPlugin.asp",""]);
arrItems.push(["Vinyl Cutouts", "StoreBrowseStart.asp?pgCode=WAL",""]);
arrItems.push(["dotPhoto EuroBooks", "http://www.EuroBook.us","_new"]);

arrItems.push(["Helpful Information"]); //create header
var minDate = Date.parse("12/10/2008 02:00:00 EST");
var maxDate = Date.parse("12/25/2008 02:00:00 EST");
// Sales
if (minDate < nowDate && nowDate < maxDate) {
    arrItems.push(["<span style='color: red;'>Holiday shipping times<span>", "productdetails.html?GC=HOLIDAY", ""]);
} 
arrItems.push(["Have old photos, slides, or negatives?","http://www.memories3.com/dotphoto.php","_new"]);
arrItems.push(["Getting more from dotPhoto","javascript: void(GB_show('More fun at dotPhoto','http://dotphoto.typepad.com/',600,750));", ""]);
arrItems.push(["How to make a dotPhoto Show","javascript: void(GB_show('Making dotPhoto Shows','http://dotphoto.typepad.com/blog/2008/05/how-to-make-a-dotphoto-show-short-tutorials-by-topic.html',600,750));", ""]);

arrItems.push(["Help"]); //create header
arrItems.push(["Find Answers","javascript: void(GB_showFullScreen('Help','http://support.dotphoto.com/'));", ""]);


menu[1] = {  // REQUIRED!!  This menu explicitly declares all available options even if they are the same as the defaults
    id:'menu1', //use unique quoted id (quoted) REQUIRED!!
    /////////////////////////////////////
    ///////////// no quotes for these properties (numbers represent pixels unless otherwise noted): ////////////
    /////////////////////////////////////
    user_defined_stylesheet:false, //if true, prevents script from generating stylesheet for this menu
    user_defined_markup:false, //if true, prevents script from generating markup for this menu
    design_mode:false,  //if true, generates a report of the script generated/intended styles and markup (as a design aid)
    
    menutop: 1,     // initial top offset - except for top menu, where it is meaningless
    keepinview:true,   // Use false (for not static) - OR - true or numeric top offset when page scrolls
    menuspeed:20,    // Speed of menu sliding smaller is faster (interval of milliseconds)
    menupause:500,   // How long menu stays out when mouse leaves it (in milliseconds)
    d_colspan:3,     // Available columns in menu body as integer
    allowtransparent:false, // true to allow page to show through menu if other bg's are transparent or border has gaps
    
    barwidth:60,     // bar (the vertical cell) width
    wrapbar:true,    // extend and wrap bar below menu for a more solid look (default false) - will revert to false for top menu
    
    hdingwidth:210,  // heading - non linked horizontal cells width
    hdingheight:28,  // heading - non linked horizontal cells height
    hdingindent:1,   // heading - non linked horizontal cells text-indent represents ex units (@8 pixels decimals allowed)
    
    linkheight:26,   // linked horizontal cells height
    linktopad:5,     // linked horizontal cells top padding
    borderwidth:2,   // inner border-width used for this menu
    
    /////////////////////////// quote these properties: /////////////////////
    bordercolor:'#9cb5cb', // inner border color
    borderstyle:'solid',    // inner border style (solid, dashed, inset, etc.)
    
    outbrdcolor:'#e2dfdf',  // outer border color
    outbrdstyle:'solid',     // outer border style (solid, dashed, inset, etc.)
    outbrdwidth:'0px 1px 1px 0px', // outer border-width used for this menu (top right bottom left)    
    
    barcolor:'white',        // bar (the vertical cell) text color
    barbgcolor:'#DDAA00',    // bar (the vertical cell) background color
    barfontweight:'bold',    // bar (the vertical cell) font weight
    baralign:'center',       // bar (the vertical cell) right left or center text alignment
    
    menufont:'verdana',      // menu font
    fontsize:'100%',          // express as percentage with the % sign
    
    hdingcolor:'white',      // heading - non linked horizontal cells text color
    hdingbgcolor:'#9cb5cb',  // heading - non linked horizontal cells background color
    hdingfontweight:'bold',  // heading - non linked horizontal cells font weight
    hdingvalign:'middle',    // heading - non linked horizontal cells vertical align (top, middle or center)
    hdingtxtalign:'left',    // heading - non linked horizontal cells right left or center text alignment
    
    linktxtalign:'left',     // linked horizontal cells right left or center text alignment
    linktarget:'',           // default link target, leave blank for same window (other choices: _new, _top, or a window or frame name)
    
    kviewtype:'fixed',       // Type of keepinview - 'fixed' utilizes fixed positioning where available, 'absolute' fluidly follows page scroll
    menupos:'left',         // set side that menu slides in from (right or left or top)
    bartext:'<img src="img/sideMenu.gif"/>',       // bar text (the vertical cell) use text or img tag
    ///////////////////////////
    menuItems:arrItems
    
}; // REQUIRED!! do not edit or remove

////////////////////Stop Editing/////////////////

make_menus();