// ..................................................................................
//	 DEFAULT dMS FUNCTION # start
// ..................................................................................

d 				= document;
IE7				= 0;

// default CMS script

function JS_function()
	{
alert('hello, world...');
	}

// write clients-mail

TheMail			= new Array();
TheMail[0]		= 'email';
TheMail[1]		= 'info'+'@'+'kitocartoons'+'.com';

function Mail(WhichMail)
	{
d.write ('<a href="mailto:'+TheMail[1]+'" title="'+TheMail[0]+'">'+TheMail[WhichMail]+'</a>');
	}

// image preloader	

dMSimage		= new Array();
dMSimage[1]		= new Image();
dMSimage[1].src = 'img/navigation.png';

// ..................................................................................
//	 DEFAULT dMS FUNCTION # end
// ..................................................................................

NextPrev		= new Array();
NextPrev[0]		= 'prev';
NextPrev[1]		= 'next';

function Hide(WhichButt)
	{
d.getElementById((NextPrev[WhichButt])).style.visibility = 'hidden';	
	}
	
function UpdatePrice()
	{
ThePrice 		= BookPrice*(d.getElementById('book_amount').selectedIndex+1);
ThePrice		= ''+ThePrice;
ThePriceDecimal = ThePrice.indexOf('.');
ThePriceEuros	= ThePrice.substring(0,ThePriceDecimal);
ThePriceCents	= ThePrice.substring(ThePriceDecimal+1);
ThePriceCents 	= ThePriceCents.substring(0,2);

d.getElementById('price').value = PriceUnit+' '+ThePriceEuros+','+ThePriceCents+' '+PriceTXT; 	
	}
