var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204385&x=3044',
		'title': '',
		'imageId': '68204385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204391&x=3044',
		'title': '',
		'imageId': '68204391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204395&x=3044',
		'title': '',
		'imageId': '68204395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204390&x=3044',
		'title': '',
		'imageId': '68204390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204387&x=3044',
		'title': '',
		'imageId': '68204387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204396&x=3044',
		'title': '',
		'imageId': '68204396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204394&x=3044',
		'title': '',
		'imageId': '68204394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204392&x=3044',
		'title': '',
		'imageId': '68204392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204389&x=3044',
		'title': '',
		'imageId': '68204389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933018&docid=68204393&x=3044',
		'title': '',
		'imageId': '68204393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933018';

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