var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797173&x=838',
		'title': '',
		'imageId': '60797173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797174&x=838',
		'title': '',
		'imageId': '60797174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797175&x=838',
		'title': '',
		'imageId': '60797175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797176&x=838',
		'title': '',
		'imageId': '60797176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797177&x=838',
		'title': '',
		'imageId': '60797177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797178&x=838',
		'title': '',
		'imageId': '60797178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797179&x=838',
		'title': '',
		'imageId': '60797179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797180&x=838',
		'title': '',
		'imageId': '60797180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797181&x=838',
		'title': '',
		'imageId': '60797181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797182&x=838',
		'title': '',
		'imageId': '60797182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797183&x=838',
		'title': '',
		'imageId': '60797183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797184&x=838',
		'title': '',
		'imageId': '60797184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797185&x=838',
		'title': '',
		'imageId': '60797185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797186&x=838',
		'title': '',
		'imageId': '60797186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797187&x=838',
		'title': '',
		'imageId': '60797187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797188&x=838',
		'title': '',
		'imageId': '60797188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797189&x=838',
		'title': '',
		'imageId': '60797189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797190&x=838',
		'title': '',
		'imageId': '60797190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797191&x=838',
		'title': '',
		'imageId': '60797191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797192&x=838',
		'title': '',
		'imageId': '60797192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797193&x=838',
		'title': '',
		'imageId': '60797193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3668776&docid=60797194&x=838',
		'title': '',
		'imageId': '60797194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3668776';

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