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. LITEONMOBILE'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>LITEONMOBILE 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>LITEONMOBILE'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, LITEONMOBILE 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>"
	}
	
}


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});

}





























