<!-- js error suppression -->

<!--
function stopError() {
  return true;
}

window.onerror = stopError;

<!-- frames breakout -->

if (self.parent.frames.length != 0)
        self.parent.location="http://www.systhink-inst.com/";

<!-- rollover -->
// Assuming the image of the on-buttons are called "STon.gif", "YWon.gif" etc.
// And that the image of the off-button is called "SToff.gif", "YWoff.gif" etc.
// We can now read these images into variables called STon and SToff, YWon and YWoff etc..

STon = new Image; STon.src = "../graphics/lf50pt.gif";
SToff = new Image; SToff.src = "../graphics/y50pt.gif";
YWon = new Image; YWon.src = "../graphics/lf50pt.gif";
YWoff = new Image; YWoff.src = "../graphics/y50pt.gif";
RECon = new Image; RECon.src = "../graphics/lf50pt.gif";
RECoff = new Image; RECoff.src = "../graphics/y50pt.gif";
SCon = new Image; SCon.src = "../graphics/lf50pt.gif";
SCoff = new Image; SCoff.src = "../graphics/y50pt.gif";
PSSon = new Image; PSSon.src = "../graphics/lf50pt.gif";
PSSoff = new Image; PSSoff.src = "../graphics/y50pt.gif";

// Now the images are defined, and stored in the variables STon and SToff etc.
// Next step is the two functions needed.
// The first function is called MausOn, and causes STon to shift to SToff etc.
function MausOff(ButtonName)
{
   if (ButtonName=="ST") {document.ST.src = SToff.src;}
   if (ButtonName=="YW") {document.YW.src = YWoff.src;}
   if (ButtonName=="REC") {document.REC.src = RECoff.src;}
   if (ButtonName=="SC") {document.SC.src = SCoff.src;}
   if (ButtonName=="PSS") {document.PSS.src = PSSoff.src;}
}
// Now our button will shift from STon to SToff when a mouseover-event occurs.
// To complete the script all we need to do is make the inverse function,
// making the butto1down shift to STon when a mouseout-event occurs.

function MausOn(ButtonName)
{
   if (ButtonName=="ST") {document.ST.src = STon.src;}
   if (ButtonName=="YW") {document.YW.src = YWon.src;}
   if (ButtonName=="REC") {document.REC.src = RECon.src;}
   if (ButtonName=="SC") {document.SC.src = SCon.src;}
   if (ButtonName=="PSS") {document.PSS.src = PSSon.src;}
}

<!-- End mouseover hightlights -->

  <!-- begin date script -->
// Declare variables
   RightNow = new Date();
   Year = RightNow.getFullYear();
   month_number = RightNow.getMonth();
   date = RightNow.getDate();
   day_number = RightNow.getDay();
       var Month;
       var day;

// Change day from number to name
       DaysofWeek = new Array("Sunday", "Monday",  "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
       day = DaysofWeek[day_number];

// Change month from number to name
        Months = new Array("January", "February", "March", "April",
"May", "June", "July", "August", "September", "October", "November",
"December");
        Month = Months[month_number];

    if (date == 1 || date == 21 || date == 31)
    {ender = "<SMALL><SUP>st<\/SUP><\/SMALL>"}
    else
    if (date == 2 || date == 22)
    {ender = "<SMALL><SUP>nd<\/SUP><\/SMALL>"}
    else
    if (date == 3 || date == 23)
    {ender = "<SMALL><SUP>rd<\/SUP><\/SMALL>"}
    else
    {ender = "<SMALL><SUP>th<\/SUP><\/SMALL>"}


var mess1="";

greet = RightNow.getHours( )

if (( greet >= 0 ) && (greet <= 4 ))

mess1= "Wow! You\'re up late!"

if (( greet >= 4 ) && (greet < 12))

mess1="Good Morning"

if (( greet >= 12) && (greet <= 17))

mess1= "Good Afternoon"

if ((greet >= 17) && (greet <= 23))

mess1= "Good Evening"

    <!-- end date script -->

   <!-- begin top right window script -->

function opendok(url){

goboy = eval("'" + url + "'");

newdok=null;

newdok = eval("window.open('" + goboy + "','newdok','directories=no,toolbar=no,top=0,left=265,menubar=yes,location=no,status=no,resizable=yes,scrollbars=yes,width=525,height=200')");

newdok.focus();

}

<!-- end of top-right popup -->


<!-- start of variable popup -->
function popWin(msg) {

  alert(msg);

}

function varpop(theURL,winName,features) {
  window.open(theURL,winName,features);
}

<!-- end variable popup -->


<!-- start SIC name search script -->

function askname()
{
newurl="";
sicsrch=window.document.forms.chloe.whatis.value;

newurl='http://www.osha.gov/cgi-bin/sic/sicser2?STRING='+sicsrch;
return true;

}

function showme()
{
if (newurl != "")
{
if (typeof SICpopup == 'undefined') {} else {SICpopup.close()};
SICpopup=window.open(newurl,'SICpopup','toolbar=no,location=no,directories=no,status=no,menubar=no,dependent=yes,scrollbars=yes,resizable=yes,width=325,height=250,left=45,top=15');
}
else {alert('SIC NOT FOUND\n\r\n\rPlease Check The List Of Supported SICs')};
}

function Go()
{
askname(); showme();
}

<!-- end SIC popup -->

