var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439399&x=223',
		'title': '',
		'imageId': '68439399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439373&x=223',
		'title': '',
		'imageId': '68439373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439394&x=223',
		'title': '',
		'imageId': '68439394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439395&x=223',
		'title': '',
		'imageId': '68439395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439378&x=223',
		'title': '',
		'imageId': '68439378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439374&x=223',
		'title': '',
		'imageId': '68439374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439376&x=223',
		'title': '',
		'imageId': '68439376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439377&x=223',
		'title': '',
		'imageId': '68439377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439392&x=223',
		'title': '',
		'imageId': '68439392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439381&x=223',
		'title': '',
		'imageId': '68439381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439375&x=223',
		'title': '',
		'imageId': '68439375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943974&docid=68439398&x=223',
		'title': '',
		'imageId': '68439398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943974';

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