var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997580&docid=69651531&x=2258',
		'title': '',
		'imageId': '69651531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997580&docid=69651537&x=2258',
		'title': '',
		'imageId': '69651537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997580&docid=69651536&x=2258',
		'title': '',
		'imageId': '69651536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997580&docid=69651535&x=2258',
		'title': '',
		'imageId': '69651535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997580&docid=69651532&x=2258',
		'title': '',
		'imageId': '69651532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997580&docid=69651533&x=2258',
		'title': '',
		'imageId': '69651533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997580&docid=69651534&x=2258',
		'title': '',
		'imageId': '69651534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997580';

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