var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938550&docid=67637066&x=3038',
		'title': '',
		'imageId': '67637066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938550&docid=67637069&x=3038',
		'title': '',
		'imageId': '67637069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938550&docid=67637072&x=3038',
		'title': '',
		'imageId': '67637072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938550&docid=67637075&x=3038',
		'title': '',
		'imageId': '67637075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938550&docid=67637078&x=3038',
		'title': '',
		'imageId': '67637078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938550&docid=67637081&x=3038',
		'title': '',
		'imageId': '67637081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938550&docid=67637084&x=3038',
		'title': '',
		'imageId': '67637084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938550';

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