/*
No rightclick script v.2.5
(c) 1998 barts1000
barts1000@aol.com
Don't delete this header!
*/

var message="Sorry, that function is disabled.\nThis Page Copyrighted and\nImages and Text protected!\nALL RIGHTS RESERVED"; 

// Don't edit below!

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// --> 

NS4=(document.layers) ;
Opera=(navigator.userAgent.indexOf('Opera')!=-1)||(navigator.appName.indexOf('Opera')!=-1)||(window.opera);
IE4=(document.all&&!Opera) ;
mac=((IE4)&&(navigator.appVersion.indexOf ("Mac")!=-1));
DOM=document.documentElement&&!NS4&&!IE4&&!Opera;
mswnd=(navigator.appVersion.indexOf("Windows")!=-1||navigator.appVersion.indexOf("WinNT")!=-1);
loadHandlers=null;

if(IE4)
	{
	av=navigator.appVersion;
	avi=av.indexOf("MSIE");
	if (avi==-1)
		version = parseInt (av) ;
	  else
		version = parseInt(av.substr(avi+4)) ;
	}if(NS4||IE4||DOM||Opera)
	{
	imgFolder = ".";
	maxlev = 1;
	bVarWidth = 0;
	bShowDel = 0;
	popupWidth = 90;
	levelOffset = 20;
	bord = 1;
	vertSpace = 3;
	sep = 1;
	sepFrame = false;
	openSameFrame = true;
	cntFrame = "content";
	contentFrame = "content";
	mout = true;
	iconSize = 8;
	closeDelay = 1000;
	tlmOrigBg = "#000099";
	tlmOrigCol = "White";
	bBitmapScheme = false;
	popupOpacity = 0;
	bBitmapPopups = false;
	popupOpenHeight = 0;
	popupLeftPad = 0;
	popupRightPad = 0;
	tlmHlBg = "#990033";
	tlmHlCol = "White";
	borderCol = "White";
	menuHorizontal = false;
	scrollHeight=6;
	}lev0 = new Array ("10px",true,false,"White","#000099","White","Verdana,Arial,Vagabond,Helvetica","#990033") ;
lev1 = new Array ("10px",true,false,"White","#000099","White","Verdana,Arial,Vagabond,Helvetica","#990033") ;
lev2 = new Array ("10px",true,false,"White","#000099","White","Verdana,Arial,Vagabond,Helvetica","#990033") ;



mn1 = new Array
(
"Flamenco Cages","http://www.simbadsbirds.com/Cages_Flamenco.htm",0
,"Blue Ribbon Cages","http://www.simbadsbirds.com/cages_ribbon.htm",0
,"Avian Adventure Cages","http://www.simbadsbirds.com/Cages_Play.htm",0
,"Prestige Cages","http://www.simbadsbirds.com/Cages_prestige.htm",0
,"Custom Made Cages","http://www.simbadsbirds.com/Cages_CustomMade.htm",0
,"Wire Cages","http://www.simbadsbirds.com/Cages_WireCages.htm",0
,"Wrought Iron Cages","http://www.simbadsbirds.com/Cages_WroughtIron.htm",0
,"Cage Stands","http://www.simbadsbirds.com/Cages_Stands.htm",0
,"Accessories","http://www.simbadsbirds.com/Cages_Accesories.htm",1
)


mn1_6 = new Array
(
"Feeders","http://www.simbadsbirds.com/Cages_AccesoriesFeeders.htm",0
,"Waterers","http://www.simbadsbirds.com/Cages_AccesoriesWaterers.htm",0
,"Perches","http://www.simbadsbirds.com/Cages_AccesoriesPerches.htm",0
,"Swings & Ladders","http://www.simbadsbirds.com/Cages_AccesoriesSwingsLadders.htm",0
)


mn2 = new Array
(
"Large Hookbills","http://www.simbadsbirds.com/Food_LargeBirds.htm",0
,"Small Hookbills","http://www.simbadsbirds.com/Food_SmallHookBills.htm",0
,"Softbills","http://www.simbadsbirds.com/Food_Softbills.htm",0
,"Canaries","http://www.simbadsbirds.com/Food_Canaries.htm",0
,"Finches","http://www.simbadsbirds.com/Food_Finches.htm",0
,"Parakeets","http://www.simbadsbirds.com/Food_Parakeets.htm",0
)


mn3 = new Array
(
"Small Birds","http://www.simbadsbirds.com/Toys_SmallBirds.htm",0
,"Medium Birds","http://www.simbadsbirds.com/Toys_MediumBirds.htm",0
,"Large Birds","http://www.simbadsbirds.com/Toys_LargeBirds.htm",0
)


mn4 = new Array
(
"Play Gyms","http://www.simbadsbirds.com/Toys_Playgyms.htm",0
,"Play Pens","http://www.simbadsbirds.com/Toys_Playpens.htm",0
)


mn5 = new Array
(
"Spanish Books","http://www.simbadsbirds.com/Books_Spanish.htm",0
,"English Books","http://www.simbadsbirds.com/Books_English.htm",0
)


mn6 = new Array
(
"CD Speech Training","http://www.simbadsbirds.com/Training.htm",0
,"Cassette Speech Training","http://www.simbadsbirds.com/Training2.htm",0
,"Bird Behavior Books","http://www.simbadsbirds.com/Training3.htm",0
,"Bird Training Toys","http://www.simbadsbirds.com/Training4.htm",0
)

mn7 = new Array
(
"Vitamins","http://www.simbadsbirds.com/quiko-vitamins.htm",0
,"Food &amp; Supplements","http://www.simbadsbirds.com/Quiko-Foods-Supplements.htm",0
)

mn8 = new Array
(
"Vitamins & Supplements","http://www.simbadsbirds.com/HealthCare_Supplements.htm",0
,"Probiotics","http://www.simbadsbirds.com/Avi-Culture_Probiotics.htm",0
,"Grooming","http://www.simbadsbirds.com/HealthCare_Grooming.htm",0
,"Special Lights","http://www.simbadsbirds.com/HealthCare_Lights.htm",0
,"First Aid","http://www.simbadsbirds.com/HealthCare_FirstAid.htm",0
,"Pest Control","http://www.simbadsbirds.com/HealthCare_PestControl.htm",0
)


mn9 = new Array
(
"Formulas & Supplements","http://www.simbadsbirds.com/Breeders_FormulasSupplements.htm",0
,"Accessories","http://www.simbadsbirds.com/Breeders_Accesories.htm",0
,"Incubators","http://www.simbadsbirds.com/Breeders_Incubators.htm",0
,"Breeding Boxes & Nests","http://www.simbadsbirds.com/Breeders_Nests.htm",0
)


mn10 = new Array
(
"Seeds, Nectars & Suets","http://www.simbadsbirds.com/WildBird_Seeds.htm",0
,"Feeders","http://www.simbadsbirds.com/WildBird_Feeders.htm",0
,"Bird Houses","http://www.simbadsbirds.com/WildBird_BirdHouses.htm",0
,"Other","http://www.simbadsbirds.com/WildBird_Other.htm",0
)


absPath="";
if (sepFrame && !openSameFrame)
	{
	if (document.URL.lastIndexOf("\\")>document.URL.lastIndexOf("/")) {sepCh = "\\" ;} else {sepCh = "/" ;}
	absPath = document.URL.substring(0,document.URL.lastIndexOf(sepCh)+1);
	}
popupOffset = 3;
if(Opera) document.write("<"+"script language='JavaScript1.2' src='./menu_opera.js'><"+"/"+"SCRIPT>");
else if (NS4) document.write("<"+"script language='JavaScript1.2' src='./menu_ns4.js'><"+"/"+"SCRIPT>");
else if (navigator.appVersion.indexOf ("Mac")!=-1&&!IE4) document.write("<"+"script language='JavaScript1.2' src='./menu_dom.js' />");
else if (document.getElementById) document.write("<"+"script language='JavaScript1.2' src='./menu_dom.js'><"+"/"+"SCRIPT>");
else document.write("<"+"script language='JavaScript1.2' src='./menu_ie4.js'><"+"/"+"SCRIPT>");
document.write("<style type='text/css'>\n");
document.write(".CL0 {text-decoration:none;color:White; }\n");
if(!IE4&&!DOM) document.write(".topFold {position:relative}\n");
document.write(((NS4&&!bBitmapScheme)?".mm2":".mit")+" {padding-left:15px;padding-right:5px;}\n");
document.write("</style>\n");


// Something But Not Sure if it matters?
var item = new Array();

c=0; item[c]=new Array("index.htm","","simbad's bird house","index,main,start,home,front,home page, homepage","Index of our website simbad's bird house");
c++; item[c]=new Array("Books.htm","","simbad's bird house: books","pet book,books about birds,bird book,pet care book,bird care book,libros en espanol,spanish books,caring,housing,bird feeding,bird breeding,bird health care,bird diseases,bird behavior,bird species,finches,canaries,lovebirds,cockatiels,parakeets,parrots,rosellas,macaw,african grey,cockatoo,conure","The most complete selection of pet books in English and Spanish");
c++; item[c]=new Array("cages.htm","","simbad's bird house: cages","model td99bk,model td99wh,modelt4keet,model t5tiel,model 4000,model 4003,model 4004,model 4006, model 4007,model 1034,model 1035,model 1037,model 1039,model 1001,model 1002,model 1004,model 1005,model 1007,model 1008,model 1080,model 1084,model 1420,model 1600,model 4118,model 4124,model 4124r,model 4132,model 4140, model 4140r,model 4141,model 0104,model0124,bird cages,cages,custom made cages,flamenco cages,wire cages,wrought iron cages,cages for birds,aviaries,cage,bird cage,indoor aviary,outdoor aviary,aviary,steel cages,steel cage,breeding cages,bird steel cage,finch,finch cage,finches,canary,canary cage,canaries,lovebird,lovebird cage,lovebirds,cockatiel,cockatiel cage,cockatiels,african grey,african grey cage,african greys,parrot,parrot cage,parrots,macaw,macaw cage,macaws,quaker,quaker cage,quakers,moluccan,moluccan cage,moluccans,molucan,cockatoo,cockatoo cage,cockatoos,amazon,amazon cage,amazons, rosella,rosella cage,rosellas,sugarglider,sugarglider cage,sugargliders,monkey,monkey cage,monkeys,conure,conure cages,conures,parakeet,parakeet cage,parakeets,marmosette,marmosette cage,marmosettes","Our favorite selection of pet cages and aviaries");
c++; item[c]=new Array("ContactUs.htm","","simbads bird house: Contact Us","contact,contact us,contact info,phone number,address,business hours,location,customer service,suggestions","Please let us know if you have any comments or questions. Our business hours and where to contact us");
c++; item[c]=new Array("Terms&Conditions.htm","","simbads bird house: Terms & Conditions","terms,shipping,shipping information,warranty,warranties,terms of sale,credit cards,returns,refunds","Terms and Conditions. Shipping Information, Return Policy and Payment Plans");
c++; item[c]=new Array("Breeders.htm","","simbads bird house: Breeders","breeder's,breeders,accesories,nursery supplies,nesting material,formulas,supplements,incubators,nest,nests,breeding boxes,hand feeding syringe,clear plastic tank,feeding bottle,fake eggs,plastic eggs,nesting material,nesting pad,natural pine bedding,harrison's bird foods,juvenile hand feeding mix,kaytee exact hand feeding formula,zupreem baby bird,weaning formula,quiko egg food,cuttlebone,calcium,automatic egg turner,hova bator incubator,hagen canary nest,finch,nest","Breeder's accesories, supplies, formulas, nests and breeding boxes");
c++; item[c]=new Array("Toys.htm","","simbads bird house: Toys","play pens,play gyms,play pen,play gym,toys,small bird toys,mediumsize birds toys,large size birds toys,chewable toys,acrylic toys,leather toys,wood toys","Toys for small, medium and large birds");
c++; item[c]=new Array("Training.htm","","simbads bird house: Training","bird training toys,bird training,cd speech training,cassette speach training,bird behavior books,book","Training CD's and cassettes for speech development. Training toys. Books about bird behavior");
c++; item[c]=new Array("WildBird.htm","","simbads bird house: Wild Bird","kaytee wild bird products,perkypet bird feeder,wild bird houses,accesories,supplies","Wild bird seeds, feeders, bird houses and accesories");

page="<html><head><title>Search Results</title></head><body bgcolor='white'><center><table border=0 cellspacing=10 width=80%>";


function search(frm) {
win = window.open("","","scrollbars");
win.document.write(page);
txt = frm.srchval.value.split(" ");
fnd = new Array(); total=0;
for (i = 0; i < item.length; i++) {
fnd[i] = 0; order = new Array(0, 4, 2, 3);
for (j = 0; j < order.length; j++)
for (k = 0; k < txt.length; k++)
if (item[i][order[j]].toLowerCase().indexOf(txt[k]) > -1 && txt[k] != "")
fnd[i] += (j+1);
}
for (i = 0; i < fnd.length; i++) {
n = 0; w = -1;
for (j = 0;j < fnd.length; j++)
if (fnd[j] > n) { n = fnd[j]; w = j; };
if (w > -1) total += show(w, win, n);
fnd[w] = 0;
}
win.document.write("</table><br>Total found: "+total+"<br></body></html>");
win.document.close();
}
function show(which,wind,num) {
link = item[which][1] + item[which][0]; 
line = "<tr><td><a href='"+link+"'>"+item[which][2]+"</a> Score: "+num+"<br>";
line += item[which][4] + "<br>"+link+"</td></tr>";
wind.document.write(line);
return 1;
}
//  End -->
