/* Pro Sign & Banner Javascript */

$(document).ready(function(){ // open docready
// on click event to generate the opensaved design dialog
$("#openSavedDesign").click(function() {
  $("#header_tagLine h1").slideUp(250);
  $("#openSaved_form").slideDown(250, function(){
    $("#focusMagnet").focus(); // add focus on complete of slide down
  });
});
//header_tagLine
$(".header_login").click(function() { 
  $("#header_login_slider").slideToggle();
});
// Glossy button animation on /sales/ pages
$(".more_info").hover(function () {
      $(this).fadeTo(250, .7);
    },function () {
      $(this).fadeTo(100, 1);
    }
  );
  // The color picker used on corp pages
  //$('#colorpicker').farbtastic('#color');
}); // CLOSE docready
/* Other functions */

// display next sibling
function nextSiblingOn(id){ /* used heavy on help page*/
  $(id).next().toggle()
    .css('width', '85%')
    .css('margin-left', '20px');
}
// Form Validation
function validate_required(fld,alrt){
  with (fld){
    if (value==null||value==""){
      alert(alrt);return false;
    }
    else{
      return true;
    }
  }
}

// This is essentially some legacy shtuff I don't want to deal with BUT was pissing me off for output.
self.name = "index"; // this is required to run flash program
st_siteroot="";
st_jspath="./tpl/javascript/stmenu.js";
if(!window.location.href.indexOf("file:") && st_jspath.charAt(0)=="/")
  document.write('<script type="text/javascript" src="'+st_siteroot+st_jspath+'"></script>');
else 
document.write('<script type="text/javascript" src="'+st_jspath+'"></script>');




