var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885880&x=1931',
		'title': '',
		'imageId': '67885880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885879&x=1931',
		'title': '',
		'imageId': '67885879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885885&x=1931',
		'title': '',
		'imageId': '67885885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885883&x=1931',
		'title': '',
		'imageId': '67885883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885888&x=1931',
		'title': '',
		'imageId': '67885888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885882&x=1931',
		'title': '',
		'imageId': '67885882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885881&x=1931',
		'title': '',
		'imageId': '67885881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885878&x=1931',
		'title': '',
		'imageId': '67885878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885887&x=1931',
		'title': '',
		'imageId': '67885887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885884&x=1931',
		'title': '',
		'imageId': '67885884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885886&x=1931',
		'title': '',
		'imageId': '67885886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885890&x=1931',
		'title': '',
		'imageId': '67885890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885891&x=1931',
		'title': '',
		'imageId': '67885891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=68254037&x=1931',
		'title': '',
		'imageId': '68254037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885889&x=1931',
		'title': '',
		'imageId': '67885889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931642&docid=67885892&x=1931',
		'title': '',
		'imageId': '67885892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931642';

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