function side(width,height,src,href,alt,target){
	var al = alt!=null ? alt : '#';
	var tg = target!=null ? target : '_self';
	var html_document = new String();
	html_document += '<a class="imgb" target="'+tg+'" href="'+href+'" style="width:'+width+'px;height:'+height+'px;background-image:url('+src+');margin:0px;padding:0px;display:block" ';
	html_document += 'onmouseover="style.backgroundPosition=\''+(-width)+'px 0px\'"';
	html_document += 'onmouseout="style.backgroundPosition=\'0px 0px\'" ';
	html_document += '><span style="visibility:hidden">'+alt+'</span></a>';
	document.write(html_document);
}
function vert(width,height,src,href,alt,target){
	var al = alt!=null ? alt : '#';
	var tg = target!=null ? target : '_self';
	var html_document = new String();
	html_document += '<a class="imgb" target="'+tg+'" href="'+href+'" style="width:'+width+'px;height:'+height+'px;background-image:url('+src+');margin:0px;padding:0px;display:block;font-size:1px" ';
	html_document += 'onmouseover="style.backgroundPosition=\'0px '+(-height)+'px\'"';
	html_document += 'onmouseout="style.backgroundPosition=\'0px 0px\'" ';
	html_document += '><span style="visibility:hidden">'+alt+'</span></a>';
	document.write(html_document);
}
function vert(width,height,src,href,alt,target,onclick){
	var al = alt!=null ? alt : '#';
	var tg = target!=null ? target : '_self';
	var html_document = new String();
	html_document += '<a class="imgb" target="'+tg+'" href="'+href+'" style="width:'+width+'px;height:'+height+'px;background-image:url('+src+');margin:0px;padding:0px;display:block;font-size:1px" ';
	if(onclick == true){
		html_document += 'onclick="javascript:return isClicked();"';
	}
	html_document += 'onmouseover="style.backgroundPosition=\'0px '+(-height)+'px\'"';
	html_document += 'onmouseout="style.backgroundPosition=\'0px 0px\'" ';
	html_document += '><span style="visibility:hidden">'+alt+'</span></a>';
	document.write(html_document);
}
