var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69183996&x=446',
		'title': '',
		'imageId': '69183996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69183997&x=446',
		'title': '',
		'imageId': '69183997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69183998&x=446',
		'title': '',
		'imageId': '69183998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69183999&x=446',
		'title': '',
		'imageId': '69183999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69184001&x=446',
		'title': '',
		'imageId': '69184001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69184002&x=446',
		'title': '',
		'imageId': '69184002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69184003&x=446',
		'title': '',
		'imageId': '69184003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69184004&x=446',
		'title': '',
		'imageId': '69184004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69184019&x=446',
		'title': '',
		'imageId': '69184019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976681&docid=69184028&x=446',
		'title': '',
		'imageId': '69184028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976681';

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