var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036017&x=2625',
		'title': '',
		'imageId': '70036017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036023&x=2625',
		'title': '',
		'imageId': '70036023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036013&x=2625',
		'title': '',
		'imageId': '70036013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036014&x=2625',
		'title': '',
		'imageId': '70036014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036015&x=2625',
		'title': '',
		'imageId': '70036015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036025&x=2625',
		'title': '',
		'imageId': '70036025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036026&x=2625',
		'title': '',
		'imageId': '70036026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036027&x=2625',
		'title': '',
		'imageId': '70036027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036028&x=2625',
		'title': '',
		'imageId': '70036028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013333&docid=70036029&x=2625',
		'title': '',
		'imageId': '70036029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013333';

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