﻿
jQuery(document).ready(function (e) {
    //rewrite the html for the menu to get rid of a "-" which I could not find in the code.
    var topMenu = jQuery("#nav", jQuery('.clearfix'));
    //testimonialsNum = (topMenu.children("li").length - 1);
    //topMenu.html(topMenu.html().replace(/[\-]/g, ""));//topMenu.html();
    //var newstr = str.replace(/[\-]/g, "");
    //alert(str);
    //alert(newstr);
    //topMenu.append('<li class="level0 nav-'+testimonialsNum+'"><a class="" href="http://www.creativewoodprod.com/testimonials"><span>Testimonials</span></a></li>');

    //change the target for the about us link
    //jQuery('.jm-info').children('ul').children('li').first().children("a").attr("href", "http://www.creativewoodprod.com/index.php/about-us");

    //change the style for the pen Engraving Option.  
    jQuery('.penEngravingInput').css("border-style", "solid").css('border-color', 'black');
    jQuery('.penEngravingInput').val("Enter what you would like to see engraved on your pen");
    jQuery('.penEngravingInput').unbind("click");
    jQuery('.penEngravingInput').bind(engraving);
});

var engraving = {
        click: function (e) {
            this.value = "";
        }
    };
