// jQuery code
$(document).ready(function() {
	// fix PNG for IE6 using ifixpng plugin
	$("img").ifixpng();

});

// this is a debug function to print out object information
function printObject(obj) {
	var str = '';
	for(prop in obj) { str+=prop + " value :"+ obj[prop]+"\n"; }
	alert(str);
}
//*/

 
function fixPng(png) {
	// get src
	var src = png.src;
	// set width and height
	if (!png.style.width) { png.style.width = $(png).width(); }
	if (!png.style.height) { png.style.height = $(png).height(); }
	// replace by blank image
	png.onload = function() { };
	png.src = blank.src;
	// set filter (display original image)
	png.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
}
