var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559992&x=2430',
		'title': '',
		'imageId': '67559992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559993&x=2430',
		'title': '',
		'imageId': '67559993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559994&x=2430',
		'title': '',
		'imageId': '67559994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559989&x=2430',
		'title': '',
		'imageId': '67559989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559991&x=2430',
		'title': '',
		'imageId': '67559991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559995&x=2430',
		'title': '',
		'imageId': '67559995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559996&x=2430',
		'title': '',
		'imageId': '67559996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559997&x=2430',
		'title': '',
		'imageId': '67559997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559998&x=2430',
		'title': '',
		'imageId': '67559998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906507&docid=67559999&x=2430',
		'title': '',
		'imageId': '67559999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906507';

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