var show_spalsh= false;



function book_details(evt,ftx,fty,which)
{
	//if (!e) var e = window.event;
	//alert(evt);
	if(document.getElementById("book_det").innerHTML== '')
		show_spalsh= false;
	if(!show_spalsh)
	{
		if(which==1)
			book= 'The Opium Clerk (2001)';
		if(which==2)
			book= 'The Miniaturist (2003)';
		if(which==3)
			book= 'Racists (2006)';
		if(which==4)
			book= 'The Japanese Wife (2008)';
		if(which==5)
			book= 'Romancing The Strange';
		if(which==6)
			book= 'The Yellow Emperor\'s Cure (2011)';
		if(which==7)
			book= 'Intimacies (2011)';
		var tunex= 180;
		var tuney= 60;
		var posx = 0;
		var posy = 0;
		var contents= ''
		if (!e) var e = window.event;	//IE
		if (!e) var e = evt;	//Firefox
		if (!e) var e= (e) ? e : ((window.event) ? window.event : "")	//Safari
		//if (!e) var e = (window.event)?event.keyCode:e.which;
		//alert(e);
		if (e.pageX || e.pageY)
		{
			posx = e.pageX;
			posy = e.pageY;
		}
		if(e.clientX || e.clientY)
		{
			posx = e.clientX;
			posy = e.clientY;
		}
		//alert('X: '+posx+' / Y: '+posy);
		posx= posx-(tunex+150);
		posy= posy-tuney;
		document.getElementById("book_det").style.display= 'block';
		document.getElementById("book_det").style.position= 'absolute';
		document.getElementById("book_det").style.left= posx+'px';
		document.getElementById("book_det").style.top= posy+'px';
		document.getElementById("book_det").style.zIndex = '2000';
		
		contents= book+'<br><i>(Click now for details)</i><br>';
		
		document.getElementById("book_det").innerHTML= contents;
		show_spalsh= true;
	}
}

function book_clear()
{
	if(document.getElementById("book_det").innerHTML!= '')
		show_spalsh= true;
	if(show_spalsh)
	{
		document.getElementById("book_det").innerHTML= '';
		document.getElementById("book_det").style.display= 'none';
		show_spalsh= false;
	}
}

function opium_summ(page)
{
		var pageno= page*1;
		var contents= 'ERROR! GO BACK';
		//alert(pageno);
		if(pageno==1)
		{
				contents= '<br>"The feeling of a long dream – nightbound, subterranean, images rising to the surface to be caught by the sun.  The sound of voices – distant then near.  The sound of one voice, in its own key, singing the dream into daylight.  This is Kunal Basu.  Listen to him." - <b>Jeanette Winterson</b><br><br>';

				contents+= 'A first novel of rare assurance, imaginatively set and richly textured with tales that spin away into elliptical orbits.  Basu’s evocative descriptions conjure the magic and heartbreak of the East… It is a phantasmagoric world, rich in stories, visions and dreams, not unlike those inspired by the heinous drug itself." - <b><i>The Times Literary Supplement</i></b><br><br>';
	
				contents+= 'Basu has found a fresh angle…The blend of personal discovery and political revolt is handled with authority." - <b><i>The Independent on Sunday</i></b><br><br>';

				contents+= 'Basu draws us in and on, from one end of the world to another.  Intrigues and echoes hang about us like smoke, like dust, like desire.  Perhaps our own." - <b><i>Atlanta Journal Constitution</i></b><br><br>';

				contents+= '<i>The Opium Clerk</i> is packed with historical information and is imaginatively written." - <b><i>The Daily Telegraph</i></b><br><br>';

				contents+= 'At a historical level, the novel occurs along the trail of opium.  At a personal level it happens in the lives of many people in many lands…spiritually the novel happens at the level of desire, in all its multifarious manifestations." - <b><i>The Oxford Times</i></b><br><br>';

				contents+= '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:opium_summ(\'2\');" class="link_style">...more</a>';
		};
			
		if(pageno==2)
		{
				contents= '<br>Part history, part allegory, <i>The Opium Clerk</i> is also something of a 19th century romance populated by pirates, beautiful maidens, wild sailors and seers.  Basu’s book is the first by an Indian author to take place, even partially, in China." - <b><i>The Reporter</i> (Canada)</b><br><br>';
				
				contents+= '"For a first fiction writer, the writer shows great ambition and a wildering imagination." - <b><i>Irish Independent</i></b><br><br>';

				contents+= '"Basu spins a complex, captivating tale, weaving in dreams and visions in a manner reminiscent of Gabriel Garcia Marquez or Salman Rushdie.  The historical backdrop is dazzlingly evoked.  So let go of your linear outlook and get swept away." - <b><i>Ivenus</i>, Ireland</b><br><br>';

				contents+= '"In <i>The Opium Clerk</i>, Basu has bravely explored virgin ground.  The novel leads us through a labyrinth of mysteries and perplexities, which was indeed the once thriving colonial underworld." - <b><i>The Times of India</i></b><br><br>';

				contents+= '"Just one whiff is enough.  You don’t have to be an opium addict to savour the slow burning languor of the sticky-sweet saga of the opium trade that Kunal Basu places before you.  There is nothing timid about Basu’s intentions.  He has opium in his blood." - <b><i>India Today Magazine</i></b><br><br>';

				contents+= '"Basu has a gift for conjuring up scenes." - <b><i>South China Morning Post</i></b>';
				
				contents+= '<br><br><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:opium_summ(1);"  class="link_style">... prev</a><br><br>';
		};
		document.getElementById("quote").innerHTML= contents;
}

function racists_quo(page)
{
		var pageno= page*1;
		var content= 'ERROR! GO BACK';
		//alert(pageno);
		if(pageno==1)
		{
			content= '<br>"The highly original new surrealism of Kunal Basu\'s novel "Racists" carries to a startling ultimate the human entanglement of science and myth of racism with concepts of identity". - <b><i>Nadine Gordimer</i></b><br><br>';
			content+= '"Taut, elegant and intelligent…one of the most interesting novels so far to chart the history of European racism." - <b><i>Guardian</i></b><br><br>';
			content+= '"Basu\'s tale is an entertaining hybrid, part intellectual thriller, part boy’s own adventure, part romance at the heart of darkness."  - <b><i>The Independent</i></b><br><br>';
			content+= '"Basu has found a fresh angle…The blend of personal discovery and political revolt is handled with authority."  - <b><i>The Independent on Sunday</i></b><br><br>';
			content+= '"A tender, tremulous love story, in which decency and kindness prevail, just, over the nostrums of the scientists…The African setting, by turns achingly beautiful and tinged with  a sense of menace, is very well done; while the two small children, incapable of human speech, but blessed with low animal cunning, come poignantly alive.  They are an eloquent embodiment of humanity stripped to its bare essentials." - <b><i>The Telegraph</i></b><br><br>';
			content+= '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
			content+= '<a href="javascript:racists_quo(\'2\');" class="link_style">...more</a>';
		}
		if(pageno==2)
		{
			content= '"The novel aims not simply to delight, but to tell untold tales with a large dose of imagination."  - <b><i>Observer</i></b><br><br>';
			content+= '<br>"An intriguing novel." - <b><i>Scotland on Sunday</i></b><br><br>';
			content+= '<br>"<i>Racists</i> is an idea-novel that uses the historical narrative to send the reader on a shuddering yet sympathetic journey into that dark continent of human dogmas." - <b><i>Hindustan Times</i></b><br><br>';
			content+= '"Basu\'s immensely moving work, just like his earlier ones, takes you on a journey that is entertaining and fulfilling." - <b><i>The Sunday Tribune</i></b><br><br>';
			content+= '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
			content+= '<a href="javascript:racists_quo(\'1\');" class="link_style">...prev</a>';
		}
		document.getElementById("racists").innerHTML= content;
}

function min_quo(page)
{
		var pageno= page*1;
		var content= 'ERROR! GO BACK';
		//alert(pageno);
		if(pageno==1)
		{
			content= '<br>"A tale of immense originality and intrigue. <i>The Miniaturist</i> is every bit as perfect and detailed as a Mughal painting should be." - <b><i>The Observer</i></b><br><br>';
			content+= '"<i>The Miniaturist</i> shows Basu to be a master of his craft his novel is a cut-glass superstructure, as sumptuous as the imperial pleasure domes that he describes, and crafted with the miniaturist\'s wizardry."  - <b><i>The Independent on Sunday</i></b><br><br>';
			content+= '"Refreshingly modern in its minimalism, but also gorgeous with period colour and detail."  - <b><i>Guardian</i></b><br><br>';
			content+= '"There are many wonderful sequences in this novel.  Basu has a wide and sympathetic mind that enlivens historical research.  His prose is light and fragrant, creating a vivid India." - <b><i>The Times Literary Supplement</i></b><br><br>';
			content+= '"<i>The Miniaturist</i> is an excellent counterpoint to Basu\'s well-received first novel, <i>The Opium Clerk</i>.  By writing about the distant past, he has managed, paradoxically, to say something new.this novel deserves a careful perusal.  Basu\'s every word is carefully chosen, and his every image resonates with meaning."  - <b><i>Far Eastern Economic Review</i></b><br><br>';
			content+= '"Rich and imaginative.  It’s like strolling through an art gallery for sheer visual power." - <b><i>Elle</i></b><br><br>';
			content+= '"A lush, beautifully written book." - <b><i>The Sunday Tribune</i> (Dublin)</b><br><br>';
			content+= '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
			content+= '<a href="javascript:min_quo(\'2\');" class="link_style">...more</a>';
		}
		if(pageno==2)
		{
			content= '<br>"Sensual... of a quiverring kind." - <b><i>Le Monde</i></b><br><br>';
			content+= '<br>"This novel is a delicious 16th century blend of Mongols, Turks, Persians, Afghans, Christians, Muslims, Hindus, Sufis, wine, opium, friendship, lust and love…A heady brew, definitely worth the calories." - <b><i>India Today</i></b><br><br>';
			content+= '"<i>The Miniaturist</i> is a little gem, confirming author Kunal Basu’s reputation as a great storyteller, a creator of mood. <i>The Miniaturist</i> must be read.  And read again." - <b><i>The Statesman</i> (India) </b><br><br>';
			content+= '"<i>The Miniaturist</i> could easily have been a gaudy period piece, an opulent but synthetic fakery.  Few writers can freight their books with a brutal emperor, rampaging elephants, art, perfume and patronage and come up with anything more.  Basu has…with his first novel, <i>The Opium Clerk</i> and now this, Kunal Basu has proved himself one of the most skilled practitioners of historical fiction writing today." - <b><i>Hindustan Times</i> </b><br><br>';
			content+= '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
			content+= '<a href="javascript:min_quo(\'1\');" class="link_style">...prev</a>';
		}
		document.getElementById("quote").innerHTML= content;
}
