function imageShow(image,alt){
	posLeft=(screen.availWidth-200)/2;
	posTop=(screen.availHeight-100)/2;
	msg ='<meta http-equiv="imagetoolbar" content="true">';
	msg+='<script>';
	msg+='leftPressed=0;';
	msg+='function ClickCheck(){';
	msg+='if(event.button==1){leftPressed=1;oldMouseX=event.clientX;oldMouseY=event.clientY;}}';
	msg+='document.onmousedown=ClickCheck;';
	msg+='function Release(){leftPressed=0;}';
	msg+='document.onmouseup=Release;';
	msg+='function mouseMoved(){if(leftPressed){mouseX=event.clientX;mouseY=event.clientY;';
	msg+='window.scrollBy(oldMouseX-mouseX,oldMouseY-mouseY);oldMouseX=mouseX;oldMouseY=mouseY;}}';
	msg+='</script>';
	msg+='<html><head><title>'+alt+'</title>';
	msg+='<script>';
	msg+='function CenterImage(){';
	msg+='w=document.images[0].width+26;h=document.images[0].height+29;';
	msg+='scrWidth=screen.availWidth;scrHeight=screen.availHeight;';
	msg+='posLeft=(scrWidth-w)/2;posTop=(scrHeight-h)/2;';
	msg+='if(posLeft<0){posLeft=0;w=scrWidth;}';
	msg+='if(posTop<0){posTop=0;h=scrHeight;}';
	msg+='window.moveTo(posLeft,posTop);window.resizeTo(w,h);';
	msg+='document.getElementById("loading").style.visibility="hidden";';
	msg+='document.getElementById("loading").style.display="none";}';
	msg+='</script>';
	msg+='</head><body onload="CenterImage()">';
	msg+='<div style="position: absolute; left:0px; top:0px;"><img src="'+image+'" ondrag="mouseMoved()" style="cursor: pointer; cursor: hand;"></div>';
	msg+='<div id="loading" style="position: absolute; left: 0px; top: 0px;"><table bgcolor="black" width=200 height=100><td align=center style="font: 11px verdana; color: white;">Loading...</td></table></div>';
	msg+='</body></html>';
	BigImage=window.open('','',"resizable=no,scrollbars=yes,width=216,height=100,left="+posLeft+",top="+posTop);
	BigImage.document.write(msg);
	BigImage.document.close();
}

function winShow(doc,alt,res,scr,men,tol,width,height){
	posLeft=(screen.availWidth-width)/2;
	posTop=(screen.availHeight-height)/2;
	msg='<html><head><title>'+alt+'</title>';
	msg+='<script>';
	msg+='function load(){';
	msg+='scrWidth=screen.availWidth;scrHeight=screen.availHeight;';
	msg+='posLeft=(scrWidth)/2;posTop=(scrHeight)/2;';
	msg+='if(posLeft<0){posLeft=0;}';
	msg+='if(posTop<0){posTop=0;}';
	msg+='window.moveTo(posLeft,posTop);';
	msg+='}';
	msg+='</script>';
	msg+='</head><body onload="load()">';
	msg+='</body></html>';
	BigImage=window.open(doc,'',"resizable="+res+",scrollbars="+scr+",menubar="+men+",toolbar="+tol+",width="+width+",height="+height+",left="+posLeft+",top="+posTop);
	BigImage.document.write(msg);
	BigImage.document.location.href = doc;
	BigImage.document.close();
}