var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
//alert(dir)
var dot_html = location.href.substring(dir.length,location.href.length+1).toUpperCase();
//alert(dot_html)
var urlupper = location.href.toUpperCase()
var which_site_n = urlupper.indexOf('PRINCESS')
if (which_site_n > 0){which_site = 'Princess Tiger Lily'}
else {which_site = 'Yellow Bear Journey'}
var last_slash = location.href.lastIndexOf('/')+1
var prev_slash = location.href.substring(0,last_slash-1).lastIndexOf('/')+1
var subdir = location.href.substring(prev_slash,last_slash-1).toUpperCase()
document.write('The Best Places to <font size=+2><b>'+search_type+'</b></font> on the web.<br><br>')
//document.write(dot_html)
if (dot_html == '') {dot_html = 'INDEX.HTML'}
if (dot_html == 'INDEX.HTML') 
{
document.write(search_type0+'<br><br>')
document.write(search_type1+'<br><br>')
document.write(search_type2+'<br><br>')
document.write(search_type3+'<br><br>')
document.write(search_type4+'<br><br>')
document.write(search_type5+'<br><br>')
document.write(search_type6+'<br><br>')
document.write(search_type7+'<br><br>')
document.write(search_type8+'<br><br>')
document.write(search_type9+'<br><br>')
document.write(search_type10+'<br><br>')
} 
document.write('<font size=-1>')
if (dot_html == 'INDEX.HTML') 
{
} 
else {document.write('Click on an image or link below.<br>')}
document.write('Most images are loaded from other sites and may take a minute to load.<br>')
document.write('Download <a href="http://webaccelerator.google.com/">Google Web Accelerator</a> to speed up the loading of images.<br>')
document.write('</font><br>')

