var o1 = new Image();
var o2 = new Image();

	
$(document).ready(function() {
	o1.src = '/images/order.jpg';
	o2.src = '/images/order2.jpg';
	
	$('.orderlink').hover(function(){
		$(this).attr('src',o2.src);
	},function(){
		$(this).attr('src',o1.src)
	})
	
	$('a[id^=mtextopen]').click(function(){
		var id = $(this).attr('id').replace(/\D/g,'');
		var obj = $('#mtext' + id);
		var ov = obj.css('overflow').toLowerCase();
		var nov = (ov == 'hidden') ? 'visible' : 'hidden';
		obj.css('overflow',nov)
		return false;
	})
	
	$('#brandselect').change(function(){
//		var si = this.selectedIndex;
//		var hr = $(this.options[si]).attr('href');
//		alert(hr)
		//var hr = $(this).attr('href').replace(/bid/g,$(this).val());
		//self.location.href = hr;
	})

});
