function adjustOrderLayers() // adjust the size and position of the link layers
{
	getOrderLayerRefs(); // get the references to the order layers
	adjustBearImg(); // adjust the position of the bear image
	adjustBearDesc(); // adjust the position of the bear description
	adjustBearInfo(); // adjust the Bear Order information
	adjustOrderButton(); //adjust the Bear Order Button
}

function adjustBearImg() // adjust the position of the bear image
{
	// if the screen size is small, then shrink the size of the bear
	if(sizeSelection == 0) orderBearImgDiv.width=orderBearImgDiv.width/2;

	orderImgDiv.style.top=stripPx(dispBckGnd.style.top)+(2*backGround_brder)+50;
	orderImgDiv.style.left=stripPx(dispBckGnd.style.left)+(2*backGround_brder);
	orderImgDiv.style.width=orderBearImgDiv.width;
}

function adjustBearDesc() // adjust the position of the bear description
{
	orderDescrDiv.style.top=stripPx(dispBckGnd.style.top)+(2*backGround_brder);
	orderDescrDiv.style.left=stripPx(orderImgDiv.style.left)+stripPx(orderImgDiv.style.width)+(4*backGround_brder);
}

function adjustBearInfo() // adjust the Bear Order information
{
	if(sizeSelection == 0) orderInfoDiv.style.top=stripPx(orderImgDiv.style.width)+(stripPx(orderImgDiv.style.width)/2);
	else orderInfoDiv.style.top=stripPx(orderImgDiv.style.width)+(stripPx(orderImgDiv.style.width)/4);
	orderInfoDiv.style.left=stripPx(orderDescrDiv.style.left);
}

function adjustOrderButton() //adjust the Bear Order Button
{
	orderClsDiv.style.top=stripPx(dispBckGnd.style.top)+(2*backGround_brder);
	orderClsDiv.style.left=stripPx(orderImgDiv.style.left);
	orderClsDiv.style.width=stripPx(orderImgDiv.style.width);
}

	
	
