	function showImage(imageUrl,productname,ordernumber)
	{
		_div = document.getElementById('popup'); 
		_div.style.backgroundImage = 'none';
		_div.innerHTML = "<img class='popup-image' src=\'"+imageUrl+"\' onclick=\"hidePopup(); return false;\" ><div class='popup-image-text'><span class='productname'>"+productname+"</span><br><span class='ordernumber'>"+ordernumber+"</span><span onclick=\"hidePopup(); return false;\" class='popup-closetext'>Click on image to close</span></div>";
		setTimeout('showPopup()',50); 
		setTimeout('addTransparency()',50); 
	}
	function ShowAbout()
	{
		_div = document.getElementById('popup'); 
//		_div.style.backgroundImage = "url(images/popup-bg-ice.gif)"
		_div.innerHTML = "<div class='popup-info-div'><div class='popup-header'>"
+"About Ivy"
+"</div><br>"
+"<div class='popup-para'>"
+"Ivy is created by Mai Eliasson. Mai is originally from Japan, but now lives in and operates out of Stockholm, Sweden.<br>"
+"<br><p>"
+"<p>Mai's design is inspired by the beauty of nature. Each individual design is named in Japanese with words derived from nature.<br>Each piece is fashioned by hand with the finest quality beads, made of Swarovski crystal, glass or pearls.<br>"
+"<br><p>"
+"<p>Mai wishes that her 'Ivy' would spread widely as the nature's ivy spreads out decorating forests and houses beautifully..., and bring a little happiness to you.<br>"

+"</div>"
+"<div onclick=\"hidePopup(); return false;\" class='popup-closetext'>"
							+"Click to close"
						+"</div>"
						+"</div>";
		setTimeout('showPopup()',50); 
	}
	function ShowContact()
	{
		_div = document.getElementById('popup'); 
//		_div.style.backgroundImage = "url(images/popup-bg-ice.gif)"
		_div.innerHTML = "<div class='popup-info-div'><div class='popup-header'>How to Order</div><br>"
+"<div class='popup-para'>"
+"  Ivy's jewellery can be ordered via e-mail and delivered throughout the world."
+"  All prices and order information are for Sweden and given in Swedish Krona. For orders "
+"  from other countries or other inquiries, please contact us for details."
+"<P>"
+"  <b>If you wish to order, please send us:</b>"
+"</P>"
+"<ul style='margin-top:4px; margin-bottom:4px '>"
+"	<li>Your name, address and telephone number</li>" 
+"	<li>Name of the items</li>" 
+"	<li>Color</li>" 
+"	<li>Size in 'cm' or 'mm'<br>"
+"	    For rings, measure your own ring in diameter, or the circumference of your finger."
+" 	    For necklaces & bracelets, write down the shortest length you wish to have, " 
+"	    as most of them are with an extendable adjuster.</li>" 
+"</ul>"
+" <P>"
+"Order to: <a href='mailto:contact"+"@"+"ivybymai.com'>contact"+"@"+"ivybymai.com</a><br>"
+"<p>"
+"We will get back to you with a confirmation mail.<br>"
+"<p>"
+"  <b>Payment</b><br>"
+"     Payments are made in advance through bank transfer."
+" </P><P>"
+"  <b>Shipping & Delivery</b><br> "
+"     Standard shipping fee is 60.00 kr, and the jewellery is normally sent by Rekommenderat Brev within a week."
+"     Please note that it may take longer than a week depending on the item, quantity etc."
+" </P><P>"
+"  <b>Retailers and Appointments</b><br> "
+"    The collection is available for retailers, "
+"    and within the Stockholm area, appointments can be made to see the jewellery. <br>" 
+"    Upon request, Mai also makes custom made jewellery.</p>"
+" </P><P>"
+"   Mai Eliasson<br><i><a href='mailto:contact"+"@"+"ivybymai.com'>contact"+"@"+"ivybymai.com</a></i>"
+" </P>"
+"</div>"
+"<div onclick=\"hidePopup(); return false;\" class='popup-closetext'>Click to close</div></div>";
		setTimeout('showPopup()',50); 
	}

	function addTransparency() {
//			if(
//			setTimeout('addTransparency()',50); 
	}
	function repositionImage() {
		object = document.getElementById('popup');

		target = document.body.scrollTop+50;
		differance = (document.body.scrollTop+50) - object.offsetTop;
		
		move_y = Math.round(differance/5);

		object.style.top = object.offsetTop + move_y;
		
		if(object.style.visibility=='visible') 
		{
			setTimeout('repositionImage()',15);
		}
		return false;
	}


	function showPopup()
	{
		_div = document.getElementById('popup'); 

		w = document.width ? document.width : document.documentElement.offsetWidth;	
		leftpos = Math.round((w - _div.offsetWidth)/2); 

		_div.style.left = leftpos;

		_div.style.visibility='visible'; 

		repositionImage();
		return false;
	}
	


	function hidePopup()
	{
		_div = document.getElementById('popup'); 
		_div.style.visibility='hidden'; 
		return false;
	}
