var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617256&x=317',
		'title': '',
		'imageId': '67617256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617257&x=317',
		'title': '',
		'imageId': '67617257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617250&x=317',
		'title': '',
		'imageId': '67617250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617252&x=317',
		'title': '',
		'imageId': '67617252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617251&x=317',
		'title': '',
		'imageId': '67617251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617258&x=317',
		'title': '',
		'imageId': '67617258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617259&x=317',
		'title': '',
		'imageId': '67617259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617248&x=317',
		'title': '',
		'imageId': '67617248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617249&x=317',
		'title': '',
		'imageId': '67617249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617255&x=317',
		'title': '',
		'imageId': '67617255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617254&x=317',
		'title': '',
		'imageId': '67617254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909165&docid=67617253&x=317',
		'title': '',
		'imageId': '67617253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909165';

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