var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333982&x=2134',
		'title': '',
		'imageId': '68333982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333989&x=2134',
		'title': '',
		'imageId': '68333989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333988&x=2134',
		'title': '',
		'imageId': '68333988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333981&x=2134',
		'title': '',
		'imageId': '68333981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333986&x=2134',
		'title': '',
		'imageId': '68333986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333985&x=2134',
		'title': '',
		'imageId': '68333985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333990&x=2134',
		'title': '',
		'imageId': '68333990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333987&x=2134',
		'title': '',
		'imageId': '68333987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333984&x=2134',
		'title': '',
		'imageId': '68333984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949818&docid=68333983&x=2134',
		'title': '',
		'imageId': '68333983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949818';

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