
function calendarClose(id){calendarResult=id;if(id)
{date=id.split('-');day=document.theForm.selDay;day.selectedIndex=date[2]-1;month=document.theForm.selMonth;month.selectedIndex=date[1]-1;year=document.theForm.selYear;for(i=0;i<year.options.length;i++){if(year.options[i].value==date[0]){year.options[i].selected=true;}}}
calendarRemove();calcDay('theForm','selDay','selMonth','selYear','StartDay');document.documentElement.onclick=null;}
function calendarRemove(){var div=document.getElementById('calendarPopup');if(div)
{div.style.display='none';}
targetId='';}
var calendarResult='';var Classes=new Array();var targetId='';function calendar(){if(document.getElementById('advanced')){if(optShown){showHideAdditonal();}}
date=document.theForm.selYear.options[document.theForm.selYear.selectedIndex].value+'-'+(document.theForm.selMonth.selectedIndex+1)+'-'+(document.theForm.selDay.selectedIndex+1);inputBoxId='CalendarDate';var quickRunAway=(targetId==inputBoxId);calendarRemove();if(quickRunAway){return;}
targetId=inputBoxId;var div=document.getElementById('calendarPopup');if(!div){div=document.createElement('div');div.setAttribute('id',"calendarPopup");var CalImg=document.getElementById('CalendarImage');CalImg.parentNode.appendChild(div);}
var textBox=document.getElementById(targetId);if(navigator.userAgent.indexOf("Firefox")!=-1){div.style.position='absolute';}else{div.style.position='absolute';}
div.style.zIndex=2100;document.documentElement.onclick=function(e){if(clickedOutsideElement('CalendarImage',e)&&clickedOutsideElement('calendarPopup',e)){calendarClose(0);}}
calendarPopulate(date);}
function calendarPopulate(date){var dayNames=new Array('Mo','Tu','We','Th','Fr','Sa','Su');var monthNames=new Array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');var id;var styleClass='';var table='';var events='onClick="calendarClose(this.id);" onMouseOver="this.className=\'calendarHighlight\';" onMouseOut="this.className=Classes[this.id];"';var dateArray=date.split('-');today=new Date();blah=new Date();blah.setYear(dateArray[0]);blah.setDate(1);blah.setMonth(dateArray[1]-1);zarg=new Date();zarg.setYear(blah.getFullYear());zarg.setDate(1);zarg.setMonth(blah.getMonth()-1);if(zarg.getMonth()+1==today.getMonth()){zarg.setYear(today.getFullYear()+1);}
prevMonth="&laquo;&nbsp;<a href='javascript:calendarPopulate(\""+zarg.getFullYear()+"-"+(zarg.getMonth()+1)+"-"+zarg.getDate()+"\")'>"+monthNames[zarg.getMonth()]+"</a>";zarg.setYear(blah.getFullYear());zarg.setDate(1);zarg.setMonth(blah.getMonth()+1);if(zarg.getMonth()==today.getMonth()){zarg.setYear(today.getFullYear());}
nextMonth="<a href='javascript:calendarPopulate(\""+zarg.getFullYear()+"-"+(zarg.getMonth()+1)+"-"+zarg.getDate()+"\")'>"+monthNames[zarg.getMonth()]+"</a>&nbsp;&raquo;";nextYear="<a href='javascript:calendarPopulate(\""+(blah.getFullYear()+1)+"-"+(blah.getMonth()+1)+"-01\")'>&laquo;"+(blah.getFullYear()+1)+"</a>";prevYear="<a href='javascript:calendarPopulate(\""+(blah.getFullYear()-1)+"-"+(blah.getMonth()+1)+"-01\")'>"+(blah.getFullYear()-1)+"&raquo;</a>";table+='<table class=calendar>\n';table+='<tr><td colspan=7 class=calendarMonthTitle align=center>'
table+=prevMonth+'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';table+=monthNames[blah.getMonth()]+'&nbsp;'+blah.getFullYear()+'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';table+=nextMonth+'</td>';table+='</tr>\n';table+='<tr>';for(i=0;i<5;i++)table+='<td class=calendarWeekdayHeading align=center>'+dayNames[i]+'</td>';for(;i<7;i++)table+='<td class=calendarWeekendHeading align=center>'+dayNames[i]+'</td>';table+='</tr>\n';table+='<tr>';if(blah.getDay()!=1)
{var i=-(blah.getDay()+5)%7;for(;i<1;i++)
{workingDate=new Date(blah);workingDate.setDate(i);if((month=(workingDate.getMonth()+1))<10)
{month='0'+month;}
if((day=(workingDate.getDate()))<10)
{day='0'+day;}
id=workingDate.getFullYear()+'-'+month+'-'+day;if(today.getDate()==workingDate.getDate()&&today.getMonth()==workingDate.getMonth()&&today.getFullYear()==workingDate.getFullYear())
{styleClass='calendarWrongToday';}
else if((workingDate.getDay==0)||(workingDate.getDay()==6))
{styleClass='calendarWrongMonthWeekend';}
else
{styleClass='calendarWrongMonthWeekday';}
table+='<td id="'+id+'" '+events+' class='+styleClass+' align=center>';Classes[id]=styleClass;table+=workingDate.getDate();table+='</td>\n';}}
else
{var i=1;}
for(;;i++)
{workingDate=new Date(blah);workingDate.setDate(i);if((month=(workingDate.getMonth()+1))<10)month='0'+month;if((day=(workingDate.getDate()))<10)day='0'+day;id=workingDate.getFullYear()+'-'+month+'-'+day;if(workingDate.getMonth()!=blah.getMonth())
{break;}
if(workingDate.getDay()==1){table+='</tr>\n<tr>';}
if(today.getDate()==workingDate.getDate()&&today.getMonth()==workingDate.getMonth()&&today.getFullYear()==workingDate.getFullYear())
{styleClass='calendarToday';}
else if((workingDate.getDay()==0)||(workingDate.getDay()==6))
{styleClass='calendarWeekend';}
else
{styleClass='calendarWeekday';}
table+='<td id="'+id+'" '+events+' class='+styleClass+' align=center>';Classes[id]=styleClass;table+=workingDate.getDate();table+='</td>\n';}
if(workingDate.getDay()!=1)
{for(;;i++){workingDate=new Date(blah);workingDate.setDate(i);if((month=(workingDate.getMonth()+1))<10)month='0'+month;if((day=(workingDate.getDate()))<10)day='0'+day;id=workingDate.getFullYear()+'-'+month+'-'+day;if(today.getDate()==workingDate.getDate()&&today.getMonth()==workingDate.getMonth()&&today.getFullYear()==workingDate.getFullYear())
{styleClass='calendarWrongToday';}
else if((workingDate.getDay()==0)||(workingDate.getDay()==6))
{styleClass='calendarWrongMonthWeekend';}
else
{styleClass='calendarWrongMonthWeekday';}
table+='<td id="'+id+'" '+events+' class='+styleClass+' align=center>';Classes[id]=styleClass;table+=workingDate.getDate();table+='</td>\n';if(workingDate.getDay()==0)break;}}
table+='</tr>\n'
table+='<tr><td colspan=7 align=center><a href="javascript:calendarClose(0)">Close</a></td></tr>';table+='</table>';var div=document.getElementById('calendarPopup');div.innerHTML=table;div.style.display='block';}
function calcDay(frm,nm,nm2,nm3,day){curr_year=document.forms[frm].elements[nm3].options[document.forms[frm].elements[nm3].selectedIndex].value;var cl,cForm,cMonthYearField,cDayField,cDateField;var mDays=new Array(31,28,31,30,31,30,31,31,30,31,30,31)
var days=["Sun","Mon","Tue","Wed","Thu","Fri","Sat",];var days2=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var d=new Date();dateVal=document.forms[frm].elements[nm].options[document.forms[frm].elements[nm].selectedIndex].value;monthVal=curr_year+document.forms[frm].elements[nm2].options[document.forms[frm].elements[nm2].selectedIndex].value;var isLeapYear=(((monthVal.substr(0,4)%4==0)&&(monthVal.substr(0,4)%100!=0))||(monthVal.substr(0,4)%400==0));mDays[1]=(isLeapYear)?29:28;if(dateVal>mDays[monthVal.substr(4,2)-1]){setDDValue(document.forms[frm].elements[nm],mDays[monthVal.substr(4,2)-1]);dateVal=document.forms[frm].elements[nm].options[document.forms[frm].elements[nm].selectedIndex].value;}
newDate=new Date(monthVal.substr(0,4)+"/"+monthVal.substr(4,2)+"/"+dateVal);}
function setDDValue(elem,val){num=elem.options.length;for(i=0;i<num;i++){if(elem.options[i].value==val){elem.options.selectedIndex=i;}}}
function clickedOutsideElement(elemId,evt){var theElem='';if(window.event){theElem=getEventTarget(window.event);}else{theElem=getEventTarget(evt);}
while(theElem!=null){if(theElem.id==elemId){return false;}
theElem=theElem.offsetParent;}
return true;}
function getEventTarget(evt){var targ=(evt.target)?evt.target:evt.srcElement;if(targ!=null){if(targ.nodeType==3){targ=targ.parentNode;}}
return targ;}<!--
function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore)selObj.selectedIndex=0;}
function MM_findObj(n,d){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_jumpMenuGo(selName,targ,restore){var selObj=MM_findObj(selName);if(selObj)MM_jumpMenu(targ,selObj,restore);}<!--
if(v){a=new Array(22);}
function getFormNum(formName){var formNum=-1;for(i=0;i<document.forms.length;i++){tempForm=document.forms[i];if(formName==tempForm){formNum=i;break;}}
return formNum;}
function jmp(form,elt)
{if(form!=null){with(form.elements[elt]){if(0<=selectedIndex)
location=options[selectedIndex].value;}}}
var catsIndex=-1;var itemsIndex;if(v){function newCat(){catsIndex++;a[catsIndex]=new Array();itemsIndex=0;}
function O(txt,url){a[catsIndex][itemsIndex]=new myOptions(txt,url);itemsIndex++;}
function myOptions(text,value){this.text=text;this.value=value;}
newCat();O("Introduction to Hostels","http://www.discoverfrance.net/Boutique/Travel/Hostels/hostels_index.shtml");O("Guided Sightseeing Tours","http://www.reservations.bookhostels.com/tours/discoverfrance.net/");O("All Hostels in France","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France");O("------------------------------------","#");O("Selected Paris hostels:","http://www.hostelseurope.com/france/francehostels.html#Anchor Paris");O("------------------------------------","#");O("-- Aloha Hostel","http://reservations.bookhostels.com/discoverfrance.net/hostel.php?HostelNumber=601");O("-- Friend's Hostel","http://reservations.bookhostels.com/discoverfrance.net/hostel.php?HostelNumber=2431");O("-- Peace & Love Hostel","http://reservations.bookhostels.com/discoverfrance.net/hostel.php?HostelNumber=2303");O("-- Regent Hotel","http://reservations.bookhostels.com/discoverfrance.net/hostel.php?HostelNumber=1657");O("-- Square Caulaincourt Hostel","http://reservations.bookhostels.com/discoverfrance.net/hostel.php?HostelNumber=2193");O("-- Village Hostel","http://reservations.bookhostels.com/discoverfrance.net/hostel.php?HostelNumber=606");O("------------------------------------","#");O("Other cities in France:","#");O("------------------------------------","#");O("-- Allauch (Marseille)","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Allauch(Marseille)");O("-- Antibes","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Antibes");O("-- Bordeaux","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Bordeaux");O("-- Cannes","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Cannes");O("-- Carcassonne","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Carcassonne");O("-- Cassis","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Cassis");O("-- Chalon-sur-Saone","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity= Chalon Sur Saone");O("-- Colmar","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Colmar");O("-- Corsica","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Corsica");O("-- Grasse","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Grasse");O("-- Lyon","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Lyon");O("-- Marseille","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Marseille");O("-- Nancy","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Nancy");O("-- Nice","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Nice");O("-- Paris (All Listings)","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Paris");O("-- Perpignan","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Perpignan");O("-- Poitiers","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Poitiers");O("-- Rouen","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Rouen");O("-- Strasbourg","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Strasbourg");O("-- Toulouse","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity=Toulouse");O("-- Villeneuve-sur-Lot","http://www.reservations.bookhostels.com/discoverfrance.net/index.php?TheCountry=France&TheCity= Villeneuve sur Lot");O("------------------------------------","#");O("WORLDWIDE HOSTEL SEARCH","http://reservations.bookhostels.com/discoverfrance.net/");O("------------------------------------","#");O("-","#");O("-","#");O("-","#");O("-","#");newCat();O("Search by hotel brands:","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/lodging_index.shtml");O("Best Western","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Best_Western_index.shtml");O("Campanile","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Campanile_index.shtml");O("Citadines Apart'hotels","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Citadines_index.shtml");O("Comfort Hotels & Inns","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Comfort_Inn_index.shtml");O("Concorde Hotels Group","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Concorde_index.shtml");O("Dorchester Group","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Dorchester_index.shtml");O("Envergure Group","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Envergure_index.shtml");O("Four Seasons Hotels & Resorts","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Four_Seasons_index.shtml");O("Golden Tulip Hotels, Inns & Resorts","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Golden_Tulips_index.shtml");O("Hilton","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Hilton_index.shtml");O("Holiday Inn","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Holiday_Inn_index.shtml");O("Ibis Hotels","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Ibis_index.shtml");O("Inter-Continental Hotels & Resorts","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Inter-Continental_index.shtml");O("Kyriad Hotels","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Kyriad_index.shtml");O("Libertel","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Libertel_index.shtml");O("Mercure","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Mercure_index.shtml");O("Le Meridien Hotels & Resorts","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Meridien_index.shtml");O("Novotel","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Novotel_index.shtml");O("Quality Inns, Hotels & Suites","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Quality_Inn_index.shtml");O("Radisson Hotels & Resorts","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Radisson_index.shtml");O("Sofitel","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Sofitel_index.shtml");O("Suitehotel","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Suitehotel_index.shtml");O("Summit Hotels & Resorts","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Summit_index.shtml");O("Timhotel","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Chains/Timhotel_index.shtml");O("------------------------------------","#");newCat();O("Search by property:","http://www.discoverfrance.net/Boutique/Travel/Hotels/suites_index.shtml");O("------------------------------------","#");O("Suites & Apartments in Paris","#");O("------------------------------------","#");O("All-Suite Flatotel Eiffel Tower","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Flatotel_index.shtml");O("Champs-Elysees Apartments","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Champs-Elysees_index.shtml");O("Citadines Apart'hotels","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Citadines_index.shtml");O("Claridge Champs-Elysees Hotel & Apts.","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Claridge_index.shtml");O("Club La Fayette","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Club_La_Fayette_index.shtml");O("Elysees Union Apartments","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Elysees_Union_index.shtml");O("Four Seasons Hotel George V","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/George_V_Hotel_index.shtml");O("Home Plazza Suite Hotels de Charme","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Home_Plazza_index.shtml");O("Hotel Le Bristol","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Bristol_Hotel_index.shtml");O("Hotel de Crillon","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Crillon_Hotel_index.shtml");O("Hotel Meurice","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Meurice_Hotel_index.shtml");O("Hotel Plaza Athenee","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Plaza_Athenee_index.shtml");O("Hotel Ritz","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Ritz_Hotel_index.shtml");O("Libertel Residence Defense","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Libertel_Defense_index.shtml");O("Marais Turenne Apartments","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Marais_Turenne_index.shtml");O("Residence Alma Marceau Apts.","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Alma_Marceau_index.shtml");O("Residence des Arts Apartments","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Residence_Arts_index.shtml");O("Residence Bassano","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Residence_Bassano_index.shtml");O("Residence Bergere Apartments","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Bergere_Apts_index.shtml");O("Residence Longchamps Apartments","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Longchamps_Apts_index.shtml");O("Residence Passage Dubail","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Passage_Dubail_index.shtml");O("Residence du Roy","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Residence_Roy_index.shtml");O("Saint-Germain Apartments","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/St-Germain_Apts_index.shtml");O("Suitehotel Charles de Gaulle","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Suitehotel_CDG_index.shtml");O("Victor Hugo Apartments","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Victor_Hugo_Apts_index.shtml");O("------------------------------------","#");O("Other Cities:","#");O("------------------------------------","#");O("All Suites Residence Cannes","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/All_Suites_Cannes_index.shtml");O("Ibis Suites Montpellier","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Ibis_Suites_index.shtml");O("Suitehotel Roissy Ville","http://www.discoverfrance.net/Boutique/Travel/TravelNow_HRN/Lodging/Apts_Suites/Suitehotel_Roissy_index.shtml");O("------------------------------------","#");newCat();O("* Category under construction *","#");O("------------------------------------","#");}
function relate(j){if(v){var theOptions=document.f2.m2.options;for(i=theOptions.length-1;i>0;i--)theOptions[i]=null;for(i=0;i<a[j].length;i++){theOptions[i]=new Option(a[j][i].text,a[j][i].value);}
theOptions[0].selected=true;}else{jmp(formName,elementNum);}}
function IEsetup(){if(!document.all)return;IE5=navigator.appVersion.indexOf("5.")!=-1;if(!IE5){for(i=0;i<document.forms.length;i++){document.forms[i].reset();}}}
window.onload=IEsetup;
