var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737740&x=1954',
		'title': '',
		'imageId': '68737740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737741&x=1954',
		'title': '',
		'imageId': '68737741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737742&x=1954',
		'title': '',
		'imageId': '68737742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737745&x=1954',
		'title': '',
		'imageId': '68737745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737746&x=1954',
		'title': '',
		'imageId': '68737746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737747&x=1954',
		'title': '',
		'imageId': '68737747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737748&x=1954',
		'title': '',
		'imageId': '68737748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737749&x=1954',
		'title': '',
		'imageId': '68737749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737743&x=1954',
		'title': '',
		'imageId': '68737743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956494&docid=68737744&x=1954',
		'title': '',
		'imageId': '68737744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956494';

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