var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439581&x=238',
		'title': '',
		'imageId': '68439581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439577&x=238',
		'title': '',
		'imageId': '68439577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439583&x=238',
		'title': '',
		'imageId': '68439583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439579&x=238',
		'title': '',
		'imageId': '68439579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439584&x=238',
		'title': '',
		'imageId': '68439584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439580&x=238',
		'title': '',
		'imageId': '68439580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439582&x=238',
		'title': '',
		'imageId': '68439582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439578&x=238',
		'title': '',
		'imageId': '68439578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439586&x=238',
		'title': '',
		'imageId': '68439586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439587&x=238',
		'title': '',
		'imageId': '68439587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439585&x=238',
		'title': '',
		'imageId': '68439585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943981&docid=68439588&x=238',
		'title': '',
		'imageId': '68439588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943981';

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