var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505532&x=1640',
		'title': '',
		'imageId': '67505532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505535&x=1640',
		'title': '',
		'imageId': '67505535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505536&x=1640',
		'title': '',
		'imageId': '67505536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505537&x=1640',
		'title': '',
		'imageId': '67505537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505539&x=1640',
		'title': '',
		'imageId': '67505539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505533&x=1640',
		'title': '',
		'imageId': '67505533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505531&x=1640',
		'title': '',
		'imageId': '67505531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505530&x=1640',
		'title': '',
		'imageId': '67505530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505538&x=1640',
		'title': '',
		'imageId': '67505538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904081&docid=67505534&x=1640',
		'title': '',
		'imageId': '67505534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904081';

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