var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357348&x=336',
		'title': '',
		'imageId': '68357348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357349&x=336',
		'title': '',
		'imageId': '68357349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357340&x=336',
		'title': '',
		'imageId': '68357340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357341&x=336',
		'title': '',
		'imageId': '68357341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357350&x=336',
		'title': '',
		'imageId': '68357350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357351&x=336',
		'title': '',
		'imageId': '68357351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357342&x=336',
		'title': '',
		'imageId': '68357342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357347&x=336',
		'title': '',
		'imageId': '68357347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357343&x=336',
		'title': '',
		'imageId': '68357343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357346&x=336',
		'title': '',
		'imageId': '68357346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357345&x=336',
		'title': '',
		'imageId': '68357345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939602&docid=68357344&x=336',
		'title': '',
		'imageId': '68357344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939602';

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