<!-- // (c) copyright, stormbind (ICQ:82162362/Jabber.org:stormbind)

var text = new Array();
var tips = new Array();

text[0] = 'Dust Wrapper';
tips[0] = 'dust wrapper - protective paper cover for book - also called dust jacket, dust cover or simply jacket';
text[1] = 'hardback book';
tips[1] = 'Hardback Book- a book with stiff board covers';
text[2] = 'MINT';
tips[2] = 'Mint - never been read and in a state as when it was first produced';
text[3] = 'bumping';
tips[3] = 'Bumping - refers to worn, bent, or rounded corners of the boards of a book';
text[4] = 'bumped';
tips[4] = 'Bumped - refers to worn, bent, or rounded corners of the boards of a book';
text[5] = 'proof';
tips[5] = 'Proof - pre-publication printing intended for editorial use, or occasionally to be sent out for review. Usually issued in plain paperback format';
text[6] = 'gilt-edged';
tips[6] = 'Gilt-edged - Page edges cut smooth and gilded (covered with a thin layer of gold leaf)';
text[7] = 'price-clipped';
tips[7] = 'Price-clipped - The price on the inner flap of a dust jacket has been cut off';
text[8] = 'clipped';
tips[8] = 'Clipped - The price on the inner flap of a dust jacket has been cut off';
text[9] = 'gilt';
tips[9] = 'Gilt - thin layer of gold leaf applied to page edges, spine and boards as decoration';
text[10] = 'foxing';
tips[10] = 'Foxing - rust colored spots which occur on paper resulting from oxidation ';
text[11] = 'plates';
tips[11] = 'Plates - illustration(s) printed on a separate sheet of paper with no text on the reverse side ';
text[12] = 'unclipped';
tips[12] = 'Unclipped - The price on the inner flap of a dust jacket remains intact';
text[13] = 'flyleaf';
tips[13] = 'flyleaf -  A blank leaf inserted between the free end paper and the beginning or end of the printed pages ';
text[14] = 'scuffing';
tips[14] = 'scuffing - the binding or cover has been scraped and may look rough or slightly frayed in places';
text[15] = 'scuffed';
tips[15] = 'scuffed - the binding or cover has been scraped and may look rough or slightly frayed in places';
text[16] = 'endpapers';
tips[16] = 'endpapers - Papers, often marbled or otherwise "fancy" paper, with one half pasted to the inside boards';
text[17] = 'spine';
tips[17] = 'spine - The back portion of a books binding which is visible when a book is shelved in a bookcase - the portion which is attached at the joints to the front and rear covers';
text[18] = 'presentation slip';
tips[18] = 'presentation slip -  A label pasted to the inner part of the book and usually for school prizes';
text[19] = 'hinges';
tips[19] = 'hinges -  The inside portion of the flexible area where book cover meets the book spine allowing it to open and close';
text[20] = 'tightly bound';
tips[20] = 'tightly bound -  no loosening or slackening to the pages';
text[21] = 'tight binding';
tips[21] = 'tight binding -  no loosening or slackening to the pages';
text[22] = 'extremities';
tips[22] = 'extremities - usually refers to the outer edges of the boards, dust-wrapper and pages';
text[23] = 'frontispiece';
tips[23] = 'frontispiece - illustration or plate inserted immediately in front of the title page, with the illustration facing the title page, often abbreviated as frontis';
text[24] = 'Circa';
tips[24] = 'Circa -  Refers to an approximate date when actual date is unknown';
text[25] = 'endpaper';
tips[25] = 'endpaper -  marbled paper or otherwise "fancy" paper, with one half pasted to the cover';
text[26] = 'Gilt-edged';
tips[26] = 'Gilt-edged -  Page edges cut smooth and gilded (covered with a thin layer of gold leaf)';
text[27] = 'dust-wrapper';
tips[27] = 'dust-wrapper -  protective paper cover for book - also called dust jacket, dust cover or simply jacket';
text[28] = 'Dust wrapper';
tips[28] = 'Dust wrapper -  protective paper cover for book - also called dust jacket, dust cover or simply jacket';

var TT_on = 'disable jargon buster';
var TT_off = 'enable jargon buster';

var TT_delay = 5000; // 1+ = milliseconds, 0 = onmouseout

// There is no need to modify anything beyond this point

function TT_show(tip,event){
var tip=document.getElementById(tip);

if (tip.style.visibility!='visible'){
if (document.all){
var eX = document.body.scrollLeft+event.clientX;
var eY = document.body.scrollTop+event.clientY;
} else {
var eX = event.pageX;
var eY = event.pageY;
}

if(eX+tip.offsetWidth > document.body.offsetWidth) eX=eX-tip.offsetWidth;
if(eY+tip.offsetHeight > document.body.offsetHeight) eX=eX-tip.offsetHeight;

tip.style.visibility='visible';
tip.style.left=eX;
tip.style.top=eY;



if (TT_delay) setTimeout("document.getElementById('"+tip.id+"').style.visibility='hidden'",TT_delay);
}

}


function TT_swap(){
var i, o, content;

content = document.body.innerHTML;

for (var c=0;c!=tips.length;c++){

if (!content.match(text[c])) continue;

i = new RegExp(text[c], 'gi');

o = '<span class="tip" ';
if (!TT_delay) o += 'onmouseout="document.getElementById(\''+c+'\').style.visibility=\'hidden\'" ';
o += 'onmouseover="TT_show(\''+c+'\',event)">'+text[c]+'</span>';

content = content.replace(i,o);
content += '<span id="'+c+'" unselectable="on"> '+tips[c]+' </span>';

}

document.body.innerHTML = content;

}


function TT_toggle(){
var TT_toggle = document.getElementById('TT_toggle');
if (TT_toggle.innerHTML==TT_on) {sr('TT','disabled'); window.location=location;}
else {sr('TT','enabled'); TT_toggle.innerHTML=TT_on; TT_swap();}
}


function TT_init(){
if (!document.getElementById('TT_map')) document.body.innerHTML += '<div id="TT_map" align="center"></div>';
document.getElementById('TT_map').innerHTML='<a href="javascript:TT_toggle()" class=bodylinks id="TT_toggle">'+TT_off+'</a>';

if (sr('TT','')=='enabled') TT_toggle();

}

function sr(key,value){
var temp;
var inV = document.cookie.split(',');

for (var c=0;c!=inV.length;c++){if (key==inV[c].split('=')[0]) temp = c;}

if (value){
if (!temp) temp = inV.length;
inV[temp] = key+'='+value;
document.cookie = inV.join(',');
}

if (!temp) return false;
else return inV[temp].split('=')[1];

}


if (document.getElementById) window.onload=TT_init; 