// function initPage() {
// 	initButtonHover();
// }
// function initButtonHover()
// {
// 	if (typeof document.body.style.maxHeight == 'undefined') ie6 = true;
// 	else ie6 = false;
// 	var inputs = document.getElementsByTagName("input");
// 	for(var i=0; i<inputs.length; i++) {
// 		if(inputs[i].type == "image") {
// 			if (ie6) {
// 				if (inputs[i].src.indexOf(".png") != -1) {
// 					var src = inputs[i].src;
// 					inputs[i].path = inputs[i].src;
// 					inputs[i].src = "images/none.gif";
// 					inputs[i].runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
// 				}
// 			}
// 			inputs[i].onmouseover = function() {
// 				if(this.path && ie6) this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.path.replace(this.path, this.path.substr(0, this.path.lastIndexOf(".")) + "-hover" + this.path.substr(this.path.lastIndexOf("."))) + "',sizingMethod='scale')";
// 				else this.src = this.src.replace(this.src, this.src.substr(0, this.src.lastIndexOf(".")) + "-hover" + this.src.substr(this.src.lastIndexOf(".")));
// 			}
// 			inputs[i].onmouseout = function() {
// 				if(this.path && ie6) this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.path + "',sizingMethod='scale')";
// 				this.src = this.src.replace("-hover", "");
// 			}
// 		}
// 	}
// }
// if (window.addEventListener)
// 	window.addEventListener("load", initPage, false);
// else if (window.attachEvent)
// 	window.attachEvent("onload", initPage);

//jquery version of above code
// $(document).ready(function(){
//     $('#input_image').hover(function() {
//         var currentImg = $(this).attr('src');
//         $(this).attr('src', $(this).attr('hover'));
//         $(this).attr('hover', currentImg);
//     }, function() {
//         var currentImg = $(this).attr('src');
//         $(this).attr('src', $(this).attr('hover'));
//         $(this).attr('hover', currentImg);
//     });
// });
