var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405110&x=2255',
		'title': '',
		'imageId': '68405110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405114&x=2255',
		'title': '',
		'imageId': '68405114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405115&x=2255',
		'title': '',
		'imageId': '68405115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405113&x=2255',
		'title': '',
		'imageId': '68405113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405112&x=2255',
		'title': '',
		'imageId': '68405112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405119&x=2255',
		'title': '',
		'imageId': '68405119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405111&x=2255',
		'title': '',
		'imageId': '68405111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405117&x=2255',
		'title': '',
		'imageId': '68405117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405118&x=2255',
		'title': '',
		'imageId': '68405118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942543&docid=68405116&x=2255',
		'title': '',
		'imageId': '68405116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3942543';

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