// kossan.com JavaScript Document

<!--
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="about_cp.htm" >Company Profile</a>'
menu1[1]='<a href="about_vm.htm" >Vision &amp; Mission</a>'
menu1[2]='<a href="about_cs.htm" >Corporate Structure</a>'
menu1[3]='<a href="about_ba.htm" >Business Activities</a>'
menu1[4]='<a href="about_ca.htm" >Quality Certification &amp; Achievements</a>'
menu1[5]='<a href="about_qs.htm" >Quality Statement</a>'
menu1[6]='<a href="about_op.htm" >Our People</a>'
menu1[7]='<a href="about_gd.htm" >Group Directory</a>'
menu1[8]='<a href="about_co.htm">Career Opportunities</a>'
menu1[9]='<a href="about_cu.htm">Contact Us</a>'
menu1[10]='<a href="about_lm.htm">Location Map</a>'

//Contents for menu 2, and so on
var menu2=new Array()
//menu2[0]='<a href="inv_gfh.htm" >Group Financial Highlights</a>'
//menu2[1]='<a href="inv_mu.htm" >Market Update</a>'
//menu2[2]='<a href="inv_an.htm" >Announcements</a>'
//menu2[3]='<a href="inv_ir.htm" >Interim Reports</a>'
//menu2[4]='<a href="inv_ar.htm" >Annual Reports</a>'
//menu2[5]='<a href="inv_anr.htm" >Analysts Reports</a>'
//menu2[6]='<a href="inv_pr.htm" >Press Release</a>'
//menu2[7]='<a href="inv_cn.htm" >Contact</a>'
//menu2[8]='<a href="" >OnInvestor Relations</a>'
menu2[0]='<a href="investor.html" >IR Home</a>'
menu2[1]='<a href="investor-corp.html" >Corporate Information</a>'
menu2[2]='<a href="investor-fin.html" >Financial Information</a>'
menu2[3]='<a href="investor-news.html" >Newsroom</a>'
menu2[4]='<a href="http://kossan.listedcompany.com/misc/corporategovern.pdf" >Corporate Governance</a>'
menu2[5]='<a href="investor-share.html" >Share Information</a>'
menu2[6]='<a href="investor-slides.html" >Presentation Slides</a>'
menu2[7]='<a href="investor-info.html" >Information Request</a>'


//menu 3
var menu3=new Array()
menu3[0]='<a href="glove_type.htm" >Types of Gloves</a>'
menu3[1]='<a href="glove_nrg.htm" >&#8226; Natural Rubber Gloves</a>'
menu3[2]='<a href="glove_ng.htm" >&#8226; Nitrile Gloves</a>'
menu3[3]='<a href="glove_qa.htm" >Quality Assurance</a>'
menu3[4]='<a href="glove_lf.htm" >Logistics Facilities</a>'

//menu 4
var menu4=new Array()
menu4[1]='<a href="rubber_mrp.htm" >Moulded Rubber Products</a>'
menu4[2]='<a href="rubber_mrp_aa.htm" >&#8226; Automotive Applications</a>'
menu4[3]='<a href="rubber_mrp_ia.htm" >&#8226; Industrial Applications</a>'
menu4[4]='<a href="rubber_mrp_psg.htm" >&#8226; Pipe Seals and Gaskets</a>'
menu4[5]='<a href="rubber_exrp.htm" >Extruded Rubber Products</a>'
menu4[6]='<a href="rubber_exrp_ia.htm" >&#8226; Industrial Applications</a>' 
menu4[7]='<a href="rubber_exrp_aa.htm" >&#8226; Automotive Applications</a>'
menu4[8]='<a href="rubber_exrp_cce.htm" >&#8226; Construction &amp; Civil Engineering Applications</a>'
menu4[9]='<a href="rubber_erp.htm" >Engineered Rubber Products</a>'
menu4[10]='<a href="rubber_mdf.htm" >&#8226; Marine Dock Fenders</a>'
menu4[11]='<a href="rubber_bejs.htm" >&#8226;  Bridge Expansion Joint System</a>'
menu4[12]='<a href="rubber_rbp.htm" >&#8226;  Rubber Bearing Pad</a>'
menu4[13]='<a href="rubber_rw.htm" >&#8226;  Rubber Waterstop</a>'
menu4[14]='<a href="rubber_cs.htm" >&#8226;  Compression Seals</a>'
menu4[15]='<a href="rubber_ceg.htm" >Coloured EPDM Granules</a>'
menu4[16]='<a href="rubber_rl.htm" >Rollers</a>'
menu4[17]='<a href="rubber_rg.htm" >&#8226; Ranges</a>'
menu4[18]='<a href="rubber_rhr.htm" >&#8226;  Rice Hulling Rollers</a>'
menu4[19]='<a href="rubber_eva.htm" >EVA</a>'
menu4[20]='<a href="rubber_pup.htm" >PU Products</a>'
menu4[21]='<a href="rubber_qa.htm" >Quality Assurance</a>'
menu4[22]='<a href="rubber_lt.htm" >&#8226;  Laboratory & Testing</a>'

//menu 5
var menu5=new Array()
menu5[0]='<a href="media_na.htm" >New Articles</a>'
menu5[1]='<a href="media_arc.htm" >Archive</a>'


//menu 6
//var menu6=new Array()
//menu6[0]='<a href="glove_pt.htm" >Gloves</a>'
//menu6[1]='<a href="rubber_ptf.htm" >Technical Rubber Products</a>'
		
var menuwidth='165px' //default menu width
var menubgcolor='#FDE2DD'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){

if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

//-->
<!--pop up links
function HandleChangeOtherSites() {
	if (document.post_othersites.menu.options[document.post_othersites.menu.selectedIndex].value != "") {
	window.open(document.post_othersites.menu.options[document.post_othersites.menu.selectedIndex].value);
	}
}
//-->