$(document).ready(function(){

$('.lineheight2').mouseover(function(){
	$(this).removeClass('lineheight2').addClass('linehead');
	$(this).find('td.arrow').removeClass('arrow').addClass('arrow2'); 

}).mouseout(function(){
	$(this).removeClass('linehead').addClass('lineheight2');
	$(this).find('td.arrow2').removeClass('arrow2').addClass('arrow');
});

$('.lineproduct').mouseover(function(){
	
	$(this).removeClass('lineproduct').addClass('lineproduct2');
});

$('.lineproduct').mouseout(function(){
	$(this).removeClass('lineproduct2').addClass('lineproduct');
});

$('.button').mouseover(function(){
	$(this).find('td.imageleft').removeClass('imageleft').addClass('imagelefthover');
	$(this).find('td.imagecenter').removeClass('imagecenter').addClass('imagecenterhover');
	$(this).find('td.imageright').removeClass('imageright').addClass('imagerighthover');

}).mouseout(function(){
	$(this).find('td.imagelefthover').removeClass('imagelefthover').addClass('imageleft');
	$(this).find('td.imagecenterhover').removeClass('imagecenterhover').addClass('imagecenter');
	$(this).find('td.imagerighthover').removeClass('imagerighthover').addClass('imageright');

});
 
$('.firstimg').mouseover(function(){
	$(this).css({border:'2px solid #748EA9'});
	var src=$(this).attr('src');
	var men=src.split(":");
	var newsrc=men[0];

	$('.main_image img').attr('src',newsrc+':w.200:h.200');
	$('.main_image a').attr('href',newsrc+':w.800:h.500');
}).mouseout(function(){
	$(this).css({border:'2px solid #ccc'});
});

        $('.main_image a').lightBox();
		  $('.imagess a').lightBox();
	
	
	if(screen.width<='1024'){
	$('.changable').css({width:'150%'});
	
	}

});

