var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68620136&x=3250',
		'title': '',
		'imageId': '68620136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68620134&x=3250',
		'title': '',
		'imageId': '68620134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68620137&x=3250',
		'title': '',
		'imageId': '68620137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68620135&x=3250',
		'title': '',
		'imageId': '68620135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68620139&x=3250',
		'title': '',
		'imageId': '68620139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68620138&x=3250',
		'title': '',
		'imageId': '68620138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68642791&x=3250',
		'title': '',
		'imageId': '68642791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68642790&x=3250',
		'title': '',
		'imageId': '68642790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68642788&x=3250',
		'title': '',
		'imageId': '68642788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951537&docid=68642789&x=3250',
		'title': '',
		'imageId': '68642789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951537';

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