  
  var newPhoto1 = new Image();
  newPhoto1.src = '/images/hoverbtn.png';
    var newPhoto2 = new Image();
  newPhoto2.src = '/images/hoveredge.png';
    
/***********************************************************
/         DEVELOPMENT BY RYAN MOELLER @ Red Olive Design   *
/             http://www.redolivedesign.com                *
***********************************************************/

$(document).ready(function() {

$('.top').hover(function() {
	var firsta = $(this).children('.topcolor');
	$(firsta).css({'background-image' : 'url(/images/hoverbtn.png)' , 'color' : '#000' , 'background-repeat' : 'no-repeat' , 'background-position' : 'left'});
	$(firsta).children('.rightedge').css({'background-image' : 'url(/images/hoveredge.png)' , 'background-repeat' : 'no-repeat' , 'background-position' : 'right'});
	var myDrop = $(this).children('.drop');
	$(myDrop).show(100);
}, function() {
	var firsta = $(this).children('.topcolor');
	$(firsta).css({'background-image' : 'none' , 'color' : '#fff'});
	$(firsta).children('.rightedge').css({'background-image' : 'none'});
	var myDrop = $(this).children('.drop');
	$(myDrop).stop(true, true).hide(0);
	$('.two').css({'display' : 'none'}); /*fixes safari bug with flyout artifacts*/
});

$('.one').hover(function() {
	var myFly = $(this).children('.two');
	$(myFly).show(100);
}, function() {
	var myFly = $(this).children('.two');
	$(myFly).stop(true, true).hide(0);
});

$('.lgbtn').wrapInner('<span>');


});

