var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075072&x=1533',
		'title': '',
		'imageId': '70075072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075075&x=1533',
		'title': '',
		'imageId': '70075075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075067&x=1533',
		'title': '',
		'imageId': '70075067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075071&x=1533',
		'title': '',
		'imageId': '70075071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075074&x=1533',
		'title': '',
		'imageId': '70075074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075070&x=1533',
		'title': '',
		'imageId': '70075070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075066&x=1533',
		'title': '',
		'imageId': '70075066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075068&x=1533',
		'title': '',
		'imageId': '70075068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075073&x=1533',
		'title': '',
		'imageId': '70075073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014923&docid=70075069&x=1533',
		'title': '',
		'imageId': '70075069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014923';

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