var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900213&x=3525',
		'title': '',
		'imageId': '68900213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900215&x=3525',
		'title': '',
		'imageId': '68900215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900216&x=3525',
		'title': '',
		'imageId': '68900216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900217&x=3525',
		'title': '',
		'imageId': '68900217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900218&x=3525',
		'title': '',
		'imageId': '68900218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900219&x=3525',
		'title': '',
		'imageId': '68900219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900220&x=3525',
		'title': '',
		'imageId': '68900220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900221&x=3525',
		'title': '',
		'imageId': '68900221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900222&x=3525',
		'title': '',
		'imageId': '68900222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963888&docid=68900223&x=3525',
		'title': '',
		'imageId': '68900223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963888';

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