<!--
function openAWindow( pageToLoad, winName, width, height, center) {
/* Opens a new window on the users desktop.
    A call to this function might look like this:
    <a href="javascript:openAWindow('card.html','card',396,378,0)">Ice</a>
*/				 
    xposition=0; yposition=0;
    if ((parseInt(navigator.appVersion) >= 4 ) && (center)){
        xposition = (screen.width - width) / 2;
        yposition = (screen.height - height) / 2;
    }
    args = "width=" + width + "," 
    + "height=" + height + "," 
    + "location=0," 
    + "menubar=0,"
    + "resizable=1,"
    + "scrollbars=1,"
    + "status=0," 
    + "titlebar=0,"
    + "toolbar=0,"
    + "hotkeys=1,"
    + "screenx=" + xposition + ","  //NN Only
    + "screeny=" + yposition + ","  //NN Only
    + "left=" + xposition + ","     //IE Only
    + "top=" + yposition;           //IE Only

    window.open( pageToLoad,winName,args );
}
/*Used to dynamically determine the number of scroll images
are required down the left hand side of the page content*/
function getMyHeight(){
	var myNumber = 0;
	var sText = "";
	var myHeight = document.getElementById('myMenu').offsetHeight - 30;
	if((Math.round(myHeight/87)*87) > myHeight){
		myNumber = (Math.round(myHeight/87) - 1);
	} else {
		myNumber = Math.round(myHeight/87);
	}
	for(var i=0; i<myNumber; i++){
		sText = sText + "<img src='images/ui_components/right_scroll.gif' width='18' height='87' border='0' /><br />";
	}
	document.getElementById('leftScroll').innerHTML = sText;
}
//-->
