var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469553&x=4230',
		'title': '',
		'imageId': '68469553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469555&x=4230',
		'title': '',
		'imageId': '68469555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469556&x=4230',
		'title': '',
		'imageId': '68469556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469557&x=4230',
		'title': '',
		'imageId': '68469557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469558&x=4230',
		'title': '',
		'imageId': '68469558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469559&x=4230',
		'title': '',
		'imageId': '68469559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469560&x=4230',
		'title': '',
		'imageId': '68469560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469561&x=4230',
		'title': '',
		'imageId': '68469561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469562&x=4230',
		'title': '',
		'imageId': '68469562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469563&x=4230',
		'title': '',
		'imageId': '68469563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469564&x=4230',
		'title': '',
		'imageId': '68469564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945241&docid=68469565&x=4230',
		'title': '',
		'imageId': '68469565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945241';

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