var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295763&x=546',
		'title': '',
		'imageId': '67295763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295764&x=546',
		'title': '',
		'imageId': '67295764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295771&x=546',
		'title': '',
		'imageId': '67295771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295762&x=546',
		'title': '',
		'imageId': '67295762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295767&x=546',
		'title': '',
		'imageId': '67295767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295770&x=546',
		'title': '',
		'imageId': '67295770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295768&x=546',
		'title': '',
		'imageId': '67295768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295769&x=546',
		'title': '',
		'imageId': '67295769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295765&x=546',
		'title': '',
		'imageId': '67295765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990525&docid=67295766&x=546',
		'title': '',
		'imageId': '67295766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990525';

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