function prepareShoppingCartExt(shoppingBoxName, shoppingBoxExtName, offset)
{
	if(x=$(shoppingBoxName)){
		posX = getLeft(x);
		posY = getTop(x)+offset;
		if(y=$(shoppingBoxExtName)){
			y.style.left = posX +'px';
			y.style.top = posY +'px';
			//y.style.display='block';
		}
	}	
}
function get_shopping_box(){
	if($('shoppingcart_inside')){$('shoppingcart_inside').setStyle('marginTop', 0);$('shoppingcart_inside').innerHTML='';}
	if($('shoppingcart_scroll'))$('shoppingcart_scroll').setStyle('height', 'auto');
	if($('shoppingcart_inside2')){$('shoppingcart_inside2').setStyle('marginTop', 0);;$('shoppingcart_inside2').innerHTML='';}
	if($('shoppingcart_scroll2'))$('shoppingcart_scroll2').setStyle('height', 'auto');
	new Ajax(shopping_url, {
			method:'get',
			data:'',
			update: shopping_block,
			evalScripts: true,
			onComplete: function(){;}.pass('', this)
		}).request();
	new Ajax(shopping_ext_url, {
			method:'get',
			data:'',
			update: shopping_block_ext,
			evalScripts: true,
			onComplete: function(){
				if(x=$('loading_anim')){x.style.visibility='hidden';}
				if(typeof(sneak_obj)!='undefined'){sneak_obj.hideSpecialProductBox();}
				$(shoppingBoxExtName).style.display='block';
				var scrollExample = new Fx.Scroll(window);scrollExample.toTop();
				setTimeout(turtleHeadHideIn, 18000);}
		}).request();
}

function turtleHeadHideIn(){
	height2=$('shoppingcart_inside2').scrollHeight;
	$('shoppingcart_inside2').effect('marginTop').start(0, -height2);
	$('shoppingcart_scroll2').effect('height').start(height2, 0).chain(function(){
		height=$('shoppingcart_inside').scrollHeight;
		$('shoppingcart_inside').effect('marginTop').start(0, -height);
		$('shoppingcart_scroll').effect('height').start(height, 0).chain(function(){
		$(shoppingBoxExtName).style.display='none';
		})
	})	
	//height=parseInt($('shoppingcart_inside').style.height);
	//alert(height);
}