var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081030&x=5111',
		'title': '',
		'imageId': '68081030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081029&x=5111',
		'title': '',
		'imageId': '68081029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081005&x=5111',
		'title': '',
		'imageId': '68081005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081028&x=5111',
		'title': '',
		'imageId': '68081028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081027&x=5111',
		'title': '',
		'imageId': '68081027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081009&x=5111',
		'title': '',
		'imageId': '68081009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081008&x=5111',
		'title': '',
		'imageId': '68081008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081010&x=5111',
		'title': '',
		'imageId': '68081010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081006&x=5111',
		'title': '',
		'imageId': '68081006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927549&docid=68081007&x=5111',
		'title': '',
		'imageId': '68081007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927549';

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