var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725071&x=3612',
		'title': '',
		'imageId': '68725071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725074&x=3612',
		'title': '',
		'imageId': '68725074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725072&x=3612',
		'title': '',
		'imageId': '68725072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725073&x=3612',
		'title': '',
		'imageId': '68725073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725077&x=3612',
		'title': '',
		'imageId': '68725077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725076&x=3612',
		'title': '',
		'imageId': '68725076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725078&x=3612',
		'title': '',
		'imageId': '68725078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725070&x=3612',
		'title': '',
		'imageId': '68725070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725075&x=3612',
		'title': '',
		'imageId': '68725075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962285&docid=68725079&x=3612',
		'title': '',
		'imageId': '68725079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962285';

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