var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954112&x=2620',
		'title': '',
		'imageId': '67954112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954113&x=2620',
		'title': '',
		'imageId': '67954113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954114&x=2620',
		'title': '',
		'imageId': '67954114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954115&x=2620',
		'title': '',
		'imageId': '67954115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954116&x=2620',
		'title': '',
		'imageId': '67954116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954117&x=2620',
		'title': '',
		'imageId': '67954117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954118&x=2620',
		'title': '',
		'imageId': '67954118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954119&x=2620',
		'title': '',
		'imageId': '67954119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954120&x=2620',
		'title': '',
		'imageId': '67954120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922148&docid=67954121&x=2620',
		'title': '',
		'imageId': '67954121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922148';

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