home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2004 June
/
PCWorld_2004-06_cd.bin
/
komunikace
/
slimb
/
sbsetup.exe
/
$_14326_
/
sbrowser.chm
/
replace.js
< prev
next >
Wrap
Text File
|
2004-04-18
|
721b
|
26 lines
ReplaceKeywords()
function ReplaceKeywords()
{
ReplaceKeyword("ProductName")
ReplaceKeyword("CompanyName")
ReplaceKeyword("FullCompanyName")
ReplaceKeyword("FullProductName")
ReplaceKeyword("ProductHomepage")
ReplaceKeyword("FeedbackEmail")
}
function ReplaceKeyword(sKeyword)
{
var ProductName="SlimBrowser"
var CompanyName="FlashPeak"
var FullCompanyName="FlashPeak Inc."
var FullProductName=CompanyName+" "+ProductName
var ProductHomepage="www.flashpeak.com"
var FeedbackEmail="webmaster@flashpeak.com"
var re=eval("/\\$"+sKeyword+"/gi");
document.body.innerHTML=document.body.innerHTML.replace(re,eval(sKeyword))
document.title=document.title.replace(re,eval(sKeyword))
}