We are very pleased to serve
our valued customers with.....
~> ......... FAST TURNAROUND !!
~> ..... STRICT QUALITY CONTROL !!
Electro Plating Specialties, Inc. has successfully and proudly been doing business from the Greater Bay Area for more than 3 decades.'
tickercontents[1]='Since its establishment, the goal of Electro Plating Specialties, Inc. has been to provide our customers with excellent quality, prompt service, and a sincere desire to understand and meet, or surpass, their needs.'
tickercontents[2]='We believe it is essential in the Metal Finishing Industry to strive for perfection; our customers need and deserve no less an effort.'
//specify how many characters of a message (for each msg) to show in expanded menu:
var charslimit=30
//Below specifies the "expand text". Do not remove onClick=".." portion.
var expandtext=''
//configure below variables to set dimensions and main color of the ticker
var tickerwidth='600px'
var tickerheight='60px' //not including "Expand" text
var tickerbgcolor='#e9e9e9'
//configure the below variable to determine the delay between ticking of messages (in miliseconds)
var tickdelay=6500
////Do not edit pass this line////////////////
var ie4=document.all || navigator.userAgent.search(/opera.7/i)!=-1 //lump Opera 7 with IE
var ns6=document.getElementById && !document.all && !window.opera
var ns4=document.layers
function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
if (ns4){
expandtext=expandtext.replace(/dropdownit\(event\); *return false/gi, "return dropdownitNS4(event,this)")
tickerheightNS4=parseInt(tickerheight)+19
tickerlistheightNS4=tickerheight
}
var currentmessage=0
var tickercontentstotal=''
if (ie4||ns6) //OUTPUT DROP DOWN MENU
document.write('')
function rotatecontent(){
if (ns4){ //OUTPUT HTML for ticker area for NS4
tickerobj.document.tickernssub.document.write(tickercontents[currentmessage]+'')
tickerobj.document.tickernssub.document.close()
}
else if (ie4||ns6){
tickerobj.innerHTML=tickercontents[currentmessage]
previousmessage=(currentmessage==0)? tickercontents.length-1 : currentmessage-1
tickerexpand_item=ns6? document.getElementById("expand"+currentmessage) : eval("expand"+currentmessage)
tickerexpand_previousitem=ns6? document.getElementById("expand"+previousmessage) : eval("expand"+previousmessage)
tickerexpand_previousitem.className=""
tickerexpand_item.className="expandmenu_highlight"
}
currentmessage=(currentmessage==tickercontents.length-1)? 0 : currentmessage+1
rotatemsgtimer=setTimeout("rotatecontent()",tickdelay)
}
function dropdownit(e){
if (ns6) e.stopPropagation()
else e.cancelBubble=true
tickerexpandobj.style.visibility=tickerexpandobj.style.visibility=="hidden"? "visible" : "hidden"
expandbuttonLeft=ns6? e.pageX-e.layerX : ietruebody().scrollLeft+event.clientX-event.offsetX
expandbuttonTop=ns6? e.pageY-e.layerY : ietruebody().scrollTop+event.clientY-event.offsetY
tickerexpandobj.style.left=expandbuttonLeft+"px"
tickerexpandobj.style.top=expandbuttonTop+expandbuttonobj.offsetHeight-3+"px"
}
function dropdownitNS4(e, currentobj){
tickerexpandobj.left=tickerobj.pageX
tickerexpandobj.top=tickerobj.pageY+parseInt(tickerlistheightNS4)+tickerobj.document.expandbuttonNS4.document.height
tickerexpandobj.visibility=(tickerexpandobj.visibility=="hide")? "show" : "hide"
return false
}
function jumptomsg(whichmsg){
clearTimeout(rotatemsgtimer)
if (ie4||ns6)
tickerexpand_item.className=""
currentmessage=whichmsg
rotatecontent()
}
function initialize_ticker(){
if (ns4) document.tickernsmain.visibility="show"
tickerobj=ie4? tickerlist : ns6? document.getElementById("tickerlist") : ns4? document.tickernsmain : ""
tickerexpandobj=ie4? tickerexpand : ns6? document.getElementById("tickerexpand") : ns4? document.expandlayer : ""
expandbuttonobj=ie4? expandbutton : ns6? document.getElementById("expandbutton") : ""
for (i=0;i]+\>/g, ''); //remove HTML tags
tickercontentstotal+=''
}
if (ie4||ns6){
tickerexpandobj.innerHTML=tickercontentstotal
expandbuttonobj.innerHTML=expandtext
document.onclick=function(){
tickerexpandobj.style.visibility="hidden"
}
}
else if (ns4){
tickerexpandobj.document.write(tickercontentstotal)
tickerexpandobj.document.close()
tickerexpandobj.clip.width=parseInt(tickerwidth)*0.9
tickerobj.document.expandbuttonNS4.document.write(expandtext)
tickerobj.document.expandbuttonNS4.document.close()
tickerexpandobj.captureEvents(Event.CLICK)
tickerexpandobj.onclick=function(){
tickerexpandobj.visibility="hide"
}
}
rotatecontent()
}
if (ie4||ns6) //OUT HTML FOR TICKER AREA for IE/NS6
document.write('')
window.onload=initialize_ticker