// JavaScript:

////////////////////////
function popup_warning()
{
  window.open('warning.html', 'warning','toolbar=no,directories=no,menubar=no,scrollbars=no,width=250,height=100,left=200,top=200');

}

//////////////////////////
function popup_converter()
{
   var lpos = (screen.width) ? (screen.width - 630) /2 :0;
   var tpos = (screen.height) ? (screen.height - 300) /2 : 0;

   var settings = 'height=300,width=630,top='+tpos+',left='+lpos+',menubar=no,toolbar=no,scrollbars=yes,resizable=yes'

   win_result = window.open('http://www.cruisedirect.com/support/converter.php', 'blank', settings);
   
	win_result.focus();
}

//////////////////////////
function popup_timezones()
{
   var lpos = (screen.width) ? (screen.width - 275) /2 :0;
   var tpos = (screen.height) ? (screen.height - 370) /2 : 0;

   var settings = 'width=275,height=370,top='+tpos+',left='+lpos+',menubar=no,toolbar=no,scrollbars=no,resizable=yes'

   win_result = window.open('http://www.amadeus.net/home/worldtime/en/calculator.htm', 'blank', settings);
   
	win_result.focus();
}
