<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


function droptuotteet() {  // location will not change if dropdown option value is set: value="#"
  if (document.menutuotteet.select.options[document.menutuotteet.select.selectedIndex].value != '#')
    {
     location.href=(document.menutuotteet.select.options[document.menutuotteet.select.selectedIndex].value);
     return false;
    } 
}

function windowkokoonpanot(url) {
	var pageurl = url;
	options =
	  "width=600,height=455,resizable=yes,"
	+ "screenX=30,screenY=30,"		// netscape
	+ "left=30, top=30,"			// IE
	+ "location=no,scrollbars=no,menubar=no,"
	+ "toolbar=no,titlebar=yes,personalbar=no,"
	+ "personalbar=no,directories=no,"
	+ "fullscreen=no"; 		// IE only
	window.open(pageurl,"Kokoonpanot",options).focus();
}

function profileCard(url) {
	var pageurl = url;
	options =
	  "width=600,height=540,resizable=yes,"
	+ "screenX=30,screenY=30,"		// netscape
	+ "left=30, top=30,"			// IE
	+ "location=no,scrollbars=no,menubar=no,"
	+ "toolbar=no,titlebar=yes,personalbar=no,"
	+ "personalbar=no,directories=no,"
	+ "fullscreen=no"; 		// IE only
	window.open(pageurl,"Profiili",options).focus();
}
//-->
