﻿// AIS Footer with banner
//

	var divMainContainer = document.getElementById("main");
	{
		// div id="box-container"
		var divBoxContainer = document.createElement("div");
		divMainContainer.appendChild(divBoxContainer);
		divBoxContainer.setAttribute("id", "box-container");
		{
			// banners
			var divBanners = document.createElement("div");
			divBoxContainer.appendChild(divBanners);
			divBanners.setAttribute("id", "banners");
			{
				// ul
				var ulBanners = document.createElement("ul");
				divBanners.appendChild(ulBanners);
				{
					// li added by toyo 2010.03.10 to Google Search
					var liSearch = document.createElement("li");
					ulBanners.appendChild(liSearch);
					{
						// form 
						var formSearch = document.createElement("form");
						liSearch.appendChild(formSearch);
						formSearch.setAttribute("action", "http://www.google.com/cse");
						formSearch.setAttribute("id", "cse-search-box");
						{
							// div
							var divSearch = document.createElement("div");
							formSearch.appendChild(divSearch);
							divSearch.setAttribute("id", "googlesearch");
							{
								if (navigator.appName.match(/Microsoft/i) != null) {	// Dialect in Microsoft Internet Explorer
									var inputCx = document.createElement('<input type="hidden" name="cx" value="010675961197003610232:15u_jjpbffy" />');
									divSearch.appendChild(inputCx);
									var inputIe = document.createElement('<input type="hidden" name="ie" value="UTF-8" />');
									divSearch.appendChild(inputCx);
									var inputKeyword = document.createElement('<input type="text" name="q" size="12" class="keyword" />');
									divSearch.appendChild(inputKeyword);
									var inputSubmit  = document.createElement('<input type="submit" name="sa" value="検索" class="search" />');
									divSearch.appendChild(inputSubmit);
									//alert ("Microsoft");
								} else {	// Standard DOM Browser
									//alert ("Standard");
									// input Cx
									var inputCx = document.createElement("input");
									divSearch.appendChild(inputCx);
									inputCx.setAttribute("type", "hidden");
									inputCx.setAttribute("name", "cx");
									inputCx.setAttribute("value", "010675961197003610232:15u_jjpbffy");
									// input Ie
									var inputIe = document.createElement("input");
									divSearch.appendChild(inputCx);
									inputIe.setAttribute("type", "hidden");
									inputIe.setAttribute("ie", "UTF-8");
									// input Keyword
									var inputKeyword = document.createElement("input");
									divSearch.appendChild(inputKeyword);
									inputKeyword.setAttribute("class", "keyword");
									inputKeyword.setAttribute("type", "text");
									inputKeyword.setAttribute("name", "q");
									inputKeyword.setAttribute("size", "12");
									// input Submit
									var inputSubmit = document.createElement("input");
									divSearch.appendChild(inputSubmit);
									inputSubmit.setAttribute("type", "submit");
									inputSubmit.setAttribute("name", "sa");
									inputSubmit.setAttribute("value", "検索");
									inputSubmit.setAttribute("class", "search");
								}
							} // end of div
						} // end of form
					} // end of li
					// li
					var liBanners1 = document.createElement("li");
					ulBanners.appendChild(liBanners1);
					{
						// a
						var aBanners1 = document.createElement("a");
						liBanners1.appendChild( aBanners1 );
						aBanners1.setAttribute("href", "/products/marvelio.html");
						{
							// img 
							var imgBanners1 = document.createElement("img");
							aBanners1.appendChild(imgBanners1);
							imgBanners1.setAttribute("src", "/img/common/banner/banner_02_n.jpg" );
							imgBanners1.setAttribute("alt", "Marvelio(R) 新世代プリンタ マーベリオ");
							imgBanners1.setAttribute("title", "Marvelio(R) 新世代プリンタ マーベリオ");
							imgBanners1.setAttribute("width", "220");
							imgBanners1.setAttribute("height", "65");

						} // end of a
					} // end of li
				
					// li
					var liBanners2 = document.createElement("li");
					ulBanners.appendChild(liBanners2);
					{
						// a
						var aBanners2 = document.createElement("a");
						liBanners2.appendChild( aBanners2 );
						aBanners2.setAttribute("href", "/support/supply.html");
						{
							// img 
							var imgBanners2 = document.createElement("img");
							aBanners2.appendChild(imgBanners2);
							imgBanners2.setAttribute("src", "/img/common/banner/banner_03_n.jpg" );
							imgBanners2.setAttribute("alt", "RIBBON LABEL リボンラベルの種類と用途");
							imgBanners2.setAttribute("title", "RIBBON LABEL リボンラベルの種類と用途");
							imgBanners2.setAttribute("width", "220");
							imgBanners2.setAttribute("height", "65");

						} // end of a
					} // end of li
				
					// li
					var liBanners3 = document.createElement("li");
					ulBanners.appendChild(liBanners3);
					{
						// a
						var aBanners3 = document.createElement("a");
						liBanners3.appendChild( aBanners3 );
						aBanners3.setAttribute("href", "/support/whatsbarcode.html");
						{
							// img 
							var imgBanners3 = document.createElement("img");
							aBanners3.appendChild(imgBanners3);
							imgBanners3.setAttribute("src", "/img/common/banner/banner_04_n.jpg" );
							imgBanners3.setAttribute("alt", "WHAT'S BARCODE バーコードの種類と用途");
							imgBanners3.setAttribute("title", "WHAT'S BARCODE バーコードの種類と用途");
							imgBanners3.setAttribute("width", "220");
							imgBanners3.setAttribute("height", "65");

						} // end of a
					} // end of li

					// li
					var liBanners4 = document.createElement("li");
					ulBanners.appendChild(liBanners4);
					{
						// a
						var aBanners4 = document.createElement("a");
						liBanners4.appendChild( aBanners4 );
						aBanners4.setAttribute("href", "/solution/orwak/orwak.html");
						{
							// img 
							var imgBanners4 = document.createElement("img");
							aBanners4.appendChild(imgBanners4);
							imgBanners4.setAttribute("src", "/img/common/banner/banner_05_n.jpg" );
							imgBanners4.setAttribute("alt", "圧縮減容機");
							imgBanners4.setAttribute("title", "圧縮減容機");
							imgBanners4.setAttribute("width", "220");
							imgBanners4.setAttribute("height", "65");

						} // end of a
					} // end of li

					// li
					//var liBanners = document.createElement("li");
					//ulBanners.appendChild(liBanners);
					//{
						// a
						//var aBanners = document.createElement("a");
						//liBanners.appendChild(aBanners);
						//aBanners.setAttribute("href", "/information/dealings.html");
						//{
							// img 
							//var imgBanners = document.createElement("img");
							//aBanners.appendChild(imgBanners);
							//imgBanners.setAttribute("src", "/img/common/banner/banner_01_n.jpg" );
							//imgBanners.setAttribute("alt", "DEALINGS 今後のお取引について");
							//imgBanners.setAttribute("title", "DEALINGS 今後のお取引について");
							//imgBanners.setAttribute("width", "220");
							//imgBanners.setAttribute("height", "65");

						//} // end of a
					//} // end of li

				} // end of ul
			} // end of div id="banners"
		} // end of div id="box-container"
	} // end of div id="main"



//
// DRAW FOOTER
// draw "footer" in "container"
//
createFooter();


//
// DISPLAY PAGE PATH
//
displayPagePath();


//
// ACTIVATE MENU BUTTON
//
activateMenuButton();



