var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312162&x=1441',
		'title': '',
		'imageId': '61312162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312170&x=1441',
		'title': '',
		'imageId': '61312170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312174&x=1441',
		'title': '',
		'imageId': '61312174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312176&x=1441',
		'title': '',
		'imageId': '61312176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312177&x=1441',
		'title': '',
		'imageId': '61312177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312179&x=1441',
		'title': '',
		'imageId': '61312179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312180&x=1441',
		'title': '',
		'imageId': '61312180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312181&x=1441',
		'title': '',
		'imageId': '61312181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312182&x=1441',
		'title': '',
		'imageId': '61312182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3650756&docid=61312183&x=1441',
		'title': '',
		'imageId': '61312183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3650756';

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