function altCallback() {
	$("#noflash").html(noflashContent);
	var TabbedPanels3 = new Spry.Widget.TabbedPanels("TabbedPanels3");
}

window.onload = function() {
	var query = parseQuery();
	var prevFlPrd = query.flprd;
	// add query fltop is 1;
	query.flprd = "1";
	if (query.fltop == undefined) {
		query.fltop = "0";
	}
	addQueryToLinks(query);
	// update contact link
	updateContactLink()
	
	// write swf
	var so = new SWFObject("/product/swf/product.swf", "top", "800", "360", "8", "#ffffff");
	so.addVariable("flprd", prevFlPrd);
	so.addVariable("fltop", query.fltop);
	loadFlash(so, "flashmovie2", "noflash", 8, 0, 0, altCallback);
}

var noflashContent = "<div id=\"box-alert\" class=\"clearfix\">" + 
"<div class=\"text\">" + 
"<h4>The site you are viewing is optimized for Flash.</h4>" + 
"<p>To experience the full version of this website's content, please download the Flash player.</p>" + 
"</div>" + 
"<div class=\"banner\">" + 
"<a href=\"http://www.adobe.com/go/EN_US-H-GET-FLASH\" target=\"_blank\"><img src=\"/cmn_images/banner_flash.gif\" alt=\"Get ADOBE FLASH PLAYER\" width=\"112\" height=\"33\" /></a></div>" + 
"</div>" + 
"<h5 class=\"lead\"><img src=\"/product/images/leadbody_product.gif\" alt=\"Introducing the INAX Product Portfolio\" width=\"220\" height=\"12\" /></h5>" + 
"<h2><img src=\"/product/images/lead_product.gif\" alt=\"Unique items. Proprietary technologies. Wide selection. \" width=\"588\" height=\"23\" /></h2>" + 
"<div class=\"clearfix\">" + 
"<div class=\"txt-left\">" + 
"INAX has its origins in tilemaking and ceramics, and has subsequently expanded its product portfolio to cover an extensive range of bath, toilet and sanitary fixtures and building materials as well as tiles. Along with the expansion of product offerings, INAX concurrently developed world-class technological innovations in such areas as basic materials, product design, mechanical devices and functions, manufacturing techniques and installation processes." + 
"</div>" + 
"<div class=\"txt-right\">" + 
"The section below provides an overview of the lineup of INAX products, and from this selection, we are pleased to feature insights on several representative products and technologies. " + 
"</div>" + 
"</div>" + 
"<div id=\"TabbedPanels3\" class=\"TabbedPanels\">" + 
"<ul class=\"TabbedPanelsTabGroup2\">" + 
"<li class=\"TabbedPanelsTab\" tabindex=\"0\">" + 
"<div class=\"tab-l1\"><span>Interior Tiles</span>ECOCARAT</div>" + 
"</li>" + 
"<li class=\"TabbedPanelsTab\" tabindex=\"0\"><div class=\"tab-l2\"><span>Toilets</span>SATIS</div></li>" + 
"<li class=\"TabbedPanelsTab\" tabindex=\"0\"><div class=\"tab-l3\"><span>Wall Tiles</span>SENTOUSAI and HOSOWARI</div></li>" + 
"</ul>" + 
"<div class=\"TabbedPanelsContentGroup\">" + 
"<div class=\"TabbedPanelsContent\">" + 
"<div class=\"photo\"><img src=\"/product/images/photo_index1.jpg\" alt=\"\" width=\"800\" height=\"390\" /></div>" + 
"<h5 class=\"lead\"><img src=\"/product/images/leadbody_product1.gif\" alt=\"ECOCART\" width=\"68\" height=\"10\" /></h5>" + 
"<div class=\"clearfix\">" + 
"<div class=\"body-left\"><img src=\"/product/images/lead_product1.gif\" alt=\"ECOCARAT is a revolutionary natural ceramic tile for interior wall surfaces. \" width=\"278\" height=\"70\" /></div>" + 
"<div class=\"txt-right2\">Designed for surfaces not subject to becoming wet, INAX succeeded in developing a completely new building material that provides functional and aesthetic features beyond conventional tiles. By controlling room humidity, odors and harmful substances, ECOCARAT fosters healthful and comfortable living at a level unmatched by other wall surfacing products.</div>" + 
"</div>" + 
"<div id=\"box-indexphoto\" class=\"clearfix\">" + 
"<div class=\"box1\">" + 
"<img src=\"/product/images/photo_index1_2_1.jpg\" alt=\"\" width=\"250\" height=\"120\" />" + 
"<h4>Function that Harmonizes</h4>" + 
"<p>ECOCARAT offers unmatched qualities of humidity control, offensive odor abatement and noxious substance absorption over other ceramic tiles. Seamlessly fitting into interior walls, it is an unobtrusive and steady monitor of healthful, comfortable room environments.</p>" + 
"</div>" + 
"<div class=\"box2\"><img src=\"/product/images/photo_index1_2_2.jpg\" alt=\"\" width=\"250\" height=\"120\" />" + 
"<h4>Craftsmanship that Awes</h4>" + 
"<p>ECOCARAT incorporates the latest ceramic technologies in materials and construction. Designers and builders will be pleased by the commitment of INAX engineers to ensure complete dimensional precision and flexible workability.</p>" + 
"</div>" + 
"<div class=\"box3\"><img src=\"/product/images/photo_index1_2_3.jpg\" alt=\"\" width=\"250\" height=\"120\" />" + 
"<h4>Design that Beckons</h4>" + 
"<p>ECOCARAT is available in a wide variety of patterns and textures, to fit the practical and design needs of residential, commercial and public spaces. It provides a high quality finish and new textures and surface variations that expands design potential.</p>" + 
"</div>" + 
"</div>" + 
"<div class=\"link\">For more information:<a href=\"http://www.inax-ecocarat.com/\" target=\"_blank\" class=\"icon-blank\">ECOCARAT Website</a></div>" + 
"</div>" + 
"<div class=\"TabbedPanelsContent\">" + 
"<div class=\"photo\"><img src=\"/product/images/photo_index2.jpg\" alt=\"\" width=\"800\" height=\"390\" /></div>" + 
"<h5 class=\"lead\"><img src=\"/product/images/leadbody_product2.gif\" alt=\"SATIS\" width=\"35\" height=\"10\" /></h5>" + 
"<div class=\"clearfix\">" + 
"<div class=\"body-left2\"><img src=\"/product/images/lead_product2.gif\" alt=\"SATIS represents the ultimate expression of INAX achievement in toilet technology.\" width=\"304\" height=\"74\" /></div>" + 
"<div class=\"txt-right2-2\">It sets new standards for utility and bathroom fixture design while meeting the challenge of balancing form and function with user/designer needs. A very humanistic touch is evident in the smallest elements of engineering.</div>" + 
"</div>" + 
"<div id=\"box-indexphoto\" class=\"clearfix\">" + 
"<div class=\"box1\">" + 
"<img src=\"/product/images/photo_index2_2_1.jpg\" alt=\"\" width=\"250\" height=\"120\" />" + 
"<h4>Craftsmanship that Awes</h4>" + 
"<p>INAX has combined the latest ceramic and technical advances into a minimalist design for SATIS. Its functions are aesthetically and mechanically integrated, not simply hidden.  Its non-mechanical attributes, such as ease of maintenance, are just as important. Overall, the degree of workmanship will defy expectations.</p>" + 
"</div>" + 
"<div class=\"box2\"><img src=\"/product/images/photo_index2_2_2.jpg\" alt=\"\" width=\"250\" height=\"120\" />" + 
"<h4>Design that Beckons</h4>" + 
"<p>Its form free of unnecessary elements, SATIS has the ability to elevate or sublimate nearly all types of toilet environments. It takes on flexible expressions from monochrome to whimsical colors, further enhancing clean lines for aesthetic and hygienic appeal.</p>" + 
"</div>" + 
"<div class=\"box3\"><img src=\"/product/images/photo_index2_2_3.jpg\" alt=\"\" width=\"250\" height=\"120\" />" + 
"<h4>Function that Harmonizes</h4>" + 
"<p>SATIS meets the needs for comfort, hygiene, resource conservation and convenience through straightforward as well as whimsical means. Features such as fully automated operation, antibacterial surfacing and materials, automated self-cleaning, user-selected music and sound are just a <br />" + 
"few; all are discreetly packaged for smooth integration in bathroom spaces of all configurations.</p>" + 
"</div>" + 
"</div>" + 
"</div>" + 
"<div class=\"TabbedPanelsContent\">" + 
"<div class=\"photo\"><img src=\"/product/images/photo_index3.jpg\" alt=\"\" width=\"800\" height=\"390\" /></div>" + 
"<h5 class=\"lead\"><img src=\"/product/images/leadbody_product3.gif\" alt=\"SENTOUSAI, HOSOWARI\" width=\"144\" height=\"11\" /></h5>" + 
"<div class=\"clearfix\">" + 
"<div class=\"body-left3\"><img src=\"/product/images/lead_product3.gif\" alt=\"ECOCARAT is a revolutionary natural ceramic tile for interior wall surfaces. \" width=\"366\" height=\"74\" /></div>" + 
"<div class=\"txt-right2-3\">They offer an unprecedented level of design applications while setting new standards for precision installation and stain resistance, particularly from rain and moisture in exterior use.</div>" + 
"</div>" + 
"<div id=\"box-indexphoto\" class=\"clearfix\">" + 
"<div class=\"box1\">" + 
"<img src=\"/product/images/photo_index3_2_1.jpg\" alt=\"\" width=\"250\" height=\"120\" />" + 
"<h4>Design that Beckons</h4>" + 
"<p>HOSOWARI gives the design and building professional an unheard-of level of expression and creativity through its standout texture selection, freely adaptable form and installation technique.</p>" + 
"</div>" + 
"<div class=\"box2\"><img src=\"/product/images/photo_index3_2_2.jpg\" alt=\"\" width=\"250\" height=\"120\" />" + 
"<h4>Function that Harmonizes</h4>" + 
"<p>HOSOWARI is a breakthrough achievement in tiles resistant to staining from rain and related residue. INAX engineers combined such elements as hydrophilic nanotechnology and proprietary MICROGUARD stain-repelling coating to create the most advanced tile of its class.</p>" + 
"</div>" + 
"<div class=\"box3\"><img src=\"/product/images/photo_index3_2_3.jpg\" alt=\"\" width=\"250\" height=\"120\" />" + 
"<h4>Craftsmanship that Awes</h4>" + 
"<p>The specific demands of trim tiling led INAX to develop SENTOUSAI with an emphasis on the highest level of detail, utility and ease of adaptation into the builder's design vision, backed by unrelenting precision, enhanced fit and quality in manufacture.</p>" + 
"</div>" + 
"</div>" + 
"</div>" + 
"</div>" + 
"</div>";


