var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842036&x=315',
		'title': '',
		'imageId': '68842036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842038&x=315',
		'title': '',
		'imageId': '68842038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842037&x=315',
		'title': '',
		'imageId': '68842037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842039&x=315',
		'title': '',
		'imageId': '68842039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842040&x=315',
		'title': '',
		'imageId': '68842040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842043&x=315',
		'title': '',
		'imageId': '68842043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842051&x=315',
		'title': '',
		'imageId': '68842051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842052&x=315',
		'title': '',
		'imageId': '68842052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842049&x=315',
		'title': '',
		'imageId': '68842049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961492&docid=68842035&x=315',
		'title': '',
		'imageId': '68842035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961492';

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