var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433257&x=857',
		'title': '',
		'imageId': '67433257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433256&x=857',
		'title': '',
		'imageId': '67433256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433263&x=857',
		'title': '',
		'imageId': '67433263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433259&x=857',
		'title': '',
		'imageId': '67433259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433261&x=857',
		'title': '',
		'imageId': '67433261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433258&x=857',
		'title': '',
		'imageId': '67433258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433260&x=857',
		'title': '',
		'imageId': '67433260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433262&x=857',
		'title': '',
		'imageId': '67433262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433265&x=857',
		'title': '',
		'imageId': '67433265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901407&docid=67433264&x=857',
		'title': '',
		'imageId': '67433264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3901407';

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