var
    but1 = new Image();
	but1.src  = "pic/kubik_1.gif";
	but1s = new Image();
	but1s.src = "pic/kubik_a.gif";
	
function rollon(imgName,imgName2) {
	imgName.src = imgName2.src;
}
function windowopen (url, w, h)
{
nn4 = (document.layers)? true : false;
ie4 = (document.all)? true : false;
posX = Math.round((screen.width - w) / 2);
posY = Math.round((screen.height - h) / 2);
//widthGif+=20;
//heightGif+=20;
poscode = (nn4)? "screenX="+posX+",screenY="+posY : "left="+posX+",top="+posY;
window.open(url, "photoWindow", "status=yes,width="+w+",height="+h+","+poscode);
}
