var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615564&x=1248',
		'title': '',
		'imageId': '68615564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615568&x=1248',
		'title': '',
		'imageId': '68615568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615563&x=1248',
		'title': '',
		'imageId': '68615563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615571&x=1248',
		'title': '',
		'imageId': '68615571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615570&x=1248',
		'title': '',
		'imageId': '68615570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615566&x=1248',
		'title': '',
		'imageId': '68615566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615567&x=1248',
		'title': '',
		'imageId': '68615567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615569&x=1248',
		'title': '',
		'imageId': '68615569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615565&x=1248',
		'title': '',
		'imageId': '68615565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951254&docid=68615562&x=1248',
		'title': '',
		'imageId': '68615562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951254';

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