var docObj
var styleObj
if (document.all) {
	docObj = "document.all."
	styleObj = ".style"
}
if (document.layers) {
	docObj = "document."
	styleObj = ""	
}
	
var homeTxt = "Ulysses Tours and<BR>Greek Island Tours";
var packagesTxt = "Information on over 30 travel packages to Greece and the Mediterranean";
var airTxt = "Transatlantic and domestic airfare";
var hotelsTxt = "List of recommended Greek hotels";
var linksTxt = "Links to related Web&nbsp;sites";
var contactTxt = "Information on how to contact Ulysses Tours and Greek Island&nbsp;Tours";


var currencyTxt = "Euro to US Dollar conversion";
var weatherTxt = "What kind of temperatures to&nbsp;expect throughout the&nbsp;year";
var brochureTxt = "Download complete Ulysses Tours brochure";

var leftNavArray = new Array("air","currency","weather","brochure","home","packages","hotels","links","contact")
var topStr = "";

for (i=0; i<leftNavArray.length; i++) {
	topStr += "<div id='" + leftNavArray[i] + "'><table border='0' cellpadding='0' cellspacing='0' width='100'><tr valign='middle'><td height='100' class='circletext'>" + eval(leftNavArray[i]+"Txt") + "</td></tr></table></div>";
}

function showText(text) {
	eval(docObj + "circleGraphic" + styleObj + ".visibility = 'visible'");
	eval(docObj + text + styleObj + ".visibility = 'visible'");
}

function hideText(text) {
	eval(docObj + "circleGraphic" + styleObj + ".visibility = 'hidden'");
	eval(docObj + text + styleObj + ".visibility = 'hidden'");
}

var newwin
function showHotel(which) {
	
		words = which.split(" ");
		whichImg = words.join("_").toLowerCase();
		strWin = "<HTML><HEAD><TITLE>" + which + "</TITLE>"
		strWin += "<LINK REL=stylesheet TYPE='text/css' HREF='/style.css'></HEAD>"
		strWin += "<BODY bgcolor='#FFFFFF'><P align='center' class='bodytext2'><b>" + which + "</b></p>"
		strWin += "<P align='center'><img src='/images/" + whichImg + ".jpg'></P>"
		strWin += "<P align='center' class='small'>"
		strWin += "<a href='javascript:self.close()'>Close</a></P>"
		strWin += "</body></html>"
		
	if (!newwin || newwin.closed) {
		xStr = "left=" + eval(screen.width - 370) + ",top=50,width=300,height=385"
		newwin = window.open("","newwin",xStr)	
		
	} 
	newwin.document.open();
	newwin.document.write(strWin);
	newwin.document.close();
	newwin.focus();
}

document.write(topStr);

function showConverter() {
      CurrencyWindow = window.open ('', 'CurrencyWindow', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,height=150,width=575')
      CurrencyWindow.focus()
      CurrencyWindow.location.href = 'http://www.xe.com/pca/input.cgi'
}
	