// gmtINTERLIB.JS
//------------
// This page hosted by GeoCities
// GeoCities
// Get your own Free Home Page
// ----------------------------------------------
var copyrightnotice =
"© Copyright 1999, 2000 MIKE LOUIS GRIEBEL, DENMARK. All rights reserved."
// ----------------------------------------------
//
// ----------------------------------------------
//test = true
//test = false
// ----------------------------------------------
function reportjavalib() {
if (test) { alert('Loaded ' + javalibfilename) }
}
// -------------------------------------------
javalibfilename = "gmtinterlib.js"
reportjavalib()
// -------------------------------------------
var bval_5 = "xxxxx"
var bval_10 = bval_5 + bval_5
var bval_15 = bval_5 + bval_10
var bval_20 = bval_5 + bval_15
var bval_25 = bval_5 + bval_20
var bval_30 = bval_5 + bval_25
var bval_35 = bval_5 + bval_30
var bval_40 = bval_5 + bval_35
// ---------------------------------------- >
// buttonid, buttonact >
// ---------------------------------------- >
var yesbid="yesbid"
var yesbact = 'doyes()'
var nobid="nobid"
var nobact = 'dono()'
var stopbid = "stopbid"
var stopbact = 'dostop()'
var helpbid = "helpbid"
var helpline = "(help)"
var helpbact = 'alert (helpline)'
var faqbid = "faqbid"
var faqbact = 'dofaq()'
var randombid="randombid"
var randombact = "qlib_randomize()"
var randomnotbid = "randomnotbid"
var randomnotbact = "qlib_randomizenot()"
var wwqbid = "wwqbid"
var wwxbid = "wwxbid"
var wwabid = "wwabid"
var wwqfirst = "left"
var wwxfirst = "random"
var wwafirst = "right"
var wwqbact = "whichway=wwqfirst"
var wwxbact = "whichway=wwxfirst"
var wwabact = "whichway=wwafirst"
var makeflash2bid = 'makeflash2bid'
var makeflash4bid = 'makeflash4bid'
var makeflash5bid = 'makeflash5bid'
// ----------------------------------------------
// INTERLIB
// ----------------------------------------------
// ---------------------------------------------
// write subroutines
// ---------------------------------------------
var textnum = 0
function interlib_writeonetext
( textid, textval, textonblur, thesize ) {
//alert('writeonetext'+textval)
linetowrite = ""
linetowrite += ""
document.write ( linetowrite )
textnum++
return true
}
function interlib_writeonetextarea
( textid, textval, textonblur, therows, thecols ) {
//alert('writeonetextarea'+textval)
linetowrite = ""
linetowrite += ""
document.write ( linetowrite )
textnum++
return true
}
var imagenum=0
function interlib_writeoneimage
( imageid, thewidth, theheight, theborder ) {
//alert(writeoneimage ' + aa)
linetowrite = ""
linetowrite += ""
document.write ( linetowrite )
imagenum++
return true
}
function interlib_writeoneimage1
( imageid, thewidth, theheight ) {
//alert(writeoneimage ' + aa)
linetowrite = ""
linetowrite += "
"
document.write ( linetowrite )
imagenum++
return true
}
var buttonnum = 0
function interlib_writeonebutton
( buttonid, buttonval, buttononclick ) {
//alert('writeonebutton')
//alert ( 'writeonebutton ' + buttonval + ", " + buttononclick )
linetowrite = ""
linetowrite += ""
document.write ( linetowrite )
buttonnum++
return true
}
// ----------------------------------------
if (test) { alert('testinit.js: writeloadbutton ') }
// ---------------------------------------------
function interlib_updatebutton
( buttonid, buttonval ) {
todo1 = 'document.' + buttonid + '.value="' + buttonval + '"'
setTimeout(todo1,0)
return true
}
var choicelist = ""
// ----------------------------------------
if (test) { alert('testinit.js: writeloadbutton ') }
// ---------------------------------------------
function interlib_writeloadbutton
( co_bid, co_bname, co_todo, co_confirm ) {
// e.g. writeloadbutton ( 'simple version',
// 'choice_simple', 'You have selected simple version' )
todolist = ""
// todolist += "resetqs(); "
// todolist += co_todo + "; "
todolist += co_todo + "; "
// todolist += "setmax ( curmax ); "
todolist += 'alert ( "'
todolist += co_confirm
todolist += '" ); '
// alert ( "button " + co_bname + ": <" + todolist + ">")
interlib_writeonebutton ( co_bid, co_bname, todolist )
// alert ( todolist )
return true
}
// ----------------------------------------------
// INTERLIB ^^^^
// ----------------------------------------------
// ----------------------------------------------