var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219297&x=2514',
		'title': '',
		'imageId': '68219297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219296&x=2514',
		'title': '',
		'imageId': '68219296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219295&x=2514',
		'title': '',
		'imageId': '68219295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219304&x=2514',
		'title': '',
		'imageId': '68219304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219298&x=2514',
		'title': '',
		'imageId': '68219298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219300&x=2514',
		'title': '',
		'imageId': '68219300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219302&x=2514',
		'title': '',
		'imageId': '68219302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219309&x=2514',
		'title': '',
		'imageId': '68219309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219299&x=2514',
		'title': '',
		'imageId': '68219299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219308&x=2514',
		'title': '',
		'imageId': '68219308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219313&x=2514',
		'title': '',
		'imageId': '68219313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219293&x=2514',
		'title': '',
		'imageId': '68219293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219294&x=2514',
		'title': '',
		'imageId': '68219294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219301&x=2514',
		'title': '',
		'imageId': '68219301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219305&x=2514',
		'title': '',
		'imageId': '68219305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219311&x=2514',
		'title': '',
		'imageId': '68219311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219303&x=2514',
		'title': '',
		'imageId': '68219303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219306&x=2514',
		'title': '',
		'imageId': '68219306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219310&x=2514',
		'title': '',
		'imageId': '68219310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219307&x=2514',
		'title': '',
		'imageId': '68219307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933590&docid=68219312&x=2514',
		'title': '',
		'imageId': '68219312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933590';

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