// JavaScript Document

var shortList = new TipObj('shortList');
with (shortList)
{
 template = "<table width='300' height='100' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF' style='border:solid 1px #000000'><tr><td><p align='center'>Loading</p></td></tr></table>";
 tips.links = new Array(220, 230, 300, '','');
 tipStick = 0;
}


function getShortList() {
	ajax.requestFile = 'scripts/getShortList.php'; // Specifying which file to get
	ajax.onCompletion = updateShortList; // Specify function that will be executed after file has been found
	ajax.runAJAX();
}

function updateShortList() {
	document.getElementById("shortListLayer").innerHTML = ajax.response;
}