// Code written by MJA Visser, for more info: mjavisserREMOVETHIS@hotmail.com

//globals
checkItemID=top.window.checkItemID;

function slideshowObject(base, file,caption,itemID) {
	var urlPrefix = "../pic/" + base +"/800x600/"; //as a default value
	if( (screen.width >= 1024) || (screen.height >= 768) ) { //we're able to use highdef pics
		urlPrefix = "../pic/" + base + "/1024x768/";
	}
	this.url = urlPrefix + file;
	if(!caption) {
		this.caption = "";
	} else {
		this.caption = caption;
	}
	if(!itemID) {
		this.itemID = "";
	} else {
		this.itemID = itemID;
	}
}
