var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923805&docid=67992045&x=2659',
		'title': '',
		'imageId': '67992045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923805&docid=67992046&x=2659',
		'title': '',
		'imageId': '67992046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923805&docid=67992047&x=2659',
		'title': '',
		'imageId': '67992047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923805&docid=67992048&x=2659',
		'title': '',
		'imageId': '67992048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923805&docid=67992049&x=2659',
		'title': '',
		'imageId': '67992049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923805&docid=67992050&x=2659',
		'title': '',
		'imageId': '67992050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923805&docid=67992051&x=2659',
		'title': '',
		'imageId': '67992051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923805';

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