function setpng(img) {
	if(document.all && (IEver=parseFloat(navigator.appVersion.split("MSIE")[1])) && (IEver>=5.5) && (IEver<7) && document.body.filters && img) {
		imgName=img.src.toUpperCase();
		if(imgName.substring(imgName.length-3,imgName.length)=="PNG") {
			//alert(img.onmouseover);
			
			img.outerHTML=
			"<span "+(img.onmouseover?' onmouseover="'+img.onmouseover+'"':'')+" "+(img.id?"id='"+img.id+"_span' ":" ")+(img.className?"class='"+img.className+"' ":"")+(img.title?"title=\""+img.title+"\" ":"")
			+"style=\"width:"+img.width+"px;height:"+img.height+"px;"+(img.align=="left"?"float:left;":(img.align=="right"?"float:right;":""))
			+(img.parentElement.href?"cursor:hand;":"")+"display:inline-block;"+img.style.cssText+";"
			+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+img.src+"',sizingMethod='scale');\"></span>";
		
		}
		
	}
}

function MM_preloadImages() { //v3.0
	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   	if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

/***********************************************/

function change_over_hp(element, img)
{
	document.getElementById(element).src = 'images/' + img + '.gif';
}

function change_out_hp(element, img)
{
	document.getElementById(element).src = 'images/' + img + '.gif';
}


function change_over(element, img)
{
	document.getElementById(element).src = '../images/' + img + '.gif';
}

function change_out(element, img)
{
	document.getElementById(element).src = '../images/' + img + '.gif';
}