<!--#include virtual="/cinc/ipconstants.asp"-->
<!--	

	function detectSP2() {	
	// Thank you, Microsoft for your lousy Service Pack 2, which ignores 'status=no' property
	// So now I have to detect if SP2 is installed, and if it is, increase the height
	// of the window to compensate for the frickin' status bar, which appears
	// whether I like it or not (and I do NOT like it, for the record, not that MS cares).
	
	var g_fIsSP2 = false;
	
  		g_fIsSP2 = (window.navigator.userAgent.indexOf("SV1") != -1);
		//alert(g_fIsSP2);
  	if (g_fIsSP2){
      //This browser is Internet Explorer in SP2. 
	  h = parseInt(h);	  
	  h = h + 22;  // the approximate height of the status bar.
	}
  else{
      //This browser is not Internet Explorer in SP2.
	  h = parseInt(h);	  
	  h = h + 0;
	  }
	}
	
/***********
	function mieUWHLT()  --for use on miele.com for opening feature/benefit windows
***********/
function mieUWHLT(url,width,height,left,top) {
	
	w= width;
	h= height;		
	l = left;
	t = top;	
	spTest = detectSP2();
	//ww = detectSP2();
	//wh = detectSP2();
	myNewWin=window.open(url,"mieWindow","resizable=yes,menubar=no,location=no,toolbar=no,scrollbars=yes,status=no,directories=no");if(window.focus){myNewWin.focus();};	
	
	myNewWin.resizeTo(w,h);	
	myNewWin.moveTo(l,t);	
	 
	
	myIP = "";
	theUrl = "";	
	w= "";
	h= "";
	l = "";
	t = "";
	
	//mieUWHLTresize(ww,wh)
	}

/***********
for mielevacuums.com use function vacUWHLT for opening new windows
***********/
function vacUWHLT(url,width,height,left,top) {
	w= width;
	h= height;		
	l = left;
	t = top;	
	spTest = detectSP2();
	
	myNewWin=window.open(url,"vacWindow","resizable=no,menubar=no,location=no,toolbar=no,scrollbars=no,status=no,directories=no");if(window.focus){myNewWin.focus();};	
	
	myNewWin.resizeTo(w,h);	
	myNewWin.moveTo(l,t);	
	
	myIP = "";
	theUrl = "";	
	w= "";
	h= "";
	l = "";
	t = "";
	}
	/*********
	for steamoven.com
	********/
	
function steUWHLT(url,width,height,left,top) {
	w= width;
	h= height;		
	l = left;
	t = top;	
	
	myNewWin=window.open(url,"steWindow","resizable=no,menubar=no,location=no,toolbar=no,scrollbars=no,status=no,directories=no");if(window.focus){myNewWin.focus();};	
	
	myNewWin.resizeTo(w,h);	
	myNewWin.moveTo(l,t);	
	
	myIP = "";
	theUrl = "";	
	w= "";
	h= "";
	l = "";
	t = "";
	}
//-->

/*****************************************
	FOR MVD.COM IMAGE LIBRARY GALLERIES
	
*****************************************/
function mvdUWHLT(url,width,height,left,top) {
	w= width;
	h= height;		
	l = left;
	t = top;	
	
	

myNewWin=window.open(url,"vacWindow","resizable=no,menubar=no,location=no,toolbar=no,scrollbars=no,status=no,directories=no");if(window.focus){myNewWin.focus();};	
	
	myNewWin.resizeTo(w,h);	
	myNewWin.moveTo(l,t);	
	
	myIP = "";
	theUrl = "";	
	w= "";
	h= "";
	l = "";
	t = "";
	}
	
/***********
for miele.com use function mieScrollUWHLT for opening new windows
***********/

function mieScrollUWHLT(url,width,height,left,top) {
	
	w= width;
	h= height;		
	l = left;
	t = top;	
	spTest = detectSP2();
	
	myNewWin=window.open(url,"mieScrollWindow","resizable=no,menubar=no,location=no,toolbar=no,scrollbars=yes,status=yes,directories=no");if(window.focus){myNewWin.focus();};	
	
	myNewWin.resizeTo(w,h);	
	myNewWin.moveTo(l,t);	
	
	myIP = "";
	theUrl = "";	
	w= "";
	h= "";
	l = "";
	t = "";
	}
	
/***********

***********/

function fullUWHLT(url,width,height,left,top) {
	w= width;
	h= height;		
	l = left;
	t = top;	
	
	myNewWin=window.open(url,"fullWindow","resizable=yes,menubar=no,location=no,toolbar=no,scrollbars=yes,status=yes,directories=no,fullscreen=no");if(window.focus){myNewWin.focus();};	
	
	myNewWin.resizeTo(w,h);	
	myNewWin.moveTo(l,t);	
	
	myIP = "";
	theUrl = "";	
	w= "";
	h= "";
	l = "";
	t = "";
	}
	
	
/***********

***********/
function imageUWHLT(url,width,height,left,top) {
	w= width;
	h= height;		
	l = left;
	t = top;	
	
	myNewWin=window.open(url,"imageWindow","resizable=yes,menubar=no,location=no,toolbar=no,scrollbars=yes,status=no,directories=no,fullscreen=no");if(window.focus){myNewWin.focus();};	
	
	myNewWin.resizeTo(w,h);	
	myNewWin.moveTo(l,t);	
	
	myIP = "";
	theUrl = "";	
	w= "";
	h= "";
	l = "";
	t = "";
	}
	
/***********

***********/
function openWindowAllPropertiesOn(url,width,height,left,top) {
	
	w= width;
	h= height;		
	l = left;
	t = top;	
	spTest = detectSP2();
	
	myNewWin=window.open(url,"allPropertiesOnWindow","resizable=yes,menubar=yes,location=yes,toolbar=yes,scrollbars=yes,status=yes,directories=yes");if(window.focus){myNewWin.focus();};	
	
	myNewWin.resizeTo(w,h);	
	myNewWin.moveTo(l,t);	
	
	myIP = "";
	theUrl = "";	
	w= "";
	h= "";
	l = "";
	t = "";
	}
/***********

***********/


	function anotherWindow(form) {
if (form.location.selectedIndex> 0 ){
	var URL=form.location.options[form.location.selectedIndex].value;
	document.location = URL;
	//newWin = window.open(URL, "anotherWindow", "toolbar=1,location=1,menubar=1,scrollbars=1,status=1,resizable=1,position=absolute,left=5,top=5,height=575,width=785");
	/*
	if(window.focus){
	newWin.focus();
		}
	*/
	}
}




	function anotherWindowSelect(form,field) {
	//alert(field);
	index = field.selectedIndex;
	//alert("selectedIndex is " + index +  "<--");
	
	if (field.selectedIndex> 0 ){
	var URL=field.options[field.selectedIndex].value;
	//alert(URL);
	document.location = URL;
	}
}
/*************************

// begin design center edit info nav menu functions
**************************/
	function messageWindow(form) {	
if (form.message.selectedIndex> 0 ){
	var URL=form.message.options[form.message.selectedIndex].value;
	document.location = URL;
	}
}

	function hoursWindow(form) {	
if (form.hours.selectedIndex> 0 ){
	var URL=form.hours.options[form.hours.selectedIndex].value;
	document.location = URL;
	}
}
	function directionsWindow(form) {	
if (form.directions.selectedIndex> 0 ){
	var URL=form.directions.options[form.directions.selectedIndex].value;
	document.location = URL;
	}
}
function eventsWindow(form) {	
if (form.events.selectedIndex> 0 ){
	var URL=form.events.options[form.events.selectedIndex].value;
	document.location = URL;
	}
}

/*************************
// end design center edit info nav menu functions
**************************/

function multiMenu() {
	if (document.form2.drop1[0].selected)
	{
		document.form2.drop2.options[0].value = "Now it's green";		
		document.form2.drop2.options[1].value = "Now it's blue";	
		document.form2.drop2.options[2].value = "Now it's red";
	}
	if (document.form2.drop1[1].selected)
	{
		document.form2.drop2.options[0].value = "Now it's dogs";		
		document.form2.drop2.options[1].value = "Now it's cats";	
		document.form2.drop2.options[2].value = "Now it's mice";
	}
}

/*mielenetwork scripts */



function networkWindow(url){
	NewWin=window.open(url,'networkWindow','toolbar,location,directories,status,scrollbars,menubar,resizable,left=150,top=20,height=500,width=500');if(window.focus){NewWin.focus()};
}

	function memberWindow(form) {
	
if (form.member.selectedIndex != -1 )
{
	var URL=form.member.options[form.member.selectedIndex].value;
	newWin = window.open(URL, "memberWindow", "toolbar=yes,menubar=yes,directories=no,location=yes,hotkeys=no,resizable=yes,scrollbars=yes,status=yes,position=absolute,left=5,top=0,height=400,width=750");
	if(window.focus){newWin.focus()
		form.reset(form);
	};
}
if (form.member2.selectedIndex != -1 )
{
	var URL=form.member2.options[form.member2.selectedIndex].value;
	newWin = window.open(URL, "memberWindow", "toolbar=yes,menubar=yes,links=1,location=yes,resizable=yes,scrollbars=yes,status=yes,position=absolute,left=5,top=0,height=400,width=750");
	if(window.focus){newWin.focus()
	form.reset(form);
	};
}
if (form.member3.selectedIndex != -1 )
{
	var URL=form.member3.options[form.member3.selectedIndex].value;
	newWin = window.open(URL, "memberWindow", "toolbar=yes,menubar=yes,links=1,location=yes,resizable=yes,scrollbars=yes,status=yes,position=absolute,left=5,top=0,height=400,width=750");
	if(window.focus){newWin.focus()
	form.reset(form);
	};
}
}