
function openWinder()
{
	// please leave url absolute for use with ACS portal
    var newWin = window.open('http://www.sea.siemens.com/support/callmenowForm.html','callmenow','toolbars=no,location=no,width=500,height=500,resizable=yes,scrollbars=yes');
}

var theDate = new Date();

// set DST (Daylight Savings Time) to 1 for on or 0 for off

var year = theDate.getUTCFullYear();
var month = theDate.getUTCMonth() + 1;
var monthDay = theDate.getUTCDate();

var DST = 1;

if ( year >= 2001 || year <= 2004 )
{
   if (  year == 2001 )
   {
      if ( ( (month < 4) || (month == 4 && monthDay <= 1) )
	  		||
		   ( (month > 10) || (month == 10 && monthDay >= 28 ) )
	     )
	  {
	     DST = 0;
	  }
   } else if ( year == 2002 )
   {
      if ( ( (month < 4) || (month == 4 && monthDay <= 7) )
	  		||
		   ( (month > 10) || (month == 10 && monthDay >= 27 ) )
	     )
	  {
	     DST = 0;
	  }
   } else if ( year == 2003 )
   {
      if ( ( (month < 4) || (month == 4 && monthDay <= 6) )
	  		||
		   ( (month > 10) || (month == 10 && monthDay >= 26 ) )
	     )
	  {
	     DST = 0;
	  }
   } else if ( year == 2004 )
   {
      if ( ( (month < 4) || (month == 4 && monthDay <= 4) )
	  		||
		   ( (month > 10) || (month == 10 && monthDay >= 31 ) )
	     )
	  {
	     DST = 0;
	  }
   }
}

// This time is in Greenwich Mean time.
//  13 = 8am Eastern Standard Time
//  23 = 6pm Eastern Standard Time
var openhr = 13 - DST;
var closedhr = 23 - DST;

var Sunday = 0;
var Saturday = 6;

var hour = theDate.getUTCHours();
var day = theDate.getDay();

if ( (day > Sunday && day < Saturday) &&
	 (hour >= openhr && hour < closedhr) )
{
   document.write('<A HREF="JavaScript:openWinder();"><img src="/images/letuscallyou.jpg" border=0></a>');
}  else
{
document.write('<A HREF="JavaScript:openWinder();"><img src="/images/letuscallyou.jpg" border=0></a>');
} 