var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095334&x=5822',
		'title': '',
		'imageId': '68095334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095335&x=5822',
		'title': '',
		'imageId': '68095335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095336&x=5822',
		'title': '',
		'imageId': '68095336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095337&x=5822',
		'title': '',
		'imageId': '68095337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095338&x=5822',
		'title': '',
		'imageId': '68095338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095339&x=5822',
		'title': '',
		'imageId': '68095339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095340&x=5822',
		'title': '',
		'imageId': '68095340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095341&x=5822',
		'title': '',
		'imageId': '68095341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095342&x=5822',
		'title': '',
		'imageId': '68095342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095343&x=5822',
		'title': '',
		'imageId': '68095343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095344&x=5822',
		'title': '',
		'imageId': '68095344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095345&x=5822',
		'title': '',
		'imageId': '68095345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095346&x=5822',
		'title': '',
		'imageId': '68095346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095347&x=5822',
		'title': '',
		'imageId': '68095347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095348&x=5822',
		'title': '',
		'imageId': '68095348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928556&docid=68095349&x=5822',
		'title': '',
		'imageId': '68095349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928556';

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";
	})
}
