/*
*	Popup window for Interface Solutions E-News signup
*/
	var ENews_Signup_Wnd;
	function open_enews_window (url) {
		var Wnd_Height, Wnd_Width;
		if(ENews_Signup_Wnd)ENews_Signup_Wnd.close();
	
		Wnd__Height = screen.height - 200;
		Wnd_Width = (85 * (screen.width - 50))/100;
	
		ENews_Signup_Wnd = window.open(url, "wnd1", 'left=50, top=50, width='+Wnd_Width+', height='+Wnd__Height+', location=no, menubar=no, status=yes, toolbar=n0, scrollbars=yes, resizable=yes');
	}

/*
*	Form window for general user info forms
*/
	var Form_Wnd;
	function open_form_window (url) {
		var Wnd_Height, Wnd_Width;
		if(Form_Wnd)Form_Wnd.close();

		Wnd__Height = screen.height - 200;
		Wnd_Width = (85 * (screen.width - 50))/100;

		Form_Wnd = window.open(url, "wnd2", 'left=50, top=50, width='+Wnd_Width+', height='+Wnd__Height+', location=no, menubar=no, status=yes, toolbar=n0, scrollbars=yes, resizable=yes');
	}

/*
*	Popup window for images
*	There is a small margin along left and top edges of window
*/
	var Popup_Wnd;
	function open_window (imgCaption,url,pic_width,pic_height) {
		if(Popup_Wnd)Popup_Wnd.close();

		pic_width = pic_width + 20;
		pic_height = pic_height + 124;
		Popup_Wnd = window.open("", "wnd3", 'width='+pic_width+', height='+pic_height+', left=50, top=50, location=no, menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes');

		Popup_Wnd.document.write ("<html> \n\n");

		Popup_Wnd.document.write( "<head><title>"+imgCaption+"</title></head > \n\n" );

		Popup_Wnd.document.write ("<body> \n\n");

		Popup_Wnd.document.write ("<p align='center'><font face='Arial'> \n");
		Popup_Wnd.document.write ("<span style='font-size: 12pt; font-weight: 700' lang='en-us'>"+imgCaption+"</span></font></p> \n");
		Popup_Wnd.document.write ("<p> \n\n");

		Popup_Wnd.document.write ("<img src='"+url+"' border=0> \n\n");
	
		Popup_Wnd.document.write ("<p align='center'><font face='Arial'> \n");
		Popup_Wnd.document.write ("<span style='font-size: 12pt; font-weight: 700' lang='en-us'>\n");
		Popup_Wnd.document.write ("<a href='javascript:close()'><span style='text-decoration: none'>Close Window</span></a></span></font> \n\n");

		Popup_Wnd.document.write ("</body> \n\n");
		Popup_Wnd.document.write ("</html> \n\n");
	}

/*
*	Popup window for images
*	There is no margin along left and top edges of window
*/
	var Popup_Wnd;
	function open_window_0_0 (imgCaption,url,pic_width,pic_height) {
		if(Popup_Wnd)Popup_Wnd.close();

		pic_width = pic_width + 20 + 25;
		pic_height = pic_height + 124;
		
		if (pic_height > 520) pic_height = 520;
		
		Popup_Wnd = window.open("", "wnd3", 'width='+pic_width+', height='+pic_height+', left=5, top=5, location=no, menubar=no, status=no, toolbar=no, scrollbars=yes, resizable=yes');

		Popup_Wnd.document.write ("<html> \n\n");

		Popup_Wnd.document.write( "<head><title>"+imgCaption+"</title></head > \n\n" );

		Popup_Wnd.document.write ("<body> \n\n");

		Popup_Wnd.document.write ("<p align='center'><font face='Arial'> \n");
		Popup_Wnd.document.write ("<span style='font-size: 12pt; font-weight: 700' lang='en-us'>"+imgCaption+"</span></font></p> \n");
		Popup_Wnd.document.write ("<p> \n\n");

		Popup_Wnd.document.write ("<img src='"+url+"' border=0> \n\n");
	
		Popup_Wnd.document.write ("<p align='center'><font face='Arial'> \n");
		Popup_Wnd.document.write ("<span style='font-size: 12pt; font-weight: 700' lang='en-us'>\n");
		Popup_Wnd.document.write ("<a href='javascript:close()'><span style='text-decoration: none'>Close Window</span></a></span></font> \n\n");

		Popup_Wnd.document.write ("</body> \n\n");
		Popup_Wnd.document.write ("</html> \n\n");
	}





