var AppPath = "http://www.lebanonatlas.com/"

Community = new Image();
Community.src = AppPath + "images/Community_r.gif";

Community_r = new Image()
Community_r.src =  AppPath + "images/Community.gif";
//****************************************************

CommunityIn = new Image();
CommunityIn.src = AppPath + "images/Community_r.gif";

CommunityIn_r = new Image()
CommunityIn_r.src = AppPath + "images/Community.gif";
//****************************************************

CommunityChat = new Image();
CommunityChat.src = AppPath + "images/Community_r.gif";

CommunityChat_r = new Image()
CommunityChat_r.src = AppPath + "images/Community.gif";
//****************************************************

GatewaysLeb = new Image();
GatewaysLeb.src = AppPath + "images/GatewaysLeb_r.jpg";

GatewaysLeb_r = new Image()
GatewaysLeb_r.src = AppPath + "images/GatewaysLeb.jpg";
//****************************************************

GatewaysLebIn = new Image();
GatewaysLebIn.src = AppPath + "images/GatewaysLeb_r.jpg";

GatewaysLebIn_r = new Image()
GatewaysLebIn_r.src = AppPath + "images/GatewaysLeb.jpg";
//****************************************************

GatewaysLebChat = new Image();
GatewaysLebChat.src = AppPath + "images/GatewaysLeb_r.jpg";

GatewaysLebChat_r = new Image()
GatewaysLebChat_r.src = AppPath + "images/GatewaysLeb.jpg";
//****************************************************

Magazine = new Image();
Magazine.src = AppPath + "images/Magazine_r.gif";

Magazine_r = new Image()
Magazine_r.src = AppPath + "images/Magazine.gif";
//****************************************************

MagazineIn = new Image();
MagazineIn.src = AppPath + "images/Magazine_r.gif";

MagazineIn_r = new Image()
MagazineIn_r.src = AppPath + "images/Magazine.gif";
//****************************************************

MagazineChat = new Image();
MagazineChat.src = AppPath + "images/Magazine_r.gif";

MagazineChat_r = new Image()
MagazineChat_r.src = AppPath + "images/Magazine.gif";
//****************************************************

Maps = new Image();
Maps.src = AppPath + "images/Maps_r.gif";

Maps_r = new Image()
Maps_r.src = AppPath + "images/Maps.gif";
//****************************************************

MapsIn = new Image();
MapsIn.src = AppPath + "images/Maps_r.gif";

MapsIn_r = new Image()
MapsIn_r.src = AppPath + "images/Maps.gif";
//****************************************************

MapsChat = new Image();
MapsChat.src = AppPath + "images/Maps_r.gif";

MapsChat_r = new Image()
MapsChat_r.src = AppPath + "images/Maps.gif";
//****************************************************

MyMap = new Image();
MyMap.src = AppPath + "images/MyMap_r.gif";

MyMap_r = new Image()
MyMap_r.src = AppPath + "images/MyMap.gif";
//****************************************************

MyMapIn = new Image();
MyMapIn.src = AppPath + "images/MyMap_r.gif";

MyMapIn_r = new Image()
MyMapIn_r.src = AppPath + "images/MyMap.gif";
//****************************************************

MyMapChat = new Image();
MyMapChat.src = AppPath + "images/MyMap_r.gif";

MyMapChat_r = new Image()
MyMapChat_r.src = AppPath + "images/MyMap.gif";
//****************************************************

Municipalities = new Image();
Municipalities.src = AppPath + "images/Municipalities_r.gif";

Municipalities_r = new Image()
Municipalities_r.src = AppPath + "images/Municipalities.gif";
//****************************************************

MunicipalitiesIn = new Image();
MunicipalitiesIn.src = AppPath + "images/Municipalities_r.gif";

MunicipalitiesIn_r = new Image()
MunicipalitiesIn_r.src = AppPath + "images/Municipalities.gif";
//****************************************************

MunicipalitiesChat = new Image();
MunicipalitiesChat.src =  AppPath + "images/Municipalities_r.gif";

MunicipalitiesChat_r = new Image()
MunicipalitiesChat_r.src = AppPath + "images/Municipalities.gif";
//****************************************************

HeaderSearch = new Image();
HeaderSearch.src = AppPath + "images/HeaderSearch_r.gif";

HeaderSearch_r = new Image()
HeaderSearch_r.src = AppPath + "images/HeaderSearch.gif";
//****************************************************

HeaderSearchIn = new Image();
HeaderSearchIn.src = AppPath + "images/HeaderSearch_r.gif";

HeaderSearchIn_r = new Image()
HeaderSearchIn_r.src = AppPath + "images/HeaderSearch.gif";
//****************************************************

HeaderSearchChat = new Image();
HeaderSearchChat.src = AppPath + "images/HeaderSearch_r.gif";

HeaderSearchChat_r = new Image()
HeaderSearchChat_r.src = AppPath + "images/HeaderSearch.gif";
//****************************************************

SportsRec = new Image();
SportsRec.src = AppPath + "images/SportsRec_r.gif";

SportsRec_r = new Image()
SportsRec_r.src =  AppPath + "images/SportsRec.gif";
//****************************************************

SportsRecIn = new Image();
SportsRecIn.src = AppPath + "images/SportsRec_r.gif";

SportsRecIn_r = new Image()
SportsRecIn_r.src = AppPath + "images/SportsRec.gif";
//****************************************************

SportsRecChat = new Image();
SportsRecChat.src = AppPath + "images/SportsRec_r.gif";

SportsRecChat_r = new Image()
SportsRecChat_r.src =  AppPath + "images/SportsRec.gif";
//****************************************************

Tourism = new Image();
Tourism.src = AppPath + "images/Tourism_r.gif";

Tourism_r = new Image()
Tourism_r.src = AppPath + "images/Tourism.gif";
//****************************************************

TourismIn = new Image();
TourismIn.src = AppPath + "images/Tourism_r.gif";

TourismIn_r = new Image()
TourismIn_r.src = AppPath + "images/Tourism.gif";
//****************************************************

TourismChat = new Image();
TourismChat.src = AppPath + "images/Tourism_r.gif";

TourismChat_r = new Image()
TourismChat_r.src = AppPath + "images/Tourism.gif";
//****************************************************

YellowIndex = new Image();
YellowIndex.src = AppPath + "images/YellowIndex_r.gif";

YellowIndex_r = new Image()
YellowIndex_r.src = AppPath + "images/YellowIndex.gif";
//****************************************************

YellowIndexIn = new Image();
YellowIndexIn.src = AppPath + "images/YellowIndex_r.gif";

YellowIndexIn_r = new Image()
YellowIndexIn_r.src = AppPath + "images/YellowIndex.gif";
//****************************************************

YellowIndexChat = new Image();
YellowIndexChat.src = AppPath + "images/YellowIndex_r.gif";

YellowIndexChat_r = new Image()
YellowIndexChat_r.src = AppPath + "images/YellowIndex.gif";
//****************************************************

GeneralInfo = new Image();
GeneralInfo.src = AppPath + "images/GeneralInfo_r.gif";

GeneralInfo_r = new Image()
GeneralInfo_r.src = AppPath + "images/GeneralInfo.gif";
//**********************************************

MajorCities = new Image();
MajorCities.src = AppPath + "images/MajorCities_r.gif";

MajorCities_r = new Image()
MajorCities_r.src =  AppPath + "images/MajorCities.gif";
//**********************************************

AreaPop = new Image();
AreaPop.src = AppPath + "images/AreaPop_r.gif";

AreaPop_r = new Image()
AreaPop_r.src = AppPath + "images/AreaPop.gif";
//**********************************************

CultHist = new Image();
CultHist.src = AppPath + "images/CultHist_r.gif";

CultHist_r = new Image()
CultHist_r.src = AppPath + "images/CultHist.gif";
//**********************************************

TradeInd = new Image();
TradeInd.src = AppPath + "images/TradeInd_r.gif";

TradeInd_r = new Image()
TradeInd_r.src = AppPath + "images/TradeInd.gif";
//**********************************************

TourismInfo = new Image();
TourismInfo.src = AppPath + "images/TourismInfo_r.gif";

TourismInfo_r = new Image()
TourismInfo_r.src = AppPath + "images/TourismInfo.gif";
//**********************************************

function img_over(frameName,imgName)
{
 if (frameName == "") 
	eval("document." + imgName + ".src = " + imgName + ".src");
 else	
	eval("parent.frames['" + frameName + "'].document." + imgName + ".src = " + imgName + ".src");
}

function img_out(frameName,imgName)
{
 if (frameName == "")
	eval("document." + imgName + ".src = " + imgName + "_r.src");
 else	
	alert(eval("parent.frames['" + frameName + "'].document." + imgName + ".src = " + imgName + "_r.src"));
}

//***********************************
//***************FOR HEADERCHAT********************************************
function MM_preloadImages() { 
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//**************************************************************************
//***************DROP DOWN MENU**************************
function MM_findObj(n, d) { //v3.0
  var p,i,x;  
  if(!d) d=document;
  if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if
((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style;
v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
//*************END OF DROP DOWN MENU************************

//*************Change BackGround Cell***********************
function ChangeColorCell(BColor, TDName)
{
 theStyle = eval("document.all." + TDName + ".style");
 theStyle.backgroundColor = BColor
}
//*************End of Change BackGround Cell***********************