<!--
//var tool = java.awt.Toolkit;
//var size = new java.awt.Dimension(tool.getDefaultToolkit().getScreenSize());
//var myWidth = size.width;
//var myHeight = size.height;
//alert(myWidth+'x'+myHeight);

function OpenRes(theURL) {
  	window.open(theURL, "RES", 'scrollbars=1,width=800,height=600,resizable=1,status=1');
}

function OpenDates(file,input) {
  	window.open(file, input, 'width=300,height=300,resizable=1');
}

function OpenInfo(file,input) {
  	window.open(file, "PropInfo", 'scrollbars=1,width=520,height=100%,resizable=1');
}

function openconvert(file,input) {
  	window.open(file, input, 'width=640,height=300,resizable=1');
}

function opentnpr(file,input) {
  	window.open(file, input, 'width=300,height=340,resizable=1');
}

function OpenRateRules(file) {
        window.open(file, 'RateRules', 'width=440,height=400,resizable=1,scrollbars=1');
}

function OpenLogWindow(file,input) {
  	window.open(file, input, 'width=250,height=175,resizable=1,status=1');
}

bName = navigator.appName;
bVer = parseInt(navigator.appVersion);

if      (bName == "Netscape" && bVer >= 3) ver = "n3"; 

else if (bName == "Netscape" && bVer == 2) ver = "n2";

else if (bName == "Microsoft Internet Explorer" && bVer >= 2) ver = "e2";

if (ver == "n3"){
	processoff = new Image(103, 26);
	processoff.src = "http://www.travelnow.com/images/processoff.gif";
}

function procoff(imgName){
	if (ver == "n3"){
		imgOff = eval(imgName + "off.src");
//   	document.images[0].src = imgOff;
          document.img_proc.src=imgOff;
	}
}

// Checks if browser is Netscape 2.0x since the options array properties don't work with Netscape 2.0x
function isBrowserSupp() {
    // Get the version of the browser
    version =  parseFloat( navigator.appVersion );

    if ( ( version >= 2.0 ) && ( version < 2.1 ) && ( navigator.appName.indexOf( "Netscape" ) != -1 ) ) {
        return false;
    }
    else {
	return true;
    }

return true;
}
// -->