Make your own free website on Tripod.com
"); LineOut("

Search Results

"); } function WritePageBottom() { LineOut("

"); LineOut("Made with ImajeJen"); LineOut("

"); LineOut(""); LineOut(""); } function ParseData(szSiteData,szSearchTerm,szPath) { var itemInfo = new ItemInfoArray(szSiteData); if (itemInfo.IsFolder) { ParseFolder(itemInfo,szSiteData,szSearchTerm,szPath); } else { ParseDetail(itemInfo,szSiteData,szSearchTerm,szPath); } } function ParseFolder(itemInfo,szSiteData,szSearchTerm,szParentPath) { itemInfo.FolderName = szPrefixAnchorName + ReplaceCharInString(itemInfo.SourceName," ","_"); itemInfo.FolderPath = szParentPath + "/"+ itemInfo.FolderName; ParseList(itemInfo.ChildList,szSearchTerm,itemInfo.FolderPath); } function ParseList(szSiteData,szSearchTerm,szParentPath) { var szItem = ""; var FolderDepth = 0; var len = szSiteData.length; for (var i=0; i0) { szItem += c; } else { if (c=='\\') { i++; c=szSiteData.charAt(i); szItem += c; } else { if (c==",") { ParseData(szItem,szSearchTerm,szParentPath); szItem = ""; } else { szItem += c; } } } } ParseData(szItem,szSearchTerm,szParentPath); } function ParseDetail(itemInfo,szSiteData,szSearchTerm,szParentPath) { var szDestPageName = szPagePrefixName + ReplaceCharInString(ReplaceCharInString(itemInfo.SourceName,' ','_'),'.','-') + ".html"; var szSourceBaseName; var szFileExt; var iDot = itemInfo.SourceName.lastIndexOf('.'); if (iDot>=0) { szSourceBaseName = itemInfo.SourceName.substring(0,iDot); szFileExt = itemInfo.SourceName.substring(iDot+1); } else { szSourceBaseName = itemInfo.SourceName; szFileExt = ""; } var szLabel = szSourceBaseName; var szInLineSuffix = ""; if (szFileExt.toLowerCase()!="jpg") { szInLineSuffix = "-"+szFileExt; } szInLineName = "ImajeJenInLine--" + ReplaceCharInString(ReplaceCharInString(szSourceBaseName,' ','_'),'.','-') + szInLineSuffix + ".jpg"; var szDestPagePath = szParentPath+"/"+szDestPageName; var szInLinePath = szParentPath+"/"+szInLineName; var szDimensions = "WIDTH="+itemInfo.InLineWidth +" HEIGHT="+itemInfo.InLineHeight; var szInLineTag = ""; if (szLabel.toLowerCase().indexOf(szSearchTerm.toLowerCase())>=0 || itemInfo.KeyWords.toLowerCase().indexOf(szSearchTerm.toLowerCase())>=0) { LineOut("
" +""+szInLineTag+" " +""+szLabel+""); } } function ItemInfoArray(szSiteData) { this.SourceName = ""; var bContinue = true; var i=0; for (; i

Search Page

Enter a word to search for and click on button:

Made with ImajeJen