﻿function ttmove(a,b){
eval(document.getElementById("tooltip").style.top=(eval(a)+(navigator.userAgent.indexOf("MSIE")>0?document.body.scrollTop:window.pageYOffset)+19));eval(document.getElementById("tooltip").style.left=(eval(b)-7))}

function tcol(a){
document.getElementById(a+"l").style.color="#c63"}

function ttbox(a,b,c){

if(b){
document.getElementById(b+"l").style.backgroundImage="url(images/bgd.gif)";
document.getElementById(b+"r").style.backgroundImage="url(images/bgd.gif)";
document.getElementById(b+"l").style.textDecoration="underline"}

if(c)c=";position:absolute;margin-left:-12";
else c="";

document.getElementById("tooltip").innerHTML="<table bgcolor=#ffffe1 class=sfont style='border:1px solid #000"+c+"'><td align=center style='padding:2 3'><nobr>"+a+"</table>"}

function ttoff(a){

if(a){
document.getElementById(a+"l").style.backgroundImage="url(images/bgc.gif)";
document.getElementById(a+"r").style.backgroundImage="url(images/bgc.gif)";
document.getElementById(a+"l").style.textDecoration="none"}

document.getElementById("tooltip").innerHTML=""}

function x(a,b){
if(b==2)a.background="#000",a.color="#fff";
else if(b==0)a.background="none",a.color="#000";
else if(b==1)a.background="#f8f0e5",a.color="#000";
else if(b==3)a.background="#fff",a.color="#000"}

function scroll(a,b){if(b)b=0;else b=30;frm.scrollTo(0,frm.document.getElementById(a).offsetTop-b)}

function matlscroll(){if(zz!=1)scroll(zz,1);zz=1}
function matls(a){zz=a;ttoff();changeref("rubber-materials.html")}

function changeref(a,b,c){
frm.location.replace(a);
if(navigator.userAgent.indexOf("MSIE")<=0){
document.getElementById("frm").style.height="99%";
setTimeout("document.getElementById('frm').style.height=document.getElementById('frmheight').style.height",1)}}

mainframe="<table height=100%><td><div id=reftopa><div class=bodytf></div></div><div id=reftopb></div></div><div class=headup></div><tr><td height=100%><div class=bodym style=height:100%><span id=frmheight><iframe src=standard-o-rings.html width=471 height=100% frameborder=0 marginwidth=0 marginheight=0 name=frm id=frm></iframe></span></div><tr><td align=center class=sfont><div class=bodyb id=refbot>&nbsp;</div>";

topa="<table width=100% cellspacing=0 class=x><td colspan=5 class=xt><div class=xu><br></div><tr><td width=33% class=xh id=xr><a href=rubber-materials.html onclick='changeref(this.href);return false'>Rubber Materials</a><td width=33% class=xh id=xr><table><td class=xw><div class=w></div><td class=wd><a href=temperatures.html onclick='changeref(this.href);return false'>Temperatures</a><td><div class=w></div></table><td width=33% class=xh><table><td class=xw><div class=w></div><td class=wd><a href=fluid-compatibility.html onclick='changeref(this.href);return false'>Fluid Compatibility</a><td><div class=w></div></table><tr><td colspan=5><div class=xv><br></div></table>";

topb="<table width=100% cellspacing=0 class=x><td colspan=5 class=xt><div class=xu><br></div><tr><td width=33% class=xh id=xr><a href=standard-o-rings.html onclick='changeref(this.href);return false'>Standard O-Rings</a><td width=33% class=xh id=xr><table><td class=xw><div class=w></div><td class=wd><a href=metric-o-rings.html onclick='changeref(this.href);return false'>Metric O-Rings</a><td><div class=w></div></table><td width=33% class=xh><table><td class=xw><div class=w></div><td class=wd><a href=groove-design.html onclick='changeref(this.href);return false'>Groove Design</a><td><div class=w></div></table><tr><td colspan=5><div class=xv><br></div></table>";

head="<style>"

+"body,table,input,textarea,select,.button,input,textarea,select,.button{font-family:segoe ui,arial,helvetica;font-size:13}"
+".tables td,.tables th,.sfont,.templ{font-size:11}"
+"body{background:#fff;color:#000}"
+"table{border:0;border-collapse:collapse}"
+"table td,table th{padding:0}"
+"p,h3,ul{margin-top:0;margin-bottom:10}"
+"h3{font-size:20}"
+"li{margin-left:-20}"
+"ul{list-style:none;list-style-image:url(images/bullet.gif)}"
+".nb{margin-bottom:0}"
+"a:link,a:visited{color:#16387c;text-decoration:none}"
+".xa a:link,.xa a:visited{color:#c63}"
+"a:hover,.xa a:hover{text-decoration:underline}"
+"a:active{color:#c63}"
+".marg{margin:15}"
+".area{width:491}"
+".sizea{width:445}"
+".sizeb{margin-right:9}"
+".headup{margin-top:-17}"
+".footup{margin-top:-9}"
+"#marginup{margin-top:-30}"
+"#nohead{padding-top:26}"
+".tables td{padding:2 5;vertical-align:top}"
+".tth th{padding:2 5 0}"
+".bth th{padding:0 5 2}"
+"#thshade,#thshadec{background-image:url(images/bgb.gif);background-position:0 -40}"
+"#s{background:#f8f0e5}"
+"#sw{background:#fff}"
+"#subbut{background-image:url(images/bga.gif);background-position:0 -450;border:1px solid #999b9a;background-color:#ce9200;cursor:pointer;font-weight:bold;height:24}"
+".bodyf,.bodyt,.bodym,.bodyb,.bodytf{border:1px solid #cd9f63;padding:9}"
+".bodyt,.bodym,.bodyb{border-top:0}"
+".bodyt,.bodym,.bodytf{border-bottom:0}"
+".bodyt{padding-bottom:0}"
+".bodym{padding-top:0;padding-bottom:0}"
+".x,.xa{background-image:url(images/bga.gif)}"
+".x{background-repeat: repeat-x;;border-left:1px solid #cd9f63;border-right:1px solid #cd9f63;border-collapse:separate}"
+".xa{background-color:#fff;background-position:0 -183;border-top:1px solid #aa7736}"
+".x td{vertical-align:bottom}"
+".xw{background:#fff}"
+".xu{line-height:1px}"
+".xv{line-height:3px}"
+"#thshadec,.wd{width:100%}"
+".x{background-position:0 -915}"
+".xt{border-top:1px solid #cd9f63}"
+".xb{border-bottom:1px solid #aa7736}"
+"#xr{border-right:1px solid #aa7736}"
+".l{text-align:left}"
+"#r{text-align:right}"
+"#c,#thshadec,.wd,.x{text-align:center}"

+"</style>";

document.write(head);
