<!--
function openPrintWindow(url,params,w,h) {
	gourl=url+params;
	//alert (gourl);
	window.open(gourl,"newWin","width="+w+",height="+h+",toolbar=no,location=no,resizable=yes,menubar=no,scrollbars=yes");
}

var ImageNumber = 1;
RotationImgs = [
	"/pix/60matolla.jpg",
	"/pix/kiinteistoharjatwebbi.jpg",
	"/pix/koktaili.jpg"
	];

$(document).ready(function() {
	setInterval($(".EtusivunRotate").ImageRotation, 4000);
	});

$.fn.extend({ ImageRotation : function() {
	$(".EtusivunRotate").fadeOut("slow", function() {
		$(this).attr("src", RotationImgs[ImageNumber]).fadeIn("slow");
		if(ImageNumber==2) { ImageNumber=0; }
		else { ImageNumber++; }
		});
	}});

// -->