var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415906&x=5142',
		'title': '',
		'imageId': '69415906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415899&x=5142',
		'title': '',
		'imageId': '69415899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415919&x=5142',
		'title': '',
		'imageId': '69415919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415936&x=5142',
		'title': '',
		'imageId': '69415936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415943&x=5142',
		'title': '',
		'imageId': '69415943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415949&x=5142',
		'title': '',
		'imageId': '69415949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415955&x=5142',
		'title': '',
		'imageId': '69415955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415960&x=5142',
		'title': '',
		'imageId': '69415960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415964&x=5142',
		'title': '',
		'imageId': '69415964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986535&docid=69415965&x=5142',
		'title': '',
		'imageId': '69415965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986535';

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