var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656788&x=042',
		'title': '',
		'imageId': '68656788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656791&x=042',
		'title': '',
		'imageId': '68656791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656798&x=042',
		'title': '',
		'imageId': '68656798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656785&x=042',
		'title': '',
		'imageId': '68656785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656795&x=042',
		'title': '',
		'imageId': '68656795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656793&x=042',
		'title': '',
		'imageId': '68656793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656796&x=042',
		'title': '',
		'imageId': '68656796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656797&x=042',
		'title': '',
		'imageId': '68656797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656786&x=042',
		'title': '',
		'imageId': '68656786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656801&x=042',
		'title': '',
		'imageId': '68656801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656792&x=042',
		'title': '',
		'imageId': '68656792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953302&docid=68656800&x=042',
		'title': '',
		'imageId': '68656800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953302';

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