var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458733&x=191',
		'title': '',
		'imageId': '67458733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458734&x=191',
		'title': '',
		'imageId': '67458734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458735&x=191',
		'title': '',
		'imageId': '67458735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458736&x=191',
		'title': '',
		'imageId': '67458736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458737&x=191',
		'title': '',
		'imageId': '67458737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458738&x=191',
		'title': '',
		'imageId': '67458738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458739&x=191',
		'title': '',
		'imageId': '67458739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458740&x=191',
		'title': '',
		'imageId': '67458740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458741&x=191',
		'title': '',
		'imageId': '67458741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458742&x=191',
		'title': '',
		'imageId': '67458742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458743&x=191',
		'title': '',
		'imageId': '67458743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945354&docid=67458744&x=191',
		'title': '',
		'imageId': '67458744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945354';

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