function changeText(text) {
	
var elem = document.getElementById('flash_info2');
elem.style.backgroundImage =  "url(img/ring.jpg)";
elem.innerHTML = text;
//elem.style.height = "auto";
	
	//calcMetal();
	
}

function changeText2(text) {

var elem = document.getElementById('flash_info1');
elem.innerHTML = text;

}

function clean() {
//Effect.Fade('fade');
//	Effect.Fade('flash_info1');
//var elem = document.getElementById("flash_info2");
//var elem2 = document.getElementById('flash_info1');
//elem.innerHTML ="";
//elem2.innerHTML ="";
//elem.style.backgroundImage = 'none';
//elem.style.height = "300px";
//calcMetal();

}

var text = {
	hot1: {
		title:	"<h1>PLASTICS & DECORATIONS</h1><p>With state-of-the-art precision moulding and finishing we are able to fully exploit the best qualities of plastics, such as lightness and durability. And by integrating 2 and even 3 different plastics resins with the latest decoration technologies, the finished plastic parts turn into attractive final products.</p>",
		technology: "<h2>CASE 2k moulding</h2> <p>Combining two materials, for instance hard + soft or hard + hard is a proven mass-manufacturing process, providing the piece versatile visual characteristics or functionalities</p>",
		design: "<h2>CASE 2k moulding</h2> <p>Using transparent plastics on top of coloured base gives the surface ultrahigh gloss and a luxurious feeling of thickness</p>"
	},
	hot2: {
		title:	"<h1>METALS & DECORATIONS</h1><p>In addition to high-quality feel and attractive looks, metal provides devices rigidity and enables thinner structures. Lite-On Mobile's expertise in injection moulding and metal processing leads also to striking products that integrate plastic and metal. We provide stainless steel, aluminium, magnesium and zink, with various decoration possibilities: pvd, painting, functional coatings, laser decoration, chemical etching..</p>",
		technology: "<h2>CASE Adhesion moulding</h2> <p>Metal insert in the mould adheres to the plastic resine in injection moulding. These integrated stuctures can be used as fixing elements or to create thinner sections to plastic components.</p>",
		design: "<h2>CASE Adhesion moulding</h2> <p>Metal plastic co-moulding enables thinner and more rigid structures. Plastic can be integrated directly to metal without visible bonding elements.</p>"
	},
	
	hot3: {
		title:	"<h1>KEYMATS</h1><p>Combining world-class design with high capacity manufacturing facilities results in cost effective keymat solutions and almost endless variety of designs and technologies, characterised by a large variety in surface patterns, finishing, coatings and illumination.</p>",
		technology: "<h2>CASE Light through metal keymat</h2> <p>Tiny micro holes, invisible to the eye, allow the light shine through the metal sheet. Designated light guides beneath the metal enable the variety of graphics to appear when activated.</p>",
		design: "<h2>CASE Light through metal keymat</h2> <p>Hidden 'till lit light effect on metal sheet keymat enables variable symbols to appear in same location - or not to appear. Appearance of solid metal surprises and impresses the user when activated.</p>"
	},
	hot4: {
		title:	"<h1>ANTENNAS & RF MODULES</h1><p>Lite-On Mobile has vast antenna experience since the start of mobile handset industry. Based on our extensive total offering we also have capability to provide truly integrated solutions. Our current product portfolio consists of all cellular bands as well as complementary antennas such as WLAN, GPS, BT, NFC, DVBH etc.</p>",
		technology: "<h2>CASE Active Switch</h2> <p>Active Switch antenna concept provides dedicated, accurate frequencies to all GSM and Wideband CDMA networks in one antenna. </p>",
		design: "<h2>CASE Mechanically Integrated Antenna</h2> <p>The current main drivers in antenna development are Integration and Performance. By combining our long experience in Antennas and Mechanics, we have been creating different IML based antenna technologies which answer for needs from both integration and efficiency perspective. IML based antenna solutions are available for Cellular and Complementary bands.</p>"
	},
	hot5: {
		title:	"<h1>OPTICALS & LIGHT</h1><p>The most active areas in device decorations can be found in illuminative solutions,  e.g. metal part light effects, on-cover integrated pop-up indicators and lightpipe systems combining the most recent development in design and material technologies. LOM is into all of them.</p>",
		technology: "<h2>CASE Changing Graphics</h2> <p>Two or more layered lightguides enable changing graphics on keypad. Depending on the selected use, the correct light source illuminates the right symbols. Graphics can be overlapping or side by side.</p>",
		design: "<h2>CASE Changing Graphics</h2> <p>The same keypad area can be used for different purposes: switch from characters to numbers or from gaming to music player enabling more complicated keypad functions without reducing readability or font size.</p>"
	},
	hot6: {
		title:	"<h1>GLASS & WINDOW</h1><p>Lite-On Mobile's provides super strengthened or ultra thin glass decorated with 3D painting, coating, texturing, engraving and machining. The end result are highly distinctive, unique and original features.</p>",
		technology: "<h2>CASE Glass Engraving</h2> <p>is based on Etching Technology. Engraving is done by Chemical Liquid Control.</p>",
		design: "<h2>CASE Glass Engraving</h2> <p>brings design ideas such as texture on glass surface, Keypad Character Embodiment, Glass Slimming and 3D Shape in stable quality.</p>"
	},
	hot7: {
		title:	"<h1>SUB-ASSEMBLIES</h1><p>To make the final assembly easier, Lite-On Mobile provides the handset industry a set of CEM services, separately assembled parts with electro-mechanical functionality such as mobile phone frame assemblies with flex circuits or UI modules with flex pcba and domesheet. Mother group LiteOn Corporation has been in electronics manufacturing since 1975.</p>",
		technology: "<h2>CASE UI module:</h2> <p>Thin and strong UI module can be achieved by using the laser welded stainless steel construction as a frame and assembling a flex pcb with LEDs, domesheets and thin lightguide on it.</p>",
		design: "<h2>CASE UI module:</h2> <p>To get the phone thickness reduced, a frame module can include the keypad and side switches, LEDs and thin lightguide for keypad illumination as well as other electro-mechanical components.</p>"
	},
	hot8: {
		title:	"<h1>TOUCH PANELS</h1> <p>Lite-On Mobile provides high quality touch modules to the markets. We have capabilities to provide resistive and capacitive touch modules. Based on customer requirements we can offer different touch solutions: resistive touch lens, capacitive PET modules, and capacitive glass modules. Window integrated solution is under development. We can also integrate touch module with front cover to provide total solution to customer.</p>",
		technology: "<h2>CASE Cutting-edge touch module solutions</h2> <p>We offer cutting-edge touch module solutions with latest technologies and materials combination. For technologies, we dedicate to pursuit narrow border and minimized panel thickness for perfection.</p>",
		design: "<h2>CASE Multi-touch solutions</h2> <p>We provide product ranges from 2 inches to 12 inches touch module products. For capacitive type touch module, we cooperate with world class leading IC manufacturers such as Atmel, Synaptics, Cypress etc. for true multi-touch solutions. Our engineering support covers, layout, CAD, FAE and testing.  </p>"
	},
	hot9: {
		title:	"<h1>Mechanisms</h1> <p>Lite-On Mobile is combining the innovative design and high precision manufacturing competencies into accurate moving mechanism modules. Innovative LOM R&D team provides full scale mechanisms design services and our mechanics manufacturing with long experience in a global factory network is providing an efficient solution to your mechanisms needs. For example, by integrating the flex PWB subassemblies to slider module, Lite-On Mobile is able to offer true benefits of Vertical Integration. </p>",
		technology: "<h2>CASE QWERTY slider</h2> <p>With Lite-On Mobile's thin QWERTY slider module it is possible to create cost-efficient and space-saving Vertical Integration solution. There is no need to separately manage mechanics and electronics suppliers.</p>",
		design: "<h2>CASE Integration</h2> <p>Slider module construction made of laser welded sheet metal components and plastic overmolding is creating a thin and strong basis for the slider phone. By integrating other features to the module, the whole phone construction can be simplified.</p>"
	},
	hot10: {
		title:	"<h1>Camera modules</h1> <p>Lite-On Mobile designs and produces main and sub-cameras (second cameras) as well as optical finger navigators (OFN) for mobile phones.</p><p>For Notebooks, we design and produce webcams with USB interface, and we have also development going on for 3D camera products. </p><p>Most of our camera modules are uniquely designed for our customers needs. </p><p>We have good experience and capability on lens optical design, auto focus actuator design and wafer level module design.</p>",
		technology: "<h2>CASE Resolutions</h2> <p>For mobile phone cameras, the resolution covers from VGA WLM, 1.3M FF(Fix Focus), 2M(FF), 3M(FF), 3M(AF), 5M(FF), 5M(AF), 8M(AF) and 12M(AF).</p>",
		design: "<h2>CASE Camera modules for all portable devices</h2> <p>Camera modules are not intended just for mobile handsets. In addition to mobile phones, camera modules can be used in a broad range of other portable devices, such as PDAs, webcams, Digital Still Cameras (DSCs), and wireless security cameras.</p>"
	}
}

var type = 1;
function setType(t) {
	if(t != type) {
		type = t;
		setText(currentId,true);
	}

}
var currentText = null;
var currentId = null;
function setText(id,force) {
	var idname = 'hot'+id;
	if(currentText !=idname || (typeof(force)!="undefined" && force == true)) {
		if(currentText)
		document.getElementById(currentText).className = "";
	currentText = idname;	
	currentId = id;
	
	
	document.getElementById(idname).className = "active";
	Effect.Fade('fade',{duration:0.5});
	setTimeout('setText2("'+idname+'")', 500);
	}
}
function setText2(idname) {
	
	
	if(type ==2) 
		changeText(text[idname].technology);
	else
		changeText(text[idname].design);
	
	changeText2(text[idname].title);
	Effect.Appear('fade',{duration:0.5});

}
