//png fix
$('img[src$=.png], .png').ifixpng();

//open links in new window
$('a.newWindow').click(function(){
	var href = $(this).attr('href');
	window.open(href);
	return false;
});

//open divs in new window
$('div.newWindow').addClass('cPointer');
$('div.newWindow').click(function(){
	var href = $(this).attr('title');
	window.open(href);
	return false;
});

//open divs in the same window
$('div.sameWindow').addClass('cPointer');
$('div.sameWindow').click(function(){
	var href = $(this).attr('title');
	location.href = href;
	return false;
});
