$(document).ready(function() {
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //EXIT LINK MARKING
  $("a[href^=http]").not(".noIcon").not("a[href$=.pdf]").not("[href*=.lml.com]").attr({title: "This link takes you to an external website."}).attr({target: "_blank"}).append("<a href=/'this().attr(href)'/><img src='/images/external.gif' alt='This link takes you to an external website.' width='15' height='11' /></a>");
  //PDF LINK MARKING
  $("a[href$=.pdf]").not(".noIcon").attr({title: "This link opens a PDF document."}).attr({target: "_blank"}).append("<a href=/'this().attr(href)'/><img src='/images/pdf.gif' alt='This link opens a PDF document.' width='27' height='10' /></a>");
  //DOC LINK MARKING
  $("a[href$=.doc]").not(".noIcon").attr({title: "This link opens a Word document."}).attr({target: "_blank"}).append("<a href=/'this().attr(href)'/><img src='/images/doc.gif' alt='This link opens a Word document.' width='27' height='10' /></a>");
  //XLS LINK MARKING
  $("a[href$=.xls]").not(".noIcon").attr({title: "This link opens a Excel document."}).attr({target: "_blank"}).append("<a href=/'this().attr(href)'/><img src='/images/xls.gif' alt='This link opens a Excel document.' width='27' height='10' /></a>");

  //SLIDE TOGGLE, START HIDDEN - SLIDE DOWN - NEXT
  $('.slideContainerNext').removeClass('hide').hide();
  $('a.slideLinkNext').toggle(function(){
	$(this).parent().next().slideDown('fast');
  },function(){
	$(this).parent().next().slideUp('fast');
  });
  //SLIDE TOGGLE, START HIDDEN - SLIDE DOWN - PREV
  $('.slideContainerPrev').removeClass('hide').hide();
  $('a.slideLinkPrev').toggle(function(){
	$(this).parent().prev().slideDown('fast');
  },function(){
	$(this).parent().prev().slideUp('fast');
  });
  //ADD AND REMOVE HOVER CLASS TO SUBMIT BUTTON
  $('.buttontext').live('mouseover', function(){
	$(this).addClass('buttonHover');
  });
  $('.buttontext').live('mouseout', function(){
	$(this).removeClass('buttonHover');
  });
});
