//*******************************
//* buyflights.js common scripts 
//* Author: Cliff Taylor, (c)2002 AnnWebCom.co.uk
//* Flightline Travel Management PLC  

//*** START ***

function popPage(page)
 {
  pop1 = window.open(page,'pop1','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=550,height=400');
  pop1.focus();
 }

function popt(page)
	{
	window.open(page,'tellafriend_window','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=550,height=400');
	}

function itinwindow()
	{
	window.open('http://itin.amadeus.net/','itin_window','toolbar=yes,location=no,directories=no,status=yes,menubar=yes,resizable=yes,copyhistory=no,scrollbars=yes,width=790,height=400');
	}

// start of move image script

function moveit() {
	window 
	var stopPos = 500;
    if (document.all) {
        document.all.x.style.posLeft = document.all.x.style.posLeft + 10;
        document.all.x.style.posTop = document.all.x.style.posTop - 1;
        if (document.all.x.style.posLeft < stopPos)
            setTimeout("moveit()",50);
        else {
	document.all.x.style.visibility = "hidden";
	return true;}
            
    }
    else if (document.layers) {
        document.x.left += 10;
        if (document.x.left < stopPos)
            setTimeout("moveit()",50);
        else {document.topText.style.visibility = 'visible';}
    }
}

function moveAgain()
	{
	if (document.all)
		{document.all.x.style.posLeft = -114;}
	else if
		(document.layers) {document.x.left = -114;}
	moveit();
	}

// end of move image script

//*** FINISH ***