		function printPage() {
		  if (window.print)
		    window.print()
		  else
		    alert("Pahottelemme, selaimenne ei tue t&auml;t&auml; mahdollisuutta.");
		}

        ns4 = (document.layers)? true:false;
        ie4 = (document.all)? true:false;
        w3c = (document.getElementById)? true:false;

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function setAbsPos(targ,l,t) {
	var marginLeft, marginTop;
	if(ie4) {
    	if (targ == "dropdown1") {
		    marginLeft = 25;
	       	marginTop = 30;
          }
        else if (targ == "dropdown2") {
	       marginLeft = 239;
	       	marginTop = 30;
	   }
        else if(targ == "dropdown3") {
	       	marginLeft = 414;
	     	marginTop = 30;
    	}
	}
	else {
    	if (targ == "dropdown1") {
		    marginLeft = 27;
	       	marginTop = 30;
          }
        else if (targ == "dropdown2") {
	       marginLeft = 239;
	       	marginTop = 30;
	   }
        else if(targ == "dropdown3") {
	       	marginLeft = 414;
	     	marginTop = 30;
    	}

	}
	var layer = MM_findObj(targ)
	var pixel = MM_findObj('tagImage')
	layer.style.left = (findPosX(pixel)+l+marginLeft)+'px';
	layer.style.top = (findPosY(pixel)+t+marginTop)+'px';
}

	function findPosX(obj) {
		var curleft = 0;
		if (obj.offsetParent) {
			while (obj.offsetParent) {
				curleft += obj.offsetLeft
				obj = obj.offsetParent;
			}
		}
		else if (obj.x)
			curleft += obj.x;
		return curleft;
	}

	function findPosY(obj) {
		var curtop = 0;
		if (obj.offsetParent) {
			while (obj.offsetParent) {
				curtop += obj.offsetTop
				obj = obj.offsetParent;
			}
		}
		else if (obj.y)
			curtop += obj.y;
		return curtop;
	}



        function showLyr(id) {
	       if (ns4) {
	           setAbsPos(id,0,0);
		      document.layers[id].visibility = "show";
	       }
	       else if (ie4) {
                setAbsPos(id,0,0);
		      document.all[id].style.visibility = "visible";
	       }
	       else if (w3c) {
	           setAbsPos(id,0,0);
		      document.getElementById(id).style.visibility = "visible";
        	}
        }

        function hideLyr(id) {
	       if (ns4) {
		      document.layers[id].visibility = "hide";
    	   }
	       else if (ie4) {
		      document.all[id].style.visibility = "hidden";
        	}
	       else if (w3c) {
		      document.getElementById(id).style.visibility = "hidden";
        	}
        }

        function init() {
            hideLyr('dropdown1');
            hideLyr('dropdown2');
            hideLyr('dropdown3');
        }
