var path = "imgs/main/";
var docTitle = document.title;
var lcName = docTitle.substr(28,4);
var imgName = lcName.toLowerCase();

//alert(parseInt((Math.random()*4)+1));

var LftBrd01 = " " +
"<table border='0' cellPadding='0' cellSpacing='0' height='360' width='140'>" +
"<tr>" +
"<td><img border='0' height='180' src='" + path + imgName + "01.jpg ' width='70'></td>" + 
"<td></td>" +
"</tr>" +
"<tr>" +
"<td></td>" +
"<td><img border='0' height='180' src='" + path + imgName + "02.jpg' width='70'></td>" +
"</tr></table>";

document.write(LftBrd01);


function popup()
{
var imgWidth = 500;
var imgHeight = 621;
popupImg = "imgs/common/pop_morocco.jpg";

newpopupWindow = window.open('','','toolbar=no,location=no,scrollbars=YES,resizable=yes,width=520,height=450');

var popupConstruct = "" +
"<html>" +
"<head><title>Le Meridien Pune</title></head>" +
"<body topmargin='0' leftmargin='0' marginheight='0' marginwidth='0'>" +
"<table border='0' height='100%' width='100%' cellpadding='0' cellspacing='0'><tr><td align='center'>" +
"<img src='" + popupImg + "' width='" + imgWidth + "' height='" + imgHeight + "'>" +
"</td></tr></table>" +
"</body></html>";

newpopupWindow.document.write(popupConstruct);


}

if(imgName == "home")
  {
     //popup();

  }




function ShowMap(){
  mapImage = "imgs/common/nikko_map.gif"
  showMapWindow = window.open('','','toolbar=no,location=no,scrollbars=yes,resizable=yes,width=670,height=420');

var showMapConstruct = "" +
"<html>" +
"<head><title>Map</title></head>" +
"<body topmargin='0' leftmargin='0' marginheight='0' marginwidth='0'>" +
"<table border='0' width='100%' cellpadding='0' cellspacing='0' height='100%'>" +
"<tr><td align='center' height='100%'>" +
"<img src='" + mapImage + "' width='640' height='406'>" +
"</td></tr></table>" +
"</body></html>";

showMapWindow.document.write(showMapConstruct);

}

if( (imgName == "week") || (imgName == "late") || (imgName == "rese") || (imgName == "emai") || (imgName == "spec") )
{
// dont do anything
}
else
{
document.getElementById(imgName).style.color = '#6699ff';
}





