function toggleDisplay(elementId)
{
    if (document.getElementById(elementId).style.display == "none")
        document.getElementById(elementId).style.display = "inline";
    else
        document.getElementById(elementId).style.display = "none";
}

/************************************************************************************************************
(C) www.dhtmlgoodies.com, September 2005

This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.	

Terms of use:
You are free to use this script as long as the copyright message is kept intact. However, you may not
redistribute, sell or repost it without our permission.

Thank you!

www.dhtmlgoodies.com
Alf Magne Kalleland

************************************************************************************************************/		

var initHeight = 0;
var slidedown_direction = 1;
var slidedownContentBox = false;
var slidedownContent = false;
var slidedownActive = false;
var contentHeight = false;
var slidedownSpeed = 3; 	// Higher value = faster script
var slidedownTimer = 7;	// Lower value = faster script
function slidedown_showHide()
{
	if(initHeight==0)slidedown_direction=slidedownSpeed; else slidedown_direction = slidedownSpeed*-1;
	if(!slidedownContentBox){
		slidedownContentBox = document.getElementById('cartSummaryContentBox');
		slidedownContent = document.getElementById('cartSummaryContent');
		contentHeight = document.getElementById('cartSummaryContent').offsetHeight;
	}
	slidedownContentBox.style.visibility='visible';
	slidedownActive = true;
	slidedown_showHide_start();
}
function slidedown_showHide_start()
{
	if(!slidedownActive)return;
	initHeight = initHeight/1 + slidedown_direction;
	if(initHeight <= 0){
		slidedownActive = false;	
		slidedownContentBox.style.visibility='hidden';
		initHeight = 0;
	}
	if(initHeight>contentHeight){
		slidedownActive = false;	
	}
	slidedownContentBox.style.height = initHeight + 'px';
	slidedownContent.style.top = initHeight - contentHeight + 'px';
	setTimeout('slidedown_showHide_start()',slidedownTimer);	// Choose a lower value than 10 to make the script move faster
}

function setslidedownWidth(newWidth)
{
	document.getElementById('cartSummarySlidedown').style.width = newWidth + 'px';
	document.getElementById('cartSummaryContentBox').style.width = newWidth + 'px';
}

function setSlideDownSpeed(newSpeed)
{
	slidedownSpeed = newSpeed;
	
}
/************ end slide down script *********************/


/************ start random image script *********************/

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = '/Img/banner_1.jpg'
theImages[1] = '/Img/banner_2.jpg'

// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}

/************ end random image script *********************/