//Scripts for Wimbledon Books & Music
//Written by, and copyright M.Ruttley, Mohiga Media 2007


function openR(areaname)
{
var openup = document.getElementById(areaname)
openup.innerHTML = book1review
}

function delayer()
{
var texta = document.getElementByID("text1a")
texta.innerHTML = "HTML"
}

function buybutton()
{
	var conf = confirm( "Wimbledon Books website is currently under development, and the payment system is not yet fully functional. \n \nIf you would like to order this book, please telephone us or send us an email - click OK to proceed to the contact information page, or cancel to stay here. \n\nMany Thanks,\nWimbledon Books 2007")
	 
	 if(conf)
	 {
	 	location.href = "index.php?page=howtofindus"
	 }
}

function closeWin()
{
var fArea = document.getElementById("flyer")
fArea.style.visibility="hidden"
}
function openWin()
{
var fArea = document.getElementById("flyer")
fArea.style.visibility="visible"
}

function openReview(isbn,title,author)
{
	var w=window.open("", "Information", "width=550 height=450 status=yes resizeable=yes location=no");
	var d=w.document;
	d.open();
	d.write('<font face="Arial">');
	d.write('<h1>' + title + '</h1>');
	d.write('<h3>' + author + '</h3>');
	d.write('<table border="0" width="500" height="299" cellpadding="2">');
	d.write('<tr>');
	d.write('<td bgcolor="#84FFFF">');
	d.write('<img height="197" width="128" src="http://images.bertrams.com/Multimedia/GetImages?imageSource=BERT&quality=WEB&component=FRONTCOVER&ean13=' +isbn+ '" />'); 
	d.write('</td>');
	d.write('<td align="left" valign="top" bgcolor="#84FFFF">');
	d.write('<p>Paperback<br>&pound;7.99</p>');
	d.write('<p>Supremely authentic account of the Arthurian legend. Cornwell takes us into the heart of fifth century Britain, an island of fractious kingdoms struggling to repel Saxon invaders, accommodate an aggressive Middle Eastern sect and cope with Roman withdrawal from empire.<br />');
	d.write("Excellent characterisation, unrivalled descriptive skills and a gripping narrative make this the best of Cornwell's work.</p>");
	d.write('</td>');
	d.write('</tr>');
	d.write('</table>');
	d.write('</font>');

	d.close();
}



