var g_dteNow = new Date();
var g_intDate = g_dteNow.getDate();
var g_intMonth = g_dteNow.getMonth();
var g_intYear = g_dteNow.getYear();

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function fCreateCboCountry() {
	document.write(""+
			"                    <option value='AF'>Afghanistan</option>"+
			"                    <option value='AL'>Albania</option>"+
			"                    <option value='DZ'>Algeria</option>"+
			"                    <option value='AS'>American Samoa</option>"+
			"                    <option value='AD'>Andorra</option>"+
			"                    <option value='AO'>Angola</option>"+
			"                    <option value='AI'>Anguilla</option>"+
			"                    <option value='AQ'>Antarctica</option>"+
			"                    <option value='AG'>Antigua and Barbuda</option>"+
			"                    <option value='AR'>Argentina</option>"+
			"                    <option value='AM'>Armenia</option>"+
			"                    <option value='AW'>Aruba</option>"+
			"                    <option value='AU'>Australia</option>"+
			"                    <option value='AT'>Austria</option>"+
			"                    <option value='AZ'>Azerbaijan</option>"+
			"                    <option value='BS'>Bahamas</option>"+
			"                    <option value='BH'>Bahrain</option>"+
			"                    <option value='BD'>Bangladesh</option>"+
			"                    <option value='BB'>Barbados</option>"+
			"                    <option value='BY'>Belarus</option>"+
			"                    <option value='BE'>Belgium</option>"+
			"                    <option value='BZ'>Belize</option>"+
			"                    <option value='BJ'>Benin</option>"+
			"                    <option value='BM'>Bermuda</option>"+
			"                    <option value='BT'>Bhutan</option>"+
			"                    <option value='BO'>Bolivia</option>"+
			"                    <option value='BA'>Bosnia and Herzegovina</option>"+
			"                    <option value='BW'>Botswana</option>"+
			"                    <option value='BV'>Bouvet Island</option>"+
			"                    <option value='BR'>Brazil</option>"+
			"                    <option value='BN'>Brunei Darussalam</option>"+
			"                    <option value='BG'>Bulgaria</option>"+
			"                    <option value='BF'>Burkina Faso</option>"+
			"                    <option value='BI'>Burundi</option>"+
			"                    <option value='KH'>Cambodia</option>"+
			"                    <option value='CM'>Cameroon</option>"+
			"                    <option value='CA'>Canada</option>"+
			"                    <option value='CV'>Cape Verde</option>"+
			"                    <option value='KY'>Cayman Islands</option>"+
			"                    <option value='CF'>Central African Republic</option>"+
			"                    <option value='TD'>Chad</option>"+
			"                    <option value='CL'>Chile</option>"+
			"                    <option value='CN'>China</option>"+
			"                    <option value='CX'>Christmas Island</option>"+
			"                    <option value='CC'>Cocos (Keeling) Islands</option>"+
			"                    <option value='CO'>Colombia</option>"+
			"                    <option value='KM'>Comoros</option>"+
			"                    <option value='CG'>Congo</option>"+
			"                    <option value='CK'>Cook Islands</option>"+
			"                    <option value='CR'>Costa Rica</option>"+
			"                    <option value='HR'>Croatia (Hrvatska)</option>"+
			"                    <option value='CU'>Cuba</option>"+
			"                    <option value='CY'>Cyprus</option>"+
			"                    <option value='CZ'>Czech Republic</option>"+
			"                    <option value='CS'>Czechoslovakia (former)</option>"+
			"                    <option value='DK'>Denmark</option>"+
			"                    <option value='DJ'>Djibouti</option>"+
			"                    <option value='DM'>Dominica</option>"+
			"                    <option value='DO'>Dominican Republic</option>"+
			"                    <option value='TP'>East Timor</option>"+
			"                    <option value='EC'>Ecuador</option>"+
			"                    <option value='EG'>Egypt</option>"+
			"                    <option value='SV'>El Salvador</option>"+
			"                    <option value='GQ'>Equatorial Guinea</option>"+
			"                    <option value='ER'>Eritrea</option>"+
			"                    <option value='EE'>Estonia</option>"+
			"                    <option value='ET'>Ethiopia</option>"+
			"                    <option value='FO'>Faroe Islands</option>"+
			"                    <option value='FJ'>Fiji</option>"+
			"                    <option value='FI'>Finland</option>"+
			"                    <option value='FR'>France</option>"+
			"                    <option value='FX'>France, Metropolitan</option>"+
			"                    <option value='GF'>French Guiana</option>"+
			"                    <option value='PF'>French Polynesia</option>"+
			"                    <option value='GA'>Gabon</option>"+
			"                    <option value='GM'>Gambia</option>"+
			"                    <option value='GE'>Georgia</option>"+
			"                    <option value='DE'>Germany</option>"+
			"                    <option value='GH'>Ghana</option>"+
			"                    <option value='GI'>Gibraltar</option>"+
			"                    <option value='GB'>Great Britain</option>"+
			"                    <option value='GR'>Greece</option>"+
			"                    <option value='GL'>Greenland</option>"+
			"                    <option value='GD'>Grenada</option>"+
			"                    <option value='GP'>Guadeloupe</option>"+
			"                    <option value='GU'>Guam</option>"+
			"                    <option value='GT'>Guatemala</option>"+
			"                    <option value='GN'>Guinea</option>"+
			"                    <option value='GW'>Guinea-Bissau</option>"+
			"                    <option value='GY'>Guyana</option>"+
			"                    <option value='HT'>Haiti</option>"+
			"                    <option value='HN'>Honduras</option>"+
			"                    <option value='HK'>Hong Kong</option>"+
			"                    <option value='HU'>Hungary</option>"+
			"                    <option value='IS'>Iceland</option>"+
			"                    <option value='IN'>India</option>"+
			"                    <option value='ID'>Indonesia</option>"+
			"                    <option value='IR'>Iran</option>"+
			"                    <option value='IQ'>Iraq</option>"+
			"                    <option value='IE'>Ireland</option>"+
			"                    <option value='IL'>Israel</option>"+
			"                    <option value='IT'>Italy</option>"+
			"                    <option value='CI'>Ivory Coast</option>"+
			"                    <option value='JM'>Jamaica</option>"+
			"                    <option value='JP'>Japan</option>"+
			"                    <option value='JO'>Jordan</option>"+
			"                    <option value='KZ'>Kazakhstan</option>"+
			"                    <option value='KE'>Kenya</option>"+
			"                    <option value='KI'>Kiribati</option>"+
			"                    <option value='KP'>Korea (North)</option>"+
			"                    <option value='KR'>Korea (South)</option>"+
			"                    <option value='KW'>Kuwait</option>"+
			"                    <option value='KG'>Kyrgyzstan</option>"+
			"                    <option value='LA'>Laos</option>"+
			"                    <option value='LV'>Latvia</option>"+
			"                    <option value='LB'>Lebanon</option>"+
			"                    <option value='LS'>Lesotho</option>"+
			"                    <option value='LR'>Liberia</option>"+
			"                    <option value='LY'>Libya</option>"+
			"                    <option value='LI'>Liechtenstein</option>"+
			"                    <option value='LT'>Lithuania</option>"+
			"                    <option value='LU'>Luxembourg</option>"+
			"                    <option value='MO'>Macau</option>"+
			"                    <option value='MK'>Macedonia</option>"+
			"                    <option value='MG'>Madagascar</option>"+
			"                    <option value='MW'>Malawi</option>"+
			"                    <option value='MY'>Malaysia</option>"+
			"                    <option value='MV'>Maldives</option>"+
			"                    <option value='ML'>Mali</option>"+
			"                    <option value='MT'>Malta</option>"+
			"                    <option value='MH'>Marshall Islands</option>"+
			"                    <option value='MQ'>Martinique</option>"+
			"                    <option value='FK'>Malvinas</option>"+
			"                    <option value='MR'>Mauritania</option>"+
			"                    <option value='MU'>Mauritius</option>"+
			"                    <option value='YT'>Mayotte</option>"+
			"                    <option value='MX'>Mexico</option>"+
			"                    <option value='FM'>Micronesia</option>"+
			"                    <option value='MD'>Moldova</option>"+
			"                    <option value='MC'>Monaco</option>"+
			"                    <option value='MN'>Mongolia</option>"+
			"                    <option value='MS'>Montserrat</option>"+
			"                    <option value='MA'>Morocco</option>"+
			"                    <option value='MZ'>Mozambique</option>"+
			"                    <option value='MM'>Myanmar</option>"+
			"                    <option value='NA'>Namibia</option>"+
			"                    <option value='NR'>Nauru</option>"+
			"                    <option value='NP'>Nepal</option>"+
			"                    <option value='NL'>Netherlands</option>"+
			"                    <option value='AN'>Netherlands Antilles</option>"+
			"                    <option value='NC'>New Caledonia</option>"+
			"                    <option value='NZ'>New Zealand (Aotearoa)</option>"+
			"                    <option value='NI'>Nicaragua</option>"+
			"                    <option value='NE'>Niger</option>"+
			"                    <option value='NG'>Nigeria</option>"+
			"                    <option value='NU'>Niue</option>"+
			"                    <option value='NF'>Norfolk Island</option>"+
			"                    <option value='MP'>Northern Mariana Islands</option>"+
			"                    <option value='NO'>Norway</option>"+
			"                    <option value='OM'>Oman</option>"+
			"                    <option value='PK'>Pakistan</option>"+
			"                    <option value='PW'>Palau</option>"+
			"                    <option value='PA'>Panama</option>"+
			"                    <option value='PG'>Papua New Guinea</option>"+
			"                    <option value='PY'>Paraguay</option>"+
			"                    <option value='PE'>Peru</option>"+
			"                    <option value='PH'>Philippines</option>"+
			"                    <option value='PN'>Pitcairn</option>"+
			"                    <option value='PL'>Poland</option>"+
			"                    <option value='PT'>Portugal</option>"+
			"                    <option value='PR'>Puerto Rico</option>"+
			"                    <option value='QA'>Qatar</option>"+
			"                    <option value='RE'>Reunion</option>"+
			"                    <option value='RO'>Romania</option>"+
			"                    <option value='RU'>Russian Federation</option>"+
			"                    <option value='RW'>Rwanda</option>"+
			"                    <option value='KN'>Saint Kitts and Nevis</option>"+
			"                    <option value='LC'>Saint Lucia</option>"+
			"                    <option value='WS'>Samoa</option>"+
			"                    <option value='SM'>San Marino</option>"+
			"                    <option value='ST'>Sao Tome and Principe</option>"+
			"                    <option value='SA'>Saudi Arabia</option>"+
			"                    <option value='WY'>Scotland</option>"+
			"                    <option value='SN'>Senegal</option>"+
			"                    <option value='SC'>Seychelles</option>"+
			"                    <option value='SL'>Sierra Leone</option>"+
			"                    <option value='SG'>Singapore</option>"+
			"                    <option value='SK'>Slovak Republic</option>"+
			"                    <option value='SI'>Slovenia</option>"+
			"                    <option value='SB'>Solomon Islands</option>"+
			"                    <option value='SO'>Somalia</option>"+
			"                    <option value='ZA'>South Africa</option>"+
			"                    <option value='ES'>Spain</option>"+
			"                    <option value='LK'>Sri Lanka</option>"+
			"                    <option value='SH'>St. Helena</option>"+
			"                    <option value='PM'>St. Pierre and Miquelon</option>"+
			"                    <option value='SD'>Sudan</option>"+
			"                    <option value='SR'>Suriname</option>"+
			"                    <option value='SZ'>Swaziland</option>"+
			"                    <option value='SE'>Sweden</option>"+
			"                    <option value='CH'>Switzerland</option>"+
			"                    <option value='SY'>Syria</option>"+
			"                    <option value='TW'>Taiwan</option>"+
			"                    <option value='TJ'>Tajikistan</option>"+
			"                    <option value='TZ'>Tanzania</option>"+
			"                    <option value='TH'>Thailand</option>"+
			"                    <option value='TG'>Togo</option>"+
			"                    <option value='TK'>Tokelau</option>"+
			"                    <option value='TO'>Tonga</option>"+
			"                    <option value='TT'>Trinidad and Tobago</option>"+
			"                    <option value='TN'>Tunisia</option>"+
			"                    <option value='TR'>Turkey</option>"+
			"                    <option value='TM'>Turkmenistan</option>"+
			"                    <option value='TC'>Turks and Caicos Islands</option>"+
			"                    <option value='TV'>Tuvalu</option>" +
			"                    <option value='UG'>Uganda</option>"+
			"                    <option value='UA'>Ukraine</option>"+
			"                    <option value='AE'>United Arab Emirates</option>"+
			"                    <option value='UK' selected>United Kingdom</option>"+
			"                    <option value='US'>United States</option>"+
			"                    <option value='UY'>Uruguay</option>"+
			"                    <option value='UM'>US Minor Outlying Islands</option>"+
			"                    <option value='SU'>USSR (former)</option>"+
			"                    <option value='UZ'>Uzbekistan</option>"+
			"                    <option value='VU'>Vanuatu</option>"+
			"                    <option value='VA'>Vatican City State</option>"+
			"                    <option value='VE'>Venezuela</option>"+
			"                    <option value='VN'>Vietnam</option>"+
			"                    <option value='VG'>Virgin Islands (British)</option>"+
			"                    <option value='VI'>Virgin Islands (U.S.)</option>"+
			"                    <option value='WF'>Wallis and Futuna Islands</option>"+
			"                    <option value='EH'>Western Sahara</option>"+
			"                    <option value='YE'>Yemen</option>"+
			"                    <option value='YU'>Yugoslavia</option>"+
			"                    <option value='ZR'>Zaire</option>"+
			"                    <option value='ZM'>Zambia</option>"+
			"                    <option value='ZW'>Zimbabwe</option>"+
			"                  ");
}

function fCreateCboYear() {
	document.write(
			"                    <option value='2004'>2004</option>"+
			"                    <option value='2005'>2005</option>"+
			"                    <option value='2006'>2006</option>");
}

function addFav(){
  var link = 'http://www.EuropeSelection.com'
  var title = 'EuropeSelection.com'
  if(document.all)
    window.external.AddFavorite(link,title)
}


function emailFriend(){
	window.open("EmailToFriend.asp","wndEmail","width=475,height=200,left=200,top=200")
}


function getLink(p_strLink,p_StrCurLoc,p_strFileName,p_BolShowRsvLink)
{	var v_strRes;	
	var v_strDisp;
	
	p_strLink = p_strLink.toUpperCase();
	p_StrCurLoc = p_StrCurLoc.toUpperCase();
	
	switch(p_strLink){
		case "HOME" :
		 	v_strDisp = "HOME";
			break;
		case "COUNTRY" :
			v_strDisp = "COUNTRY INFO";
			break;
		case "VISA" :
			v_strDisp = "VISA INFO";
			break;
		case "HOTEL" :
			v_strDisp = "FAVORITE HOTEL";
			break;
		case "MAP" :
			v_strDisp = "MAP";
			break;
		case "CURRENCY" :
			v_strDisp = "CURRENCY";
			break;
		case "DIRECTORY" :
			v_strDisp = "&nbsp;HOTEL DIRECTORY";
			break;			
	}
			
	

	if (p_BolShowRsvLink) 
	{		
		p_strFileName = "../" + p_strFileName;
	}
	
	if(p_strLink == p_StrCurLoc)
	{	v_strRes = '<span class="topnolink">' + v_strDisp + '</span>';
	}
	else
	{	v_strRes = '<a href="' + p_strFileName + '" class="top">' + v_strDisp + '</a>';
	}
	return v_strRes;
}

function getLinkFooter(p_strLink,p_StrCurLoc,p_strFileName,p_BolSubFolder)
{	var v_strRes;	
	var v_strDisp;
	
	p_strLink = p_strLink.toUpperCase();
	p_StrCurLoc = p_StrCurLoc.toUpperCase();
	
	switch(p_strLink){
		case "ABOUT" :
		 	v_strDisp = "About Us";
			break;
		case "TERM" :
			v_strDisp = "Term to Use";
			break;
		case "POLICY" :
			v_strDisp = "Privacy Policy";
			break;
		case "AFFILIATE" :
			v_strDisp = "Become An Affiliate";
			break;
	}
			
	

	if (p_BolSubFolder) 
	{		
		p_strFileName = "../" + p_strFileName;
	}
	
	if(p_strLink == p_StrCurLoc)
	{	v_strRes = '<span class="xsmallbold">' + v_strDisp + '</span>';
	}
	else
	{	v_strRes = '<a href="' + p_strFileName + '" class="btmlink2">' + v_strDisp + '</a>';
	}
	return v_strRes;
}


function Do_Write_Header(p_StrCurLoc,p_BolShowRsvLink){

	var HomeLink,CountryLink,VisaLink,WeatherLink,HotelLink;
	var MapLink,MoneyLink,TipsLink,HotelDirLink;
	var ImgDir;
	var v_strFolder = "";
	
	if(p_BolShowRsvLink) v_strFolder = "../"
	
	HomeLink = "HOME"	
	CountryLink = "COUNTRY";
	VisaLink = "VISA"; 
	HotelLink = "HOTEL"; 
	MapLink = "MAP"; 
	MoneyLink = "CURRENCY"; 
	
	HomeLink  = getLink(HomeLink,p_StrCurLoc,"index.html",p_BolShowRsvLink)
	CountryLink = getLink(CountryLink,p_StrCurLoc,"Country.html",p_BolShowRsvLink)
	VisaLink = getLink(VisaLink ,p_StrCurLoc,"visa.html",p_BolShowRsvLink)
	HotelLink = getLink(HotelLink ,p_StrCurLoc,"javascript:MM_openBrWindow('bigbox.htm?htlpartner=www.europeselection.com','wndbox1a','scrollbars=yes,width=650,height=400')",p_BolShowRsvLink)
	MapLink = getLink(MapLink,p_StrCurLoc,"map.html",p_BolShowRsvLink); 
	MoneyLink = getLink(MoneyLink,p_StrCurLoc,"Money.html",p_BolShowRsvLink);

	if (!p_BolShowRsvLink) {
		ImgDir = "images/";
			
	}else
	{		
		ImgDir = "../images/";
	}

	document.write('      <link href="../images/eurobell.css" rel="stylesheet" type="text/css">');
	document.write('      <TABLE align="center" WIDTH=780 border=0 cellspacing=0 cellpadding=0>');
	document.write('      <TR>');
	document.write('        <TD colspan=8 rowspan=2 WIDTH=305 bgcolor=#FFFFFF><IMG SRC="' + ImgDir +  'eurobell_01.gif" ALT=""></TD>');
	document.write('        <TD colspan=10 bgcolor="#FFFFFF" align=right><IMG SRC="' + ImgDir +  'top1.jpg" WIDTH=447 HEIGHT=73 ALT=""></TD>');
	document.write('      </TR>');
	document.write('      <TR>');
	document.write('        <TD colspan=2>');
	document.write('        <TABLE align="center" WIDTH=100% border=0 cellspacing=0 cellpadding=0>');
	document.write('			<TR>');
	document.write('				<TD><IMG SRC="' + ImgDir +  'eurobell_03.gif" width=26 HEIGHT=26 ALT=""></TD>');
	document.write('        		<TD width="45" background="' + ImgDir +  'eurobell_04.gif"><div align="center">' + HomeLink + '</div></TD>');
	document.write('        		<TD width="1"><IMG SRC="' + ImgDir +  'eurobell_05.gif" WIDTH=1 HEIGHT=26 ALT=""></TD>');
	document.write('        		<TD width="94" background="' + ImgDir +  'eurobell_06.gif"><div align="center">' + CountryLink + '</div></TD>');
	document.write('        		<TD width="1"><IMG SRC="' + ImgDir +  'eurobell_07.gif" WIDTH=1 HEIGHT=26 ALT=""></TD>');
	document.write('        		<TD width="74" background="' + ImgDir +  'eurobell_08.gif"><div align="center">'+ VisaLink +'</div></TD>');
	document.write('        		<TD width="1"><IMG SRC="' + ImgDir +  'eurobell_09.gif" WIDTH=1 HEIGHT=26 ALT=""></TD>');
	document.write('       	 		<TD width="76" background="' + ImgDir +  'eurobell_08.gif"><div align="center">'+ MoneyLink +'</div></TD>');
	document.write('        		<TD width="1"><IMG SRC="' + ImgDir +  'eurobell_09.gif" WIDTH=1 HEIGHT=26 ALT=""></TD>');
	document.write('        		<TD width="45" background="' + ImgDir +  'eurobell_10.gif"><div align="center">'+ MapLink +'</div></TD>');
	document.write('        		<TD width="1"><IMG SRC="' + ImgDir +  'eurobell_11.gif" WIDTH=1 HEIGHT=26 ALT=""></TD>');
//	document.write('        		<TD width="110" background="' + ImgDir +  'eurobell_12.gif"><div align="center">' + HotelLink + '</div></TD>');	
	document.write('        		<TD width="110" background="' + ImgDir +  'eurobell_12.gif"><div align="center"><a class="top" href="http://www.reservation-system.net/MP/M347/M347-index2.aspx?HtlCCCode=HCC0600054&BackURL=http://www.europeselection.com">HOTEL BOOKING</a></div></TD>');	
	document.write('			</TR></TABLE></TD>');
	document.write('      </TR>');      
	document.write('      <TR>');
	document.write('        <TD COLSPAN=24><IMG SRC="' + ImgDir +  'eurobell_13.gif" WIDTH=780 HEIGHT=3 ALT=""></TD>');
	document.write('      </TR>');
	document.write('      <TR>');
	document.write('        <TD COLSPAN=24><IMG SRC="' + ImgDir +  'eurobell_14.gif" WIDTH=780 HEIGHT=1 ALT=""></TD>');
	document.write('      </TR>');
	document.write('      </TABLE>');

}

function Do_Write_Footer(p_strActivePage,p_bolShowLogo,p_bolSubFolder){
	var ImgDir;
	
	var AboutLink,TermLink,PolicyLink,AffiliateLink;

	AboutLink = "ABOUT";
	TermLink = "TERM";
	PolicyLink = "POLICY";
	AffiliateLink = "AFFILIATE";
	AffiliateLink = "";
	
	AboutLink   = getLinkFooter(AboutLink ,p_strActivePage,"aboutus.html",p_bolSubFolder)
	TermLink = getLinkFooter(TermLink,p_strActivePage,"use.html",p_bolSubFolder)
	PolicyLink = getLinkFooter(PolicyLink,p_strActivePage,"privacy.html",p_bolSubFolder)
	AffiliateLink = getLinkFooter(AffiliateLink,p_strActivePage,"affiliate.html",p_bolSubFolder)
	
	

	if(p_bolSubFolder)
	{ ImgDir = "../Images/" }
	else
	{ ImgDir = "Images/" }
	
	document.write('      <TABLE WIDTH=780 border=0 cellspacing=0 cellpadding=0>');
	document.write('      <TR>');
	document.write('        <TD height="1" COLSPAN=23 valign="top" bgcolor="#EDEEC1">');
	document.write('           <table width="100%"  border="0" cellspacing="0" cellpadding="0">');
	document.write('            <tr>');
	document.write('              <td height="1" background="' + ImgDir +  'dot.gif"><img src="' + ImgDir +  'spacer.gif" width="1" height="1"></td>');
	document.write('            </tr>');
	document.write('            <tr>');
	document.write('              <td colspan="3"><div align="center"><a href="javascript:addFav();" class="btmlink1">Add to Favorites</a> <span class="btn style2">|</span> <a HREF=# onClick=this.style.behavior="url(#default#homepage)";this.setHomePage("http://www.europeselection.com"); class="btmlink1">Make your Home Page</a> <span class="btn"><!--<span class="style2">|</span> </span><a href="javascript:emailFriend();" class="btmlink1">Recomended to your Friend </a>--></div></td>');
	document.write('            </tr>');
	document.write('            <tr>');
	document.write('              <td  valign="top"><div align="center">' + AboutLink + '<span class="btn style2"> | </span>' + TermLink + '<span class="btn style2"> |</span>');
//	document.write('				 '+ PolicyLink + '<span class="btn style2">| </span> ' + AffiliateLink + ' <span class="btn style2"> |</span> <a href="http://www.hotelexchange.com" target="_blank" class="btmlink2">Travel Agent Sites</a> <span class="btn style2">|</span> <a href="mailto:info@europeselection.com" class="btmlink2">Contact Us </a></div></td>');
	document.write('				 '+ PolicyLink + '<span class="btn style2"> | </span> <a href="http://www.hoteldealdirect.com" target="_blank" class="btmlink2">Travel Agent Site</a> <span class="btn style2">|</span> <a href="mailto:europeselection-info@europeselection.com" class="btmlink2">Contact Us </a></div></td>');
	document.write('            </tr>');
	document.write('            <tr>');
	document.write('              <td height="1"  background="' + ImgDir +  'dot.gif" bgcolor="#CBCE71"><img src="' + ImgDir +  'spacer.gif" width="1" height="1"></td>');
	document.write('            </tr>');
	document.write('            <tr bgcolor="#CBCE71">');
	document.write('              <td height="1" ><div align="center" class="smallest">Europeselection.com, not responsible for content on external websites. 2004 Europeselection. All Right Reserved.<BR><BR></div></td>');
	document.write('            </tr>');
	

	document.write('            <tr>');
	document.write('           	 <td>');
	/*if(p_bolShowLogo){		
		document.write('           	 <table width=100% cellspacing=0 border=0 cellpadding=0 ><tr>');
		document.write('	              <td width="46%" height="1" valign="middle" bgcolor="#CBCE71"><div align="center" class="xsmall">');
		document.write('        	          <div align="right" class="smallest">powered by &nbsp; </div>');
		document.write(' 	             </div></td>');
		document.write('	              <td width="9%" valign="middle" bgcolor="#CBCE71"><span class="xsmall">');
		document.write('     		          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="70" height="43" align="bottom">');
		document.write('                	  <param name="movie" value="' + ImgDir +  'powered.swf">');
		document.write('   		          <param name="quality" value="high">');
		document.write('                  	  <embed src="' + ImgDir +  'powered.swf" width="70" height="43" align="bottom" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>');
		document.write('	                 </object>');
		document.write('              	      </span></td>');
		document.write('              	     <td width="45%" valign="middle" bgcolor="#CBCE71"><span class="smallest">&nbsp; pelicansystem </span></td>');
		document.write('           	 </tr></table>');	
	}*/	
	document.write('           	 </td>');	
	document.write('            </tr>');
			
	document.write('          </table>');
	document.write('         </TD>');
	document.write('      </TR>');
		

	document.write('      <TR>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD width="20"><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=20 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD width="18"><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=18 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=46 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD width="30"><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=30 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD width="69"><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=69 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD width="2"><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=2 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD width="115"><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=115 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD width="1"><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD width="25"><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=25 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=45 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=94 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=109 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=78 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write('        <TD width="90"><IMG SRC="' + ImgDir +  'spacer.gif" WIDTH=90 HEIGHT=1 ALT=""></TD>');
	document.write('      </TR>');	
	document.write('      </TABLE>');	
			
}

function writeResv() {
/*document.write('<form name="mainForm" action="http://www.lodging.com/auto/fast_search.cgi" method=post>');    
document.write("            <input type='hidden' name='numrooms' value='1'>" +
				"            <input type='hidden' name='numadults' value='2'>" +
				"            <input type='hidden' name='remote' value='europeselection'>")*/
document.write('	<form name="hotsrchbox" action="http://www.res99.com/nexres/search/power_results.cgi" method=post>');
document.write('	<input type=hidden name="avail" value="Y">');
document.write('	<input type=hidden name="avail2" value="Y">');
document.write('	<input type=hidden name="num_rooms" value="1">');
document.write('	<input type=hidden name="smoking_pref" value="NP">');
document.write('	<input type=hidden name="bed_type" value="NP">');
document.write('	<input type=hidden name=src_aid>');
document.write('	<input type=hidden value="10011359" name=src>');
document.write('	<input type=hidden value=shotw_top name=header>');
document.write('    <table width="100%"  border="0" cellspacing="2" cellpadding="0" bgcolor="#FAFBDF">');
document.write('           <tr>');
document.write('              <td valign="top">');
document.write('    <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">');
document.write('             	<tr>');
document.write('              			<td><div align="center"><span class="bold"><strong>HOTEL RESERVATION</strong></span> </div></td>');
document.write('   		        </tr>');
document.write('          		<tr>');
document.write('  			        <td bgcolor="#999999"><div align="center"><img src="images/spacer.gif" width="1" height="1"></div></td>');
document.write('           		</tr>');
document.write('           		<tr>');
document.write('              			<td><div align="center"><IFRAME SRC="http://www.reservation-system.net/MP/M347/M347-index2.aspx?HtlCCCode=HCC0600054" WIDTH="612" height="88" frameborder= marginHeight= marginWidth= ></IFRAME> </div></td>');
document.write('   		        </tr>');
document.write('              			<td bgcolor="#FFFBDE">');
document.write('    <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#FAFBDF">');
document.write('	          				<tr>');
document.write('				        	      <td width="28%" class="txttabelbold">');
document.write('	<table width="98%"  border="0" align="right" cellpadding="0" cellspacing="1" >');
document.write('        	              				<tr>');
document.write("										<tr>");
document.write(' 	                     				</tr>');
document.write(' 	  						</table>');
document.write(' 	             				     </td>');
document.write('        	      				     <td width="28%" class="txttabelbold">');
document.write('    <table width="100%"  border="0" cellspacing="1" cellpadding="0">');
document.write("						<tr>");
document.write("						</tr>")
document.write('             				     			</table>');
document.write('           			    			</td>');
document.write(' 	           		 			<td width="44%" class="txttabelbold">');
document.write('    <table width="100%"  border="0" cellspacing="1" cellpadding="0">');
document.write('                      						</table>');
document.write('            	   					</td>');
document.write('        					</tr>');
document.write('    					</table>');
document.write('             			</td>');
document.write('           		</tr>');
document.write('    			</table>');
document.write('              </td>');
document.write('           </tr>');
document.write('    </table>');
document.write('</form>');
}

function writeDayIn() {
	document.write("<select class='form' name='doa_dd' width='3'>")
	for(var i=1;i<=31;i++) {
		document.write("<option value='"+ i +"'");
		if(i==g_intDate) document.write (" selected");
		document.write(">"+ i +"</option>");
	}
	document.write ("</select>");
}
	
	
		
function writeDayOut() {
	var v_intDate = g_intDate + 2;
	if (v_intDate > 31) v_intDate = v_intDate - 31
	document.write("<select class='form' name='dod_dd' width='3'>")
	for(var i=1;i<=31;i++) {
		document.write("<option value='"+ i +"'");
		if(i==v_intDate) document.write (" selected");
		document.write(">"+ i +"</option>");
	}
	document.write ("</select>");
}

function writeMonthIn() {
	var v_arrMonthNm = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
	document.write("<select class='form' name='doa_mm'>")
	for(var i=0; i<12; i++) {
		document.write("<option value='"+ (i+1) +"'");
		if(i==g_intMonth) document.write (" selected");
		document.write(">"+ v_arrMonthNm[i] +"</option>");
	}
	document.write("</select>");
}

function writeMonthOut() {
	var v_intMonth = g_intMonth
	var v_arrMonthNm = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
	document.write("<select class='form' name='dod_mm'>")
	if(g_intDate+2 > 31) {
		v_intMonth+=1
		if(v_intMonth==13) v_intMOnth=1
	}
	for(var i=0; i<12; i++) {
		document.write("<option value='"+ (i+1) +"'");
		if(i==v_intMonth) document.write (" selected");
		document.write(">"+ v_arrMonthNm[i] +"</option>");
	}
	document.write("</select>");
}

function fCreateCboYearIn() {
	for(var i=g_intYear; i<g_intYear+3; i++) {
		document.write("<option value='" + i + "'");
		if(i==g_intYear) document.write(" selected");
		document.write(">" + i + "</option>");
	}
}

function fCreateCboYearOut() {
	var v_intYear = g_intYear
	if(g_intDate+2 >31 && g_intMonth == 11) v_intYear+=1
	for(var i=g_intYear; i<g_intYear+3; i++) {
		document.write("<option value='" + i + "'");
		if(i==v_intYear) document.write(" selected");
		document.write(">" + i + "</option>");
	}
}
