var allbooks;
var amazonlink = new Object();
var amazonwin, orderwin;
amazonlink.us = 'www.amazon.com';
amazonlink.uk	= 'www.amazon.co.uk';
var ourid = new Object();
ourid.us = '/novelofnelsostim';
ourid.uk = '/grahamcleverley';
var dbin;
var haveusp;
var haveush;
var haveukp;
var haveukh;
var thisbook = 'none';
var thisauthor = 'none';
var availability;
var availtype;
var where;
var paper;

function orderit(w,t)
{
	s = "orderit.asp?auth="+w+"&title="+t, "orderwindow", "width=400,height=350,status=yes,resizable=yes";
	orderwin = window.open(s);
 	}

function titleise(s)
{ 
	var Sin = new String(s);
	var Sout = new String();
	SOut = Sin.charAt(0).toUpperCase();
	k = 1;
	while (k < s.length) {
		SOut = SOut + Sin.charAt(k);
		if (Sin.charAt(k) == ' ') {
			k = k + 1;
			SOut = SOut + Sin.charAt(k).toUpperCase();
			}
		k = k + 1;
		}
	return SOut;
}

function getstylesheets() {
	if (navigator.appName == "Netscape")
		document.writeln('<LINK rel="stylesheet" href="navystylenet.css">');
	else document.writeln('<LINK rel="stylesheet" href="navystyle.css">');
}

function getlink(a,b,w,t)
{ 
	var s;
	var lk = new String();
	s=dbin.allbooks[a][b][w][t].asin;
	if (s != null) { 
		lk = 'http://';
		lk = lk + amazonlink[w];
		lk = lk +'/exec/obidos/ASIN/';
	  	lk = lk + s;
	  	lk = lk + ourid[w];
	  	}
	return lk;
}

function wehave(a,b,w,t) 
{
	var haveit = true;
	if (allbooks == null) haveit = false;
	else {
		var x = allbooks;
		if (x[a] == null)  haveit = false; 
		else if (x[a][b] == null) haveit = false;
		else if (x[a][b][w] == null) haveit = false;
		else if (x[a][b][w][t] == null) haveit = false;
		else if (x[a][b][w][t].asin == null) haveit = false;
		else haveit = true;
		}
	return haveit;
}

function wehaveany(a,b)
{
	var OK = wehave(a,b,"uk","p");
	if ( ! OK) OK = wehave(a,b,"uk","h"); 
	if ( ! OK) OK = wehave(a,b,"us","p"); 
	if ( ! OK) OK = wehave(a,b,"us","h"); 
	return OK;
}

function writeorder(a,b)
{ 
	if (dbin != null) allbooks = dbin.allbooks;
	else {	
		if (allbooks == null) loadbooks();
		}
	if (wehaveany(a,b)) {
		document.write('<A HREF=\"javascript:getorder(\'');
		document.write(a);
		document.write('\',\'');
		document.write(b);
		document.write('\')\"><IMG SRC=\"../amazon/buynow.gif\" HEIGHT=16 BORDER=0></A>');
	}
}

function processorderdirect(a,b,w,p) {
		var s = getlink(a,b,w,p);
		amazonwin = window.open(s, "amazonwindow", "width=600,height=450,menubar,scrollbars,toolbar,status,resizable=yes");
}

function processorder(a)
{
if (a =="yes") {
	if (opener.where == "not") alert("You need to pick a country");
	else if (opener.paper == "not") alert("You need to say what type of book");
	else {
		var s = getlink(opener.thisauthor,opener.thisbook,opener.where,opener.paper);
		amazonwin = window.open(s, "amazonwindow", "width=600,height=450,menubar,scrollbars,toolbar,status,resizable=yes");
		window.close();
		}
	}
else window.close();
}

function searchforauthor(a,w) {
var s;
if (w == "us") s ="http://www.amazon.com";
else s = "http://www.amazon.co.uk"; 
s =s + "/exec/obidos/external-search?tag=";
if (w == "us") s = s + "novelofnelsostim&keyword=";
else s = s + "grahamcleverley&keyword=";
s = s + escape(a) + "&mode=books";
amazonwin = window.open(s, "amazonwindow", 	"width=600,height=450,menubar,scrollbars,toolbar,status,resizable=yes");
}

function amazonhome(a) {
var s;
if (a == "us") s ="http://www.amazon.com";
else s = "http://www.amazon.co.uk"; 
s = s + "/exec/obidos/redirect-home?tag=";
if (a == "us") s = s + "novelofnelsostim";
else s = s + "grahamcleverley";
s = s +"&site=books";
amazonwin = window.open(s, "amazonwindow", 	"width=600,height=450,menubar,scrollbars,toolbar,status,resizable=yes");
}

function getorder(a,b)
{ 
	haveusp = wehave(a,b,"us","p");
	haveush = wehave(a,b,"us","h");
	haveukp = wehave(a,b,"uk","p");
	haveukh = wehave(a,b,"uk","h");
availtype = 0;
if (haveusp) availtype = availtype + 1;
if (haveush) availtype = availtype + 2;
if (haveukp) availtype = availtype + 4;
if (haveukh) availtype = availtype + 8;
availability = '<I>'+titleise(b) + '</I> is available ';
switch(availtype) {
	case 1: s = ' only in the USA in paperback.';
			break;
	case 2: s = ' only in the USA in hardcover.'; 
			break;
	case 3: s = ' only in the USA in paperback or hardcover.';
			break;
	case 4: s = ' only in the UK in paperback.'; 
			break;
	case 5: s = ' only in paperback.';
			break;
	case 6: s = ' only in the USA in hardcover and the UK in paperback.'; 
			break;
	case 7: s = ' in both in the USA or in paperback in the UK.';
			break;
	case 8: s = ' only in the UK in hardcover.'; 
			break;
	case 9: s = ' only in paperback in the USA or in hardcover in the UK.';
			break;
	case 10: s = ' only in hardcover in the UK or the USA.'; 
			break;
	case 11: s = ' in both in the USA or in hardcover in the UK.';
			break;
	case 12: s = ' only in the UK in paperback or hardcover.'; 
			break;
	case 13: s = ' in both in the UK or in paperback in the USA.';
			break;
	case 14: s = ' in both in the UK or in hardcover in the USA.'; 
			break;
	case 15: s = ' in both countries in both versions.';
	}
	availability = availability + s; 
	thisbook = b;
	thisauthor = a;
	orderwin = window.open("orderit.html", "orderwindow", "width=400,height=350,status=yes,resizable=yes");
}

function createauthor(a)
{ allbooks[a] = new Object(); }

function createtitle(a,t)
{ allbooks[a][t] = new Object(); }

function createwhere(a,t,w)
{ allbooks[a][t][w] = new Object(); }

function createtype(a,t,w,p)
{ allbooks[a][t][w][p] = new Object(); }

function createbook(a,t,w,p,asin)
{
	if (allbooks[a] == null) createauthor(a);
	if (allbooks[a][t] == null) createtitle(a,t);
	if (allbooks[a][t][w] == null) createwhere(a,t,w);
	if (allbooks[a][t][w][p] == null) createtype(a,t,w,p);
	allbooks[a][t][w][p].asin =asin;
}
function loadbooks()
{
allbooks = new Object();
createbook("connery","a shred of honour","uk","p","0752808494");
createbook("connery","honour be damned","uk","p","0752826441");
createbook("connery","honour be damned","uk","h","0752801473");
createbook("connery","honour redeemed","uk","p","0752816349");
createbook("connery","honour redeemed","uk","h","0752801465");
createbook("forester","flying colours","uk","p","0708942156");
createbook("forester","hornblower in the west indies","uk","p","0316289418");
createbook("forester","the commodore","uk","p","0316289388");
createbook("forester","hornblower and the crisis","uk","p","0316289442");
createbook("forester","lord hornblower","uk","p","0316289434");
createbook("forester","a ship of the line","uk","h","1859989977");
createbook("forester","a ship of the line","uk","p","0316289329");
createbook("forester","mr midshipman hornblower","uk","p","0140270256");
createbook("forrest","captain justice","uk","h","0860098214");
createbook("kent","a tradition of victory","uk","p","0099283700");
createbook("kent","beyond the reef","uk","p","0330319574");
createbook("kent","beyond the reef","uk","h","0434388351");
createbook("kent","colours aloft","uk","h","1568497288");
createbook("kent","colours aloft","uk","p","0099501902");
createbook("kent","command a kings ship","uk","p","0099109204");
createbook("kent","command a kings ship","uk","h","1568490283");
createbook("kent","cross of st george","uk","p","0749323450");
createbook("kent","cross of st. george","uk","p","0745154727");
createbook("kent","enemy in sight","uk","p","0099055201");
createbook("kent","enemy in sight","uk","h","0091005906");
createbook("kent","for my countrys freedom","uk","p","0330344749");
createbook("kent","form line of battle","uk","p","0099088509");
createbook("kent","honour this day","uk","p","009928216x");
createbook("kent","in gallant company","uk","p","0099169703");
createbook("kent","midshipman bolitho","uk","h","0745140068");
createbook("kent","midshipman bolitho","uk","p","0099863502");
createbook("kent","passage to mutiny","uk","p","0099141604");
createbook("kent","richard bolitho - midshipman","uk","h","0899669719");
createbook("kent","second to none","uk","h","0434007218");
createbook("kent","second to none","uk","p","0099280590");
createbook("kent","signal - close action","uk","p","009912940x");
createbook("kent","signal - close action","uk","h","0091800935");
createbook("kent","sloop of war","uk","p","0099088207");
createbook("kent","stand into danger","uk","p","0099253801");
createbook("kent","success to the brave","uk","p","0099363704");
createbook("kent","sword of honour","uk","p","0749325305");
createbook("kent","sword of honour","uk","h","0434004987");
createbook("kent","the darkening sea","uk","p","0330329170");
createbook("kent","the flag captain","uk","p","0099071800");
createbook("kent","the flag captain","uk","h","0091800986");
createbook("kent","the inshore squadron","uk","p","0099194902");
createbook("kent","the inshore squadron","uk","h","1854961268");
createbook("kent","the only victor","uk","p","0099406039");
createbook("kent","to glory we steer","uk","p","0099088401");
createbook("kent","with all despatch","uk","p","0099282178");
createbook("kent","to glory we steer","uk","h","0708984231");
createbook("lambdin","a kings commander","uk","p","0449000222");
createbook("lambdin","hms cockerel","uk","p","0449224481");
createbook("lambdin","jester's fortune","uk","h","0525944826");
createbook("lambdin","the french admiral","uk","p","1558174915");
createbook("lambdin","the gun ketch","uk","p","0449224503");
createbook("lambdin","the kings coat","uk","h","0783804407");
createbook("lambdin","the kings commission","uk","p","044922452x");
createbook("lambdin","the kings privateer","uk","p","0449224511");
createbook("obrian","complete series","uk","h","0393048403");
createbook("obrian","blue at the mizzen","uk","p","0006513786");
createbook("obrian","blue at the mizzen","uk","h","0002259591");
createbook("obrian","clarissa oakes","uk","p","0006499309");
createbook("obrian","clarissa oakes","uk","h","000223825x");
createbook("obrian","desolation island","uk","p","0006499244");
createbook("obrian","desolation island","uk","h","0002221454");
createbook("obrian","hms surprise","uk","p","0006499171");
createbook("obrian","hms surprise","uk","h","0002213168");
createbook("obrian","master and commander","uk","p","0006499155");
createbook("obrian","master and commander","uk","h","0002215268");
createbook("obrian","post captain","uk","p","0006499163");
createbook("obrian","post captain","uk","h","0002216574");
createbook("obrian","the commodore","uk","p","0006499325");
createbook("obrian","the commodore","uk","h","0002555506");
createbook("obrian","the far side of the world","uk","p","0006499252");
createbook("obrian","the far side of the world","uk","h","0002227118");
createbook("obrian","the fortune of war","uk","p","0006499198");
createbook("obrian","the fortune of war","uk","h","0002224984");
createbook("obrian","the hundred days","uk","p","0006512119");
createbook("obrian","the hundred days","uk","h","0002257890");
createbook("obrian","the ionian mission","uk","p","0006499228");
createbook("obrian","the ionian mission","uk","h","0002223651");
createbook("obrian","the letter of marque","uk","p","0006499279");
createbook("obrian","the letter of marque","uk","h","0002231492");
createbook("obrian","the mauritius command","uk","p","000649918x");
createbook("obrian","the mauritius command","uk","h","000222383x");
createbook("obrian","the nutmeg of consolation","uk","p","0006499295");
createbook("obrian","the nutmeg of consolation","uk","h","0002234610");
createbook("obrian","the reverse of the medal","uk","p","0006499260");
createbook("obrian","the reverse of the medal","uk","h","0002227339");
createbook("obrian","the surgeons mate","uk","p","000649921x");
createbook("obrian","the surgeons mate","uk","h","0002224062");
createbook("obrian","the thirteen-gun salute","uk","p","0006499287");
createbook("obrian","the thirteen-gun salute","uk","h","0002234602");
createbook("obrian","the unknown shore","uk","p","0006497950");
createbook("obrian","the unknown shore","uk","h","0002254093");
createbook("obrian","the wine-dark sea","uk","p","0006499317");
createbook("obrian","the wine dark sea","uk","h","1854969226");
createbook("obrian","the yellow admiral","uk","p","0006499643");
createbook("obrian","the yellow admiral","uk","h","0002255618");
createbook("obrian","treasons harbour","uk","p","0006499236");
createbook("obrian","treasons harbour","uk","h","0002221691");
createbook("parkinson","the life and times of horatio hornblower","uk","p","0750912235");
createbook("pope","ramage","uk","p","0099860104");
createbook("pope","ramage and the drumbeat","uk","p","0935526773");
createbook("pope","ramage and the freebooters","uk","p","0935526781");
createbook("pope","ramage and the saracens","uk","h","0708923976");
createbook("styles","lieutenant fitton","uk","h","0709060238");
createbook("styles","mr fitton in command","uk","h","0750511958");
createbook("styles","mr fittons hurricane","uk","p","0709065604");
createbook("styles","the 12-gun cutter","uk","h","075051146x");
createbook("styles","the martinique mission","uk","p","0709063881");
createbook("woodman","1805","uk","p","0751514799");
createbook("woodman","1805","uk","h","1850895872");
createbook("woodman","a brig of war","uk","p","0751513040");
createbook("woodman","a kings cutter","uk","p","0751508950");
createbook("woodman","a private revenge","uk","p","0751507245");
createbook("woodman","a private revenge","uk","h","0719546907");
createbook("woodman","baltic mission","uk","p","1574090976");
createbook("woodman","beneath the aurora","uk","p","0751511420");
createbook("woodman","beneath the aurora","uk","h","0719553733");
createbook("woodman","the corvette","uk","h","1856954900");
createbook("woodman","ebb tide","uk","p","0751526487");
createbook("woodman","ebb tide","uk","h","0750514418");
createbook("woodman","in distant waters","uk","p","1574090984");
createbook("woodman","the bomb vessel","uk","p","1574090992");
createbook("woodman","the corvette","uk","p","0751513032");
createbook("woodman","the darkening sea","uk","p","1574090755");
createbook("woodman","the flying squadron","uk","p","0751500356");
createbook("woodman","the flying squadron","uk","h","0719550742");
createbook("woodman","the shadow of the eagle","uk","p","0751520519");
createbook("woodman","the shadow of the eagle","uk","h","0719557542");
createbook("woodman","under false colours","uk","p","0751500232");
createbook("woodman","under false colours","uk","h","071954839x");
createbook("connery","honour redeemed","us","h","089526255x");
createbook("connery","a shred of honour","us","h","089526269x");
createbook("forester","hornblower in the west indies","us","p","0316289418");
createbook("forester","the commodore","us","p","0316289388");
createbook("forester","flying colours","us","p","0316289396");
createbook("forester","the happy return","us","p","0316289329");
createbook("forester","hornblower and the atropos","us","p","0316289299");
createbook("forrest","captain justice","us","h","0860098214");
createbook("kent","beyond the reef","us","p","0330319574");
createbook("kent","colors aloft","us","h","1568497288");
createbook("kent","colours aloft","us","p","0935526722");
createbook("kent","command a kings ship","us","p","0935526501");
createbook("kent","enemy in sight","us","p","0935526609");
createbook("kent","form line of battle","us","h","1568490275");
createbook("kent","form line of battle","us","p","0935526595");
createbook("kent","honour this day","us","p","0935526730");
createbook("kent","in gallant company","us","h","0899669735");
createbook("kent","in gallant company","us","p","0935526439");
createbook("kent","the flag captain","us","p","0935526668");
createbook("kent","the inshore squadron","us","p","0935526684");
createbook("lambdin","a kings commander","us","p","0449000222");
createbook("lambdin","a kings commander","us","h","1556115040");
createbook("lambdin","hms cockerel","us","p","0449224481");
createbook("lambdin","jesters fortune","us","h","0525944826");
createbook("lambdin","king's captain","us","h","0312268858");
createbook("lambdin","the french admiral","us","p","1558174915");
createbook("lambdin","the french admiral","us","h","0783887884");
createbook("lambdin","the gun ketch","us","p","0449224503");
createbook("lambdin","the gun ketch","us","h","1556113560");
createbook("lambdin","the kings coat","us","p","0449003604");
createbook("lambdin","the kings coat","us","h","1556111428");
createbook("lambdin","the kings commission","us","p","044922452x");
createbook("lambdin","the kings privateer","us","p","0449224511");
createbook("obrian","the complete set","us","h","0393048403");
createbook("obrian","blue at the mizzen","us","h","0393048446");
createbook("obrian","desolation island","us","p","039330812x");
createbook("obrian","the commodore","us","p","0393314596");
createbook("obrian","the commodore","us","h","0393037606");
createbook("pope ","ramage","us","p","0935526765");
createbook("pope","governor ramage rn","us","h","0436377306");
createbook("pope","governor ramage rn","us","p","093552679x");
createbook("pope","ramage and the drumbeat","us","p","0935526773");
createbook("pope","ramage and the freebooters","us","p","0935526781");
createbook("woodman","baltic mission","us","p","1574090976");
createbook("woodman","in distant waters","us","p","1574090984");
createbook("woodman","the darkening sea","us","p","1574090755");
createbook("woodman","the flying squadron","us","p","1574090771");
createbook("woodman","the history of the ship","us","h","1558216812");
createbook("woodman","the story of sail","uk","h","1861760752");
createbook("woodman","the history of the ship","uk","h","085177721x");
createbook("pope","life in nelsons navy","us","p","1557505160");
createbook("pope","life in nelsons navy","uk","p","1861760345");
createbook("pope","decision at trafalgar","uk","p","0805061363");
createbook("parkinson","the life and times of horatio hornblower","uk","p","0750912235");
createbook("parkinson","the life and times of horatio hornblower","us","p","0750921099");
createbook("obrian","the complete set","uk","h","0393048403");
createbook("obrian","the complete set","us","h","0393048403");
createbook("king","harbors and high seas","us","p","0805059482");
createbook("king","harbors and high seas","uk","p","0805059482");
createbook("king","a sea of words","us","p","0805051155");
createbook("king","a sea of words","uk","p","0805051163");
createbook("donachie","a game of bones","uk","p","0330350668");
createbook("donachie","a hanging matter","uk","h","0333591550");
createbook("donachie","on a making tide","uk","p","0752837893");
createbook("donachie","on a making tide","uk","h","0752824732");
createbook("donachie","the scent of betrayal","uk","p","0330348442");
createbook("dparkinson","the fox and the faith","uk","p","0786005556");
createbook("dparkinson","the fox and the faith","uk","h","0727822845");
createbook("dparkinson","the fox and the flag","uk","h","0727855476");
createbook("dparkinson","the fox and the fortune","uk","p","078601010x");
createbook("dparkinson","the fox and the fortune","uk","h","0727856286");
createbook("dparkinson","the fox and the fury","uk","p","0727854720");
createbook("dparkinson","the fox and the fury","uk","p","0786006129");
createbook("nelson","all the brave fellows","uk","h","067103846x");
createbook("nelson","by force of arms","uk","p","0671519247");
createbook("nelson","lords of the ocean","uk","h","0671034901");
createbook("nelson","lords of the ocean","uk","p","0671013831");
createbook("nelson","the continental risque","uk","p","0671013815");
createbook("nelson","the maddest idea","uk","p","0671519255");
createbook("dparkinson","the fox and the faith","us","p","0786005556");
createbook("dparkinson","the fox and the faith","us","h","0727822845");
createbook("dparkinson","the fox and the flag","us","p","078600648x");
createbook("dparkinson","the fox and the fortune","us","p","078601010x");
createbook("dparkinson","the fox and the fury","us","p","0786006129");
createbook("nelson","by force of arms","us","p","0671519247");
createbook("nelson","all the brave fellows","us","h","067103846x");
createbook("nelson","the continental risque","us","p","0671013815");
createbook("hill","bombay marine","uk","p","0425177866");
createbook("hill","the war chest","uk","h","0285627139");
createbook("mcnamara","henry lunt and the ranger","uk","h","0962563234");
createbook("hill","bombay marine","us","h","0802710484");
createbook("hill","china flyer","us","h","0802710360");
createbook("hill","bombay marine","us","p","0425177866");
createbook("mcnamara","henry lunt and the ranger","us","p","0962563226");
createbook("mcnamara","henry lunt and the ranger","us","h","0962563234");
createbook("wibberley","john treegates musket","us","p","0374437882");
createbook("wibberley","john treegates musket","us","h","0833549251");
createbook("wibberley","red pawns","us","h","0844665584");
createbook("williams","cat island","us","h","0440111099");
createbook("williams","the macedonian","us","h","0440154111");
createbook("parkinson","britannia rules","us","p","0297772872");
createbook("henderson","the frigates","uk","p","1853266930");
createbook("henderson","the frigates","uk","h","0850524326");
createbook("henderson","the frigates","us","p","1853266930");
createbook("lyon","the age of nelson","uk","h","0711022836");
createbook("lyon","the age of nelson","us","h","1557507465");
createbook("terraine","trafalgar","uk","p","1853266868");
createbook("terraine","trafalgar","us","p","1853266868");
createbook("gardiner","frigates of the napoleonic wars","uk","h","186176135X");
createbook("gardiner","frigates of the napoleonic wars","us","h","1557502889");
createbook("gardiner","the campaign of trafalgar","uk","h","1861760280");
createbook("gardiner","the campaign of trafalgar","us","h","1861760280");
createbook("howarth","trafalgar the nelson touch","us","p","1900624036");
createbook("howarth","trafalgar the nelson touch","uk","p","1900624036");
createbook("lavery","nelson and the nile","us","h","155750640X");
createbook("lavery","nelson and the nile","uk","h","186176040X");
createbook("pocock","horatio nelson","us","p","0712661239");
createbook("pocock","horatio nelson","uk","p","0712661239");
createbook("bradford","nelson the essential hero","uk","p","1840222026");
createbook("howarth","nelson the immortal memory","uk","p","155821979X");
createbook("howarth","nelson the immortal memory","uk","h","0851777201");
createbook("williams","horatio nelson","uk","p","0948400889");
createbook("lewis","horatio nelson","uk","p","1861852053");
createbook("shannon","horatio nelson","uk","p","0951070231");
createbook("foreman","napoleons lost fleet","uk","h","1563318318");
createbook("foreman","napoleons lost fleet","us","h","1563318318");
createbook("gardiner","nelson against napoleon","uk","h","1557506426");
createbook("gardiner","nelson against napoleon","us","h","1557506426");
createbook("king","every man will do his duty","us","h","0805046089");
createbook("king","every man will do his duty","us","p","0805046097");
createbook("pope","hornblowers navy","us","p","1566490308");
createbook("pope","hornblowers navy","uk","p","0752818414");
createbook("pope","hornblowers navy","uk","h","0752817744");
createbook("perrett","the real hornblower","us","h","1557506973");
createbook("perrett","the real hornblower","uk","h","1854094963");
createbook("perrett","the real hornblower","uk","p","1557506973");
createbook("schom","trafalgar","us","p","0195075188");
}
function getdbin()
{
	var OK = 0;
	if (window.top == null)  {OK = 1;}
	else {
		if (window.top == window) {OK = 1;}
		else if (window.top.both == null) { OK = 2;}
		else if (window.top.both.index == null) { OK = 2;}
		else if (window.top.both.index == window) {loadbooks();}
		else {dbin = window.top.both.index;}
		}
	if (OK != 0) {
		document.cookie = "calledfrom=" + escape(window.location) +"; path=/"; 
		location.replace("index.html");
		}
	return OK;
}

function resetdisplay()
{
var allcookies = document.cookie;
var pos = allcookies.indexOf('calledfrom');
var b;
if (pos != -1) {
	var start = pos + 11;
	var end = allcookies.indexOf(";",start);
	if (end == -1) end = allcookies.length;
	b = unescape(allcookies.substring(start,end));
	if (b != "no") window.location.replace(b);
	document.cookie = "calledfrom=no; path=/";
	}
}

function dbinforprocess()
{
      dbin = opener.top.both.index;
}

