$(document).ready(function(){
	$('#designanchor').hover(function(){
	$(this).addClass('navbar2');
	$('#img1').hide();
	$('#img12').show();
	},
	function(){
	$(this).removeClass('navbar2');
	$('#img12').hide();
	$('#img1').show();
	});
	
	$('#navbt2').hover(function(){
	$(this).addClass('navbar2');
	$('#img2').hide();
	$('#img22').show();
	},
	function(){
	$(this).removeClass('navbar2');
	$('#img22').hide();
	$('#img2').show();
	});
	
	$('#navbt3').hover(function(){
	$(this).addClass('navbar2');
	$('#img3').hide();
	$('#img32').show();
	},
	function(){
	$(this).removeClass('navbar2');
	$('#img32').hide();
	$('#img3').show();
	});
	
	$('#navbt4').hover(function(){
	$(this).addClass('navbar2');
	$('#img4').hide();
	$('#img42').show();
	},
	function(){
	$(this).removeClass('navbar2');
	$('#img42').hide();
	$('#img4').show();
	});
	
	$('#navbt1').click(function(){
	togo("category.php");
	});
	$('#navbt2').click(function(){
	togo("selectCat.php");
	});
	$('#navbt3').click(function(){
	togo("help.php");
	});
	$('#navbt4').click(function(){
	togo("myAds.php");
	});
	
	$.fn.canvasSwap.defaults.suffix = '_hover';
	
	$.fn.canvasSwap.defaults.ie6_support = true;
	
	$('img.myswap').canvasSwap();
});
function togo(x){
	location.href=x;
}
function winopen(toUrl){
	window.open(toUrl,'new1','width=400,height=400,status=no,scrollbars=yes');
}