var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665724&x=325',
		'title': '',
		'imageId': '69665724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665722&x=325',
		'title': '',
		'imageId': '69665722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665723&x=325',
		'title': '',
		'imageId': '69665723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665725&x=325',
		'title': '',
		'imageId': '69665725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665726&x=325',
		'title': '',
		'imageId': '69665726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665736&x=325',
		'title': '',
		'imageId': '69665736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665735&x=325',
		'title': '',
		'imageId': '69665735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665740&x=325',
		'title': '',
		'imageId': '69665740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665741&x=325',
		'title': '',
		'imageId': '69665741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665744&x=325',
		'title': '',
		'imageId': '69665744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665747&x=325',
		'title': '',
		'imageId': '69665747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998514&docid=69665721&x=325',
		'title': '',
		'imageId': '69665721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998514';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
